Getting basic data from Tube & Pipe ComponentOccurrences

Getting basic data from Tube & Pipe ComponentOccurrences

RickyBell_PypeServer
Participant Participant
388 Views
3 Replies
Message 1 of 4

Getting basic data from Tube & Pipe ComponentOccurrences

RickyBell_PypeServer
Participant
Participant

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.

0 Likes
Accepted solutions (1)
389 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor
Accepted solution

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
0 Likes
Message 3 of 4

RickyBell_PypeServer
Participant
Participant

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.

0 Likes
Message 4 of 4

A.Acheson
Mentor
Mentor

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
0 Likes