Does iLogic event properties "AfterAnyUserParamChange" not work with DrawingDocument Objects in 2023?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've borrowed some code to trigger iLogic using external rules on events for use on legacy documents by using the "temporary rule to give it Document Interest" trick and am finding that the "AfterAnyUserParamChange", 3000) arguments work in part files, but not in a drawing file. I've attached the rule that was taken from a posting by @MjDeck and @Charlies_3D_T some time ago and have attached it.
I started off, before finding this helpful info, by trying to listen for DrawingEvents but abandoned that idea in favor of this (commented code) still to be cleaned up in the rule as I'm testing.
The idea is I've got to inject these rules into certain event triggers in order to get them to create parameters and change their values in a template. And I have the iLogic_Rule_Batch_Tool.exe that started out to (I believe) be the code Injector tool.
If this doesn't work for Drawings, I'll have to get creative.
Thanks.
Inventor 2023.5.1 on a Win 11 system.