I have a ipt which is controlled via an ilogic form,this form is opened by ilogic code, which in turn is triggered when the ipt is opened.
my problem is when the part is placed within an assembly the said form is triggered and the same happens when the assembly is reopened!.... I would prefer if the form opened only when the ipt is opened or edited....
Is there a snippet of code for this? Or is it even possible?
Solved! Go to Solution.
Try the following code in the rule file that is being opened on open :
Dim CurrentDoc as PartDocument = ThisDoc.Document
If (Not (CurrentDoc Is ThisApplication.ActiveDocument)) Then Return
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register