- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Examples of translaters are found on the website: https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=TranslatorAddIn4_Sample
Or in the programming help within Inventor.
Top right you see a question mark, if you press the small down arrow next to it.
Then go: Help --> Programming Help
In the Inventor Help you see: Sample Programs --> Translators --> Export --> Export STEP & Export IGES
I could just copy paste that here, but its best to browse it, useful for a lot of things.
To go through a model I often check this link:
https://modthemachine.typepad.com/my_weblog/2009/03/accessing-assembly-components.html
You can use that code and check if the object is a assembly or part, and see if its a sub assembly or sub sub assembly.
And you can make an array to store which documents you already processed and skip those.
MyArrayList As New ArrayList MyArrayList.Add(oOcc.Definition.Document.fullfilename)