Tips, Tricks, and Insight into Process and Power Software

Report Items By Line Number in Plant 3D

The other day a client needed a report of items by Line Number.  A common way to get the report would be to group by the PipeRunComponent_LineNumberTag.  That report ends up excluding all fasteners. So, the typically, an incorrect report by line number would look something like this:

image

Noticing the Group and Sort panel at the bottom.  The top level group is by the PipeRunComponent_LineNumberTag.

However, by looking at the class structure in Plant, Fasteners will never fall under the PipeRunComponent_LineNumberTag group, because they are outside of the PipeRunComponent class:

image

So, the way to solve this is to add a class property to Piping and Equipment that acquires the Line Group tag. I made one called GroupLineNumber. For equipment, this will always be blank, but the program will populate it correctly for Fasteners and PipeRunComponents.

image

Because we’re adding an acquisition property, those values will not be populated on existing model items. So, you can either go through every item, and toggle the property to override and back to acquire (which updates the value), or use our PDO Extended Fields plugin which updates all the acquisition properties for P&ID and Plant in one shot.

Once do that, they can open the report creator, set the report up like this:

image

And get this:

image