Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: MechMachineMan

Thanks for the reply Justin, but this solution doesn't quite work for me. I have a routine (written with the API as a dll) that is run from the main assembly. This routine will call iLogic rules from every part and subassembly, and those rules may call other rules and so on. Unfortunatelly, Active document always points to the main assembly, and ActivatedObject/ActiveEditDocument only works if edits are happening. Often times, It will run a rule in a part that only reads data, thus can't use either of those members for my application. For the time being I keep track of ThisDoc by carefully maintaining a global variable within my code. What I am doing is working just fine, but it's very difficult to keep everything straight in my head. Getting iLogic's ThisDoc member would be ideal for me.