I have created these two scripts to complete the following task.
using a custom parameter that was created for pipe fittings and sheets called “Weld IN”
The first script to use is the Weld Inch Parameter.dyn. This script will populate either the diameter of the shop weld as a number into the Weld IN parameter or a standard 2" nominal weld inch into the pipe fitting if it has O-let in the name.
The second script will organize the lists of fittings that have the weld inch parameter filled out from the first script. They will be organized based upon a second parameter named spool tag. Sub-lists are added and then the sum is populated into the weld in parameter for the sheet. Our title block has the weld in label added to show the total weld inch for that spool. The only sheets that are currently populated must be part of an assembly as we use Sysque which utilizes assemblies for the fabrication drawings.
they seem to function correctly although they are new and still need tested on a larger scale. However if these are able to be simplified that would be great as I feel I really went the long way to accomplish this task.
weldintosheet.dyn (52.4 KB)
Weld Inch Parameter.dyn (29.6 KB)