Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
fakeru
383 Views, 2 Replies

Command doesn't get executed

I'm trying to invoke a command execution, but without any success.

Dim oCopyControlDef As ControlDefinition
    Set oCopyControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("PartMoveFaceCmd")
    oCopyControlDef.Execute

I run this code when I have a part open. I tried to select a face before running the conde, but still doesn't show up...

Any ideas why?

 

Thanks

Alexandru

Autodesk Inventor 2015 Certified Professional