Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic message box at file open

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
1479 Views, 3 Replies

iLogic message box at file open

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.

3 REPLIES 3
Message 2 of 4
yannicknielsen
in reply to: Anonymous

Go to Manage > Event Triggers > After Open Document

 

Then the rule should run whenever your assembly is opened

---------------------------------------------------------------------------------------------------------------------
Product Design Suite Ultimate 2021
Message 3 of 4
mcgyvr
in reply to: yannicknielsen

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)

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 4 of 4
Anonymous
in reply to: yannicknielsen

I knew it was that simple but I kept looking in the snippets.

 

Thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report