BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

Get Survey Point object position via API

Anonymous
Not applicable
Hi!
Are there any means of getting Survey Point object (its position, to be exact) via AC API?
It looks like it isn't possible to distinguish SP between other API_ObjectIDs within a project.
1 REPLY 1
Ralph Wessel
Mentor
Alexander wrote:
Hi!
Are there any means of getting Survey Point object (its position, to be exact) via AC API?
It looks like it isn't possible to distinguish SP between other API_ObjectIDs within a project.
Take a look at the documentation for ACAPI_LibPart_Search. You can use the function to search for a library part by global unique ID (best) or name. The results include an index referenced by object elements in the model – use this to search for object elements that are instances of a specific library part.
Ralph Wessel BArch
Learn and get certified!