Hi All,
I have a part that can change it's shape when a user sets parameters in an iLogic form within the part. Once the part's parameters are set the user can trigger a save rule and the parts saves out to a new file. Once this happens, I want to be able to remove the iLogic form from the new part. Also there is an embedded spreadsheet that I would also like to remove. I'm doing this so that the part cannot be changed and to lighten the part file. Note I already strip out all of the ilogic rules from the new part file.
So in summary, is there a way to remove an iLogic form and or a spreadsheet from a part file using iLogic code?
Thanks in advance!
Solved! Go to Solution.
Solved by adam.nagy. Go to Solution.
iLogic.Automation functionality provides a way to remove forms.
Look through API help or google for how to remove embedded documents.
Thanks for the reply!
I searched google to find this article on removing embedded objects.
This works find for removing the embedded spreadsheet. FYI embedded spreadsheets have no FullFilename so searching for "" will return the spreadsheet.
Any ideas on how to remove the iLogic forms?
Hi Mike,
Might be possible, but I'm wondering if it would not be better just to have an Inventor addin instead which would check the documents and pop up a form if needed.
Then there would be no code/form to add or remove from the documents.
Cheers,
Thanks For responding Adam. Interesting suggestion. I'll check it out and see if I can make it work.
FYI: just got the feedback that there is no dedicated iLogic function or API to remove an iLogic form.
That's useful to know @adam.nagy, thanks. š Addins > iLogic