Message 1 of 7
Use Python to open .ipt

Not applicable
07-31-2018
12:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm looking to write a python code that opens an inventor part and prints the author and mass properties similar to this: https://stackoverflow.com/questions/47443621/extracting-parameters-from-autodesk-inventor-with-pytho...
Is there a simple line I can add into this code, to open a pre-saved part? I'm thinking it might be something like this:
oDoc = oApp.Documents.Open('MYPART.ipt',True)
Thank you in advance!
P.S. are there any centralized api style resources for python/inventor? Willing to purchase a book or something if there are any good suggestions.