Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
RickyBell_PypeServer
310 Views, 3 Replies

Getting basic data from Tube & Pipe ComponentOccurrences

I'm looking to get Length, Size, ID, OD, and other basic Piping data from Tube and Pipe placed components.

 

At the moment, I'm doing backflips to extract some of this data from the AttributeSets of the ComponentDefinitions.  In that data, I have to dig even deeper into the Member attribute's xml to get coordinate data of the endpoints.  It's far more difficult than extracting AutoCAD or Revit element data.

 

I'm wondering if there is a better way.  Any help is appreciated.

I would think all this info is available in the parameters of each segment pipe document  as these parameters use this information  to create the file. Is this the information you want to retrieve? It might be a bit of a headache if all parameters are not named the same but hopefully not too many are like this. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan

Thanks for the reply.  I've been down that road but found the parameter values confusing.  After taking another look at it, I'm realizing that the data is there but it's natively in Centimeters.  Time to apply math.  Thanks for your help.

Here is a post that works with units of measure. It might be useful if you having varying units in your documents and parameters and want to detect what is being used. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan