Hi All,
Can anyone tell me where can I find the list of commands included in CommandManager (ilogic), please?.
Thanks in advance!.
Solved! Go to Solution.
Solved by Sergio.D.Suárez. Go to Solution.
Hi, maybe the following information could be useful. regards
https://spiderinnet2.typepad.com/blog/2012/07/inventor-net-find-all-the-control-definitions-1.html
Sergio Daniel Suarez
Mechanical Designer
| Upwork Profile | LinkedIn
Have these been updated since 2012?
Edit: I suppose I can just run the code at the top of the link you provided and find out.
iLogic:
Sub Main()
Dim oControlDefs As ControlDefinitions
oControlDefs = ThisApplication.CommandManager.ControlDefinitions
Dim oControlDef As ControlDefinition
Dim oList As New ArrayList
oList.Add( "Command Name " & "Description" )
For Each oControlDef In oControlDefs
oList.Add( oControlDef.InternalName & " +++ " & oControlDef.DescriptionText )
Next
oWrite = System.IO.File.CreateText("C:\Temp\TEST.txt")
'Write Array out to String
For Each Item As String In oList
oWrite.WriteLine(Item)
Next
oWrite.Close()
End Sub
Can't find what you're looking for? Ask the community or share your knowledge.