Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete stress simulation via API?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
CadUser46
394 Views, 2 Replies

Delete stress simulation via API?

I was breaking links to the OLE referenced files but noticed that each time it saves it recreates the links!  Looks like I need to delete any Stress Analysis simulations that are attached.  Any idea how as I cant find any examples?


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
2 REPLIES 2
Message 2 of 3
CadUser46
in reply to: CadUser46

It seems like I only ask difficult questions.

 

Anyway, there is nothing in the API for this.  The workaround is to disable the addin, restart Inventor, then delete the OLEDescriptors.


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------------------------------------------------------------------------------------------------------------------------
Inventor 2010 Certified Professional
Currently using 2023 Pro
Message 3 of 3
ReneRepina
in reply to: CadUser46

Kinda late to answer on this post, but maybe it helps somebody.

 

This does not delete simulations nor links, but you can keep the simulations and links are not showed under "Links", so you do not have to "Break Links". Result files are saved on the file.

 

ReneRepina_0-1614533227319.png

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

Post to forums  

Autodesk Design & Make Report