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

First think I notice. How are you bringing in "g_inventorApplication" into the sub routine "CreateStandardPart"

 

Have you set the inventor application object earlier? 

 

Also I don't think  "SaveAsFile" method exists, it should be 

Syntax

Document.SaveAsFileName As String, SaveCopyAs As Boolean )

 

oDoc.SaveAs(oPath & loc)

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan