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

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

Tiffany_Hayden_
Collaborator Collaborator
1,675 Views
7 Replies
Message 1 of 8

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

Tiffany_Hayden_
Collaborator
Collaborator

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

0 Likes
Accepted solutions (3)
1,676 Views
7 Replies
Replies (7)
Message 2 of 8

Curtis_Waguespack
Consultant
Consultant
Accepted solution

@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

 

Message 3 of 8

bradeneuropeArthur
Mentor
Mentor
Accepted solution

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

 

iLogic.RuleBrowser

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


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:
My 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 !


 


EESignature

Message 4 of 8

Tiffany_Hayden_
Collaborator
Collaborator

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

Message 5 of 8

Tiffany_Hayden_
Collaborator
Collaborator

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

0 Likes
Message 6 of 8

WCrihfield
Mentor
Mentor
Accepted solution

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)

Message 7 of 8

Tiffany_Hayden_
Collaborator
Collaborator

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

Message 8 of 8

bradeneuropeArthur
Mentor
Mentor
Thanks and appreciated, always willing to support.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


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:
My 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 !


 


EESignature