why are ilogic code that is in Onsave trigger Running when open old assambly ?

why are ilogic code that is in Onsave trigger Running when open old assambly ?

Darkforce_the_ilogic_guy
Advisor Advisor
544 Views
5 Replies
Message 1 of 6

why are ilogic code that is in Onsave trigger Running when open old assambly ?

Darkforce_the_ilogic_guy
Advisor
Advisor

why are ilogic code that is in Onsave trigger Running when open old assambly ?

 

I have a code that need to run when the user is saving .. but for some unknow reason it somthing run when open an old drawing. is there a way to stop this ?

0 Likes
545 Views
5 Replies
Replies (5)
Message 2 of 6

DRoam
Mentor
Mentor

Is the code that's being executed within the assembly you're opening itself, or within one of its component files? Have you performed some testing to make absolutely certain it's the on-save trigger that's triggering the rule?

Message 3 of 6

dg2405
Advocate
Advocate

Do you use Vault?

Message 4 of 6

Darkforce_the_ilogic_guy
Advisor
Advisor

it is an extranal rule that should only run on save

 

 

bt_0-1605506018390.png

 

0 Likes
Message 5 of 6

Darkforce_the_ilogic_guy
Advisor
Advisor

yes I use vault pro 2020

0 Likes
Message 6 of 6

DRoam
Mentor
Mentor

Please turn on rule tracing by opening an iLogic rule and setting the Log Level to Trace:

iLogic Log Level Trace.png

 

Then open your assembly and copy/paste what's shown in the iLogic logger. If you don't have it open you can get to it here:

Open iLogic Log.png

 

It should look something like this:

GUID-9ED68AD0-805A-462A-B801-78672EEF7C1D

0 Likes