My goal is to have a message box open as soon as an assembly file is opened so that other users will be warned/ notified of linked parameters. My assumption is that an iLogic rule would be the best way to handle this.
I can create the message box, but when I looked through the iLogic snippets I didn't find any way to trigger the box at opening the file.
Solved! Go to Solution.
Solved by yannicknielsen. Go to Solution.
Go to Manage > Event Triggers > After Open Document
Then the rule should run whenever your assembly is opened
And here is some code you can use..
I use this to notify of an obsolete part. Its 2 lines of text displayed
MessageBox.Show ("0300151004 is Obsolete" & vbLf & "Please replace with 03011114RG", "OBSOLETE ALERT", MessageBoxButtons.OKCancel, MessageBoxIcon.Error)
I knew it was that simple but I kept looking in the snippets.
Thank you.