How to get the General Information of the opening project?

How to get the General Information of the opening project?

2208571753
Enthusiast Enthusiast
748 Views
3 Replies
Message 1 of 4

How to get the General Information of the opening project?

2208571753
Enthusiast
Enthusiast

How to get the General Information of the opening project?

I have read the API,and i can get the Summary information from iProperties,but how i can get the General information,Project information and Status information?

微信截图_20220409152049.png微信截图_20220409152742.png

0 Likes
Accepted solutions (1)
749 Views
3 Replies
Replies (3)
Message 2 of 4

Ralf_Krieg
Advisor
Advisor
Accepted solution

Hello

 

There are 4 standard PropertySets. The informations are not grouped as in the tabs in GUI.

Read this article https://modthemachine.typepad.com/my_weblog/2010/02/accessing-iproperties.html 


R. Krieg
RKW Solutions
www.rkw-solutions.com
0 Likes
Message 3 of 4

2208571753
Enthusiast
Enthusiast

Thanks for your reply,so i can't get the General Informations? I want to know some project informations.for example,i opened a file named:'Default.ipj',and the drawing files are in the folder:'D:\Clutch_Bell_Simplified'. How can i get the drawings folder of the project:'Default'? And how can i get the enter file name of this project?

20220411085448.png

0 Likes
Message 4 of 4

Ralf_Krieg
Advisor
Advisor

Hello

 

No, you missunderstood. The informations displayed in the tabs of the properties dialog are mostly in the PropertySets. But as you see, they are 7 tabs in the dialog and 4 PropertySets. There is no 1:1 relationship. The article I linked described this and lists at the end where to find each property.

The settings of the actual project file are accessible in API under ThisApplication.DesignProjectManager.ActiveDesignProject. The standard folder to save Inventor files is defined in the Project WorkSpacePath property.


R. Krieg
RKW Solutions
www.rkw-solutions.com
0 Likes