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

Document name

gehairing
Participant
Hello forum

Does someone know how i can get the name of the current open document in Archicad ?
I mean the name of the open file.

Thanks a lot.
1 ACCEPTED SOLUTION

Solution
Ralph Wessel
Mentor
You can get the details of the open project file by calling ACAPI_Environment with APIEnv_ProjectID. The returned project information contains the project file details, from which you can extract the name and location. Obviously this is only relevant when a saved file is open.
Ralph Wessel BArch

View solution in original post

2 REPLIES 2

Solution
Ralph Wessel
Mentor
You can get the details of the open project file by calling ACAPI_Environment with APIEnv_ProjectID. The returned project information contains the project file details, from which you can extract the name and location. Obviously this is only relevant when a saved file is open.
Ralph Wessel BArch

gehairing
Participant
Thank you Ralph

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!