cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
License Delivery maintenance is expected to occur on Saturday, October 19, between 4 and 6 PM CEST. This may cause a short 60-minute outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

How do you get the currently seelcted Navigator View item?

Anonymous
Not applicable
How can I programatically determine that the current view is "perspect2"?

Thanks in advance.


viewmap.jpg

2 REPLIES 2
Ralph Wessel
Mentor
paulk wrote:
How can I programatically determine that the current view is "perspect2"?
If you want the window the user is currently viewing, you could try ACAPI_Database(APIDb_GetCurrentWindowID, &windowInfo, 0). Or did you mean just the selected item(s) in the Navigator palette?
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Thanks Ralph - I just want to know what the highlighted tree item is in the navigator view map window (ie. perspect2). ACAPI_Database(APIDb_GetCurrentWindowID, &windowInfo, 0) seems to return the window I am viewing - I am after the view.