cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The 2025 Technology Preview Program is now live. Join today!

Archicad C++ API
About Archicad add-on development using the C++ API.

How to get referenceId for Bend? API MEP 28

kuvbur
Advocate

I'm unable to find a way to get the referenceId of the DuctElbowPreferenceTable row for a DuctBend element.
For straight segments (RoutingSegment), there is the GetCrossSectionReferenceId method.
Is there a similar method to retrieve the preference table row id for a DuctBend?

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

1 REPLY 1
kuvbur
Advocate

As a temporary workaround, I've fixed the issue by looping through the PipeElbowPreferenceTable and searching by diameter. Hopefully, there is a proper way to get the referenceId directly?

 

kuvbur_0-1750671464138.png

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties