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: 

Shutdown Inventor with iLogic rule

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
496 Views, 2 Replies

Shutdown Inventor with iLogic rule

Hi. 

Is there a rule for close inventor with an iLogic. So far i have.

 

oTitle = Parameter("Formathjul - Masterfil.ipt.Tykkelse_skive") & "mm, " & Parameter("Formathjul - Masterfil.ipt.Antal_huller") & "stk, Ø" & Parameter("Formathjul - Masterfil.ipt.Øhul") & "mm"
i = MessageBox.Show("The program has created the following files: " & oTitle & ".stl", "Want To close", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1)
If i = vbYes Then 
(here i want to close inventor)
End If
2 REPLIES 2
Message 2 of 3
psaarloos
in reply to: Anonymous

Hi,

 

Should be possible. Try this line:

 

ThisApplication.Quit

 

Regards,

Pim Saarloos

Regards,
Pim Saarloos
Product Manager
If my post answers your question, please click the "Accept as Solution" button. Kudos are much appreciated!
Message 3 of 3
Anonymous
in reply to: psaarloos

Perfect. Thanks!!!

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

Post to forums  

Autodesk Design & Make Report