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.
Gelöst! Gehe zur Lösung
Gelöst von WCrihfield. Gehe zur Lösung
Gelöst von bradeneuropeArthur. Gehe zur Lösung
Gelöst von Curtis_Waguespack. Gehe zur Lösung
@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
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 !
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.
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.
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
(Not an Autodesk Employee)
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.
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.