I’m working on a script to automate the process of moving model elements to the proper worksets. I’ve worked out how to do it where elements of a given category or type all go on the same workset (Plumbing Fixtures, Mechanical Equipment, etc.)
Here is a screenshot of the above process (This is very much the HULK SMASH! approach I’m sure)
Because of the way we split out our piping between plumbing and mechanical piping worksets, I’m needing to filter the pipes by their system type and I’m not entirely sure how exactly to do that. In my mind, this is the logic that I want to use.
Is there a node out there that anybody knows about that would do something like this? Is there another method? Any input and guidance is greatly appreciated!