01-07-2016
01:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-07-2016
01:15 AM
I'm trying to invoke a command execution, but without any success.
Dim oCopyControlDef As ControlDefinition
Set oCopyControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("PartMoveFaceCmd")
oCopyControlDef.ExecuteI 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
Solved! Go to Solution.
01-08-2016
05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-08-2016
05:36 AM
Fakeru. I never realised this until now but the move face command has been retired, at least in 2016. Its still listed in the control definitions i guess as a legacy command but its been replaced with PartDirectCmd.
Public Sub MoveFace()
Call ThisApplication.CommandManager.ControlDefinitions.Item("PartDirectCmd").Execute
End Sub
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
01-10-2016
12:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-10-2016
12:27 AM
thanks forhe info. I guess I will have to stick with DirectEdit, although I would prefer moveface command.
Autodesk Inventor 2015 Certified Professional