Howto Get Current *.pln file with fullpath
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-31 10:15 AM
‎2024-10-31
10:15 AM
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-10-31 10:57 AM
‎2024-10-31
10:57 AM
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);