Rename Pressure Parts

Here is what I came up with that will work (although I’m sure efficiencies can be made). The graph needs user input for the name of the Pressure Network and Pipe Run for which parts will be re-named. The User then has a few more inputs to adjust the label names, and range of creation. This is done for the Pipes, Fittings, and Appurtenances. The graph will then rename parts based on your updated naming convention.

I have sure that efficiencies can be made to the areas where I’ve included user input on the string for the name and the total number of rename strings created. I am beginner level at DesignScript for this type of thing, but I would think that those extra inputs that I have in my graph could all be combined into a code block for each part type (pipe, fitting, appurtenance). Feel free to critique after you all take a look.

Thanks,

JJH_RenamePressureParts.dyn (76.2 KB)

2 Likes