- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
We import a lot of purchased component models. I am writing a macro to select the ZIP file, extract to our purchased repository in the workspace, and open the extracted STEP file. When I run the macro, I do not see the Open/Import dialog that I am used to when opening a STEP with the GUI. Instead, the dialog is skipped and the result is the assembly opened/imported with what appears to be default options.
Is there a way that I can force this Open/Import dialog to show, like DisplayAlerts? I would also be okay with programmatically setting the Prefix. I tried OpenWithOptions, but I do not see anything useful. Looking through the help on the STEP translator, I did not see any parameters for the NameValueMap that control the prefix or suffix.
I have included a picture of the dialog that I am talking about, as well as the code that opens the STEP. Any help with this would be much appreciated.
'The path for the STEP file
Dim strSTEP As String
strSTEP = strTarget & strFileNameNoExt
'Open the STEP file in Inventor
ThisApplication.Documents.Open strSTEP
Kind regards,
Rafael
Mechanical Design Engineer
INV2022.3PRO, WIN10X64
Solved! Go to Solution.