Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

List of command included in CommandManager (ilogic)

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
2655 Views, 3 Replies

List of command included in CommandManager (ilogic)

Hi All,

 

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

 

Thanks in advance!.

3 REPLIES 3
Message 2 of 4
Sergio.D.Suárez
in reply to: Anonymous

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

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.

Message 4 of 4
Frederick_Law
in reply to: Anonymous

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.

Post to forums  

Autodesk Design & Make Report