Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Michael.Navara
in reply to: WCrihfield

I prefer FileManager.GetModelStates(fileName) method because I assume (and not well describe) I don't want to open the file before the user selects the appropriate ModelState. This method allows you to get all ModelStates before the document is opened. Planed steps are as follows:
- Select inventor file
- Read modelStates
- Select one of them or cancel the operation
- When ModelState was selected, open the document
- Place the document to the assembly. (This is the original question.)

If you want to use ModelStateUtils, you need to open document first.