Override/remove external rules from all parts in assy

Override/remove external rules from all parts in assy

Geveke
Enthusiast Enthusiast
567 Views
2 Replies
Message 1 of 3

Override/remove external rules from all parts in assy

Geveke
Enthusiast
Enthusiast

I have an assembly with approx. 2500 parts in it (got it from external supplier).

If i want to save the assy, it triggers an event trigger to a -non existent external rule- on all parts.

As a result some 2500 error messages will appear; because all parts want to run the -non existing- external rule.

 

Is there a way to override/remove these event triggers all at once?

With a iLogic rule? VBA?

And if so, what should the code look like?

 

Thanks in advance.

0 Likes
Accepted solutions (1)
568 Views
2 Replies
Replies (2)
Message 2 of 3

DRoam
Mentor
Mentor
Accepted solution

I believe the iLogic Code Injector tool has a "Delete all rules" button that also removes all triggers. You could try that. But the easiest thing would be to just create a blank external rule with the same name as the one it's expecting. Or, you could just unload the iLogic add-in while working with these files to prevent any iLogic from being triggered at all.

0 Likes
Message 3 of 3

Geveke
Enthusiast
Enthusiast

Hi, the code injector works great!!

Thx. for the reply.