Execute Inventor Command with options

Execute Inventor Command with options

Ralf_Krieg
Advisor Advisor
663 Views
2 Replies
Message 1 of 3

Execute Inventor Command with options

Ralf_Krieg
Advisor
Advisor

Hello

 

Is it possible to execute an internal Inventor command and pass options? Maybe through a namevaluemap?

I want to run the UpdateStylesCmd in silentmode with no user interaction and want to say "yes to all" and "delete styles in suboccurrences/documents".

 

 


R. Krieg
RKW Solutions
www.rkw-solutions.com
0 Likes
664 Views
2 Replies
Replies (2)
Message 2 of 3

jeff.pek
Community Manager
Community Manager

Generally, this isn't possible. A few commands do support this, via the PopulateFileMetadata method, which can be used (for commands that support it) to pre-specify (for example) a file name, which would be used instead of actually displaying a File Selection dialog.

 

Jeff

0 Likes
Message 3 of 3

Ralf_Krieg
Advisor
Advisor

Hello

 

Thanks for reply. So I can stop to investigate how to do.

 


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