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

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Archicad executable directory via API

vesalaasanen
Contributor

Is there a way to find the Archicad executable path via API? I'm calling LP_XMLConverter from an add-on. Works fine, but the path is currently hardcoded. 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Viktor Kovacs
Graphisoft
Graphisoft

You can use the ACAPI_ProjectSettings_GetSpecFolder function with the id API_ApplicationFolderID to get the folder of the Archicad executable.

 

More details here: https://graphisoft.github.io/archicad-api-devkit/group___project_setting.html#ga52c214863ff7af9eee91...

View solution in original post

1 REPLY 1
Solution
Viktor Kovacs
Graphisoft
Graphisoft

You can use the ACAPI_ProjectSettings_GetSpecFolder function with the id API_ApplicationFolderID to get the folder of the Archicad executable.

 

More details here: https://graphisoft.github.io/archicad-api-devkit/group___project_setting.html#ga52c214863ff7af9eee91...