Part iLogic yes, within an assembly no.

Part iLogic yes, within an assembly no.

awatt
Advocate Advocate
367 Views
2 Replies
Message 1 of 3

Part iLogic yes, within an assembly no.

awatt
Advocate
Advocate

I have a part that currently triggers an external iLogic routine (simple alert box) on the On Open trigger.

What I DON'T want, is for this box to appear when an assembly that contains the part is opened.

 

What are my options?

 

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

MegaJerk
Collaborator
Collaborator
Accepted solution

Something like : 

 

If ThisApplication.ActiveDocument.DocumentType <> _
kPartDocumentObject Then 
	Return
End If

 that, at the top of the rule should work. 



If my solution worked or helped you out, please don't forget to hit the kudos button 🙂
iLogicCode Injector: goo.gl/uTT1IB

GitHub
Message 3 of 3

awatt
Advocate
Advocate

Thank you.  That worked perfectly.

 

I considered looking for something like this, but I assumed iLogic would be too myopic to see outside of the part that called it.

 

0 Likes