List of command included in CommandManager (ilogic)

List of command included in CommandManager (ilogic)

Anonymous
Not applicable
3,233 Views
3 Replies
Message 1 of 4

List of command included in CommandManager (ilogic)

Anonymous
Not applicable

Hi All,

 

Can anyone tell me where can I find the list of commands included in CommandManager (ilogic), please?.

 

Thanks in advance!.

0 Likes
Accepted solutions (1)
3,234 Views
3 Replies
Replies (3)
Message 2 of 4

Sergio.D.Suárez
Mentor
Mentor
Accepted 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


Please accept as solution and give likes if applicable.

I am attaching my Upwork profile for specific queries.

Sergio Daniel Suarez
Mechanical Designer

| Upwork Profile | LinkedIn

Message 3 of 4

Matthew_Policelli
Advocate
Advocate

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.

0 Likes
Message 4 of 4

Frederick_Law
Mentor
Mentor

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