I am trying to find a way to build pipe networks and pipe runs (gravity and pressure eventually) using a python script in Dynamo, but I am having such a tough time figuring out how to get a PartSizeId needed as a argument in creating a pipe. I would appreciate any help on this. The API documentation isn’t enough for me on this one, and I have already spent so long figuring out how to add part sizes to a part family via the SizeFilterRecord. Here is the API reference for the PartSize and here is the pipe creating reference.
Thanks in advance!