2025-02-06
01:16 PM
- last edited on
2025-02-14
09:24 AM
by
Doreena Deng
Hello. I wonder if there is an option somehow to retrieve a reference or a pointer to an existing element placed in the Archicad space by using its property or something like that. Note that I do not want to select it and retrieve the information. Moreover, I want to do it vice versa - use some property to find the element, move the camera to it and then select it via API. Have somebody done that before or do somebody knows what API functions is best to use for that?
Thanks in advance!
Operating system used: Windows 11
2025-02-20 09:04 AM
Hi, I'm not sure the purpose you'd like to do. Do you think it makes sense to do the following steps?
1) Get all the placed elements and check its property, pickup those which meets your conditions.
2) Get those element's geometry if you need and select or highlight them.
3) Show 3D window, like press F5.
I think those can be done via API.
HTH.
2025-02-20 01:42 PM - edited 2025-02-20 01:42 PM
The idea is that I will create a request, use some GUID string or some other property as an input, and by using that input I will select the element and move the camera view to that element. I wanna do that using the API.
a month ago
Hi, I think it can be done by API. If you already knew GUID, then you only need to select the element and call show it in 3D.
For property, you need to check which element meet your input using (