cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Print addon location

Hi,
is there any way to get the addon current working directory?
I have the addon in "Add-Ons" folder (INT version), but in other version (e.g. CZE) the path of addon is "Doplnky ArchiCADu". I tried the

IO::fileSystem.GetSpecialLocation (IO::FileSystem::ApplicationFolder, &appFolderLoc);
and
IO::fileSystem.GetSpecialLocation (IO::FileSystem::ApplicationFile, &appFolderLoc);

but this is only for the ArchiCAD.exe app.
Thx in advance.
2 Replies 2
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
Hi,

I think you are looking for the ACAPI_GetOwnLocation function.
This functions returns the location of the add-on in the file system. Check it in the documentation!

Best Regards,
Tibor
Anonymous
Not applicable
Thanks!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!