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

So I tried this code this morning, and it doesn't seem to like this line:

 

 oNewAsmDoc(i) = g_App.Documents.Add(DocumentTypeEnum.kAssemblyDocumentObject, , True)

 

These are the error messages I'm getting:

 

 

'kAssemblyDocu' is not a member of 'Inventor.DocumentTypeEnum'.

Comma,')', or a valid expression continuation expected.

 

Thank you,

Dylan Stewart