I have attached my macro for bolting report. Copy it to your %PMLLIB%\DesignTools\PipingFunctions\Functions\Bolting and do PML REHASH ALL
Then go to Zone or Pipe or Bran level and run !!arfindboltingflanges(!!CE.name)
But there so many exceptions in my project and catalogue setup so I am afraid it will not be easy to modify.
But at least you can take some useful commands from the code :)
I have attached my macro for bolting report. Copy it to your %PMLLIB%\DesignTools\PipingFunctions\Functions\Bolting and do PML REHASH ALL
Then go to Zone or Pipe or Bran level and run !!arfindboltingflanges(!!CE.name)
But there so many exceptions in my project and catalogue setup so I am afraid it will not be easy to modify.
But at least you can take some useful commands from the code :)