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

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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