Sometimes you need to see which p-point is located towards pipeline or maybe you need to figure out which connection type or diameter is located at the leaving part of the element.
This tool may help you, just navigate to pipe element, open form and press button show Ppoints.
Continue reading Show P-Points in Design
Here you can find few PML macros, just for studying.
Software Customization Reference Manual referenced to it.
Its was originally published at old site http://support.aveva.com but it is hidden now, by some reason.
Link to download achieve.