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

Archicad Plugin Get Current Path

Anonymous
Not applicable
Hi,

I want to use an external dylib in my c++ plugin, and it reads a config.json file from current folder. But when I call "std::__fs::filesystem::current_path()", it only returns "/". I'm wondering where is the default location that Archicad runs? Or where it calls a dylib?
Thanks.
1 REPLY 1

Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
Hi Yi,

On macOS platform Archicad tries to load the dynamic libraries from the Support folder next to Archicad.app, so if you Add-On uses external dynamic libraries, then you should place it into the Support folder.
On Windows platform the dynamic libraries should be placed next to Archicad.exe.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!