Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
nj21997
1073 Views, 8 Replies

Importing an assembly document into python

Hi,

 

I'm having difficulty importing an assembly file into python. There seems to be a conflict between the output when I check Document.Type and Document.DocumentType. The second recognises that the file is an an assembly. But the first returns the ‘Document’ ObjectType which needs to also be an assembly one so that I can manipulate it properly.

 

Does anyone know how I can force the object type to change?