We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Howto Get Current *.pln file with fullpath

nishida_jp
Participant

Please Teach Me.

I program Add-ON by C++.

ArchiCAD27
VisualStudio2019/C++
Windows10

1)ArchiCAD27 execute
2)Open pln file
3)my add-on execute
4)How to Get fullpath of 2)pln file

1 REPLY 1
Viktor Kovacs
Graphisoft
Graphisoft

You can use the below command to get info about the currently opened project. It also has the full path of the pln file.

API_ProjectInfo projectInfo = {};
GSErrCode err = ACAPI_ProjectOperation_Project (&projectInfo);

 

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!