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: jingying_1213

In testing if the en-US folder is present and there is no no Weldment.iam file then this will default to a regular Assembly or the kAssemblyDocumentObject  because no subtype document is available. This also happens if the standard name "Weldment.iam" is not used. In your case it might be the case that the default name is not being used. You can test the path and if no path is shown then this will default to the kAssemblyDocumentObject.

 

MessageBox.Show(oTemplateFile, "Template Path")  

 

AAcheson_0-1665858972636.png

 

Alternatively if you know the exact path of the weldment document you can load this directly.

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