Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
nj21997
in reply to: nj21997

You hero, I found the casting thing.

For reference that is what the mod thing is for:

oAssemblyPartDoc = mod.AssemblyDocument(oPartDoc)

 This turns the regular document:

Autodesk Inventor Object Library.Document instance

 

Into an assembly document:

Autodesk Inventor Object Library.AssemblyDocument instance