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.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

iLogic Editor - Events (On Open, On Close) - Exist?

7 ANTWORTEN 7
GELÖST
Antworten
Nachricht 1 von 8
Tiffany_Hayden_
371 Aufrufe, 7 Antworten

iLogic Editor - Events (On Open, On Close) - Exist?

Hi Everyone, 

 

I'm wandering if there is an event that I can look at to trigger if the iLogic Editor has opened or closed?

 

Thanks in advance!

 

Tiffany

Tiffany Hayden
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

7 ANTWORTEN 7
Nachricht 2 von 8

@Tiffany_Hayden_ , I took a quick look with the event watcher ( so this might not be a complete answer) but I saw that Transaction Events catch new rules, deleting rules. editing rules, etc.

 

c:\users\public\documents\autodesk\inventor 20xx\sdk\developertools\tools\eventwatcher\bin\release\eventwatcher.exe

 

Curtis_Waguespack_0-1726585728838.png

 

EESignature

Nachricht 3 von 8

You could have a look at the CommandEvents and than on activate using this command as trigger:

 

iLogic.RuleBrowser

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

Nachricht 4 von 8
Tiffany_Hayden_
als Antwort auf: Tiffany_Hayden_

Yeah I saw this listing. @bradeneuropeArthur Is that what you were referring to? 

 

https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=35742073-84a9-0e79-3e83-bfb79447da7b 

Tiffany Hayden
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Nachricht 5 von 8
Tiffany_Hayden_
als Antwort auf: Tiffany_Hayden_

Do you think a On Close and On Load event on the iLogic Browser would be helpful? If it doesn't exist I can add it to the idea board. 

Tiffany Hayden
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Nachricht 6 von 8
WCrihfield
als Antwort auf: Tiffany_Hayden_

I think what @bradeneuropeArthur was referring to was the:

UserInputEvents.OnActivateCommand 

and

UserInputEvents.OnTerminateCommand 

...used to monitor for specific command names (ControlDefinition names).

And those specific command names can be seen if you have ever logged or written out a list of all ControlDefinition names, like the DumpControlDefinitions Sample shows.  There is one in there for every global iLogic Form, and one for every external iLogic rule, and one for every VBA Macro (that you have created a ribbon button for).  But besides those, there are also some in there that are unique to the iLogic add-in, but not unique to any specific rule or form...similar to the ones you see in the built-in ribbon panel, and the ones you see available in your right-click menu, when over the iLogic DockableWindow.

Below is a partial list:

iLogic.About
iLogic.AddForm
iLogic.AddRule
iLogic.AssignName
iLogic.ClearCodeClipboard
iLogic.Configuration
iLogic.DeleteAllRules
iLogic.DeleteName
iLogic.DrawingGenerateCode
iLogic.EditName
iLogic.EditRule
iLogic.EventTriggers
iLogic.FreeILogicMemory
iLogic.HideLabel
iLogic.HideLabels
iLogic.iCopy
ilogic.logwindow
iLogic.PlaceComponent
iLogic.RegenAllRules
iLogic.RuleBrowser
iLogic.ShowLabel
iLogic.ShowLabels
ilogic.treeeditor
iLogic.Trigger
iLogic.XmlExport
iLogic.XmlImport

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Nachricht 7 von 8
Tiffany_Hayden_
als Antwort auf: Tiffany_Hayden_

Okay @WCrihfield Thank you for the clarification. Appreciate the help @bradeneuropeArthur@Curtis_Waguespack  and @WCrihfield !

Tiffany Hayden
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Nachricht 8 von 8

Thanks and appreciated, always willing to support.

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report