Community
The following code error occurred while running.
Sub SaveAs()
' Set a reference to the active assembly document
Dim oDoc As AssemblyDocument
Set oDoc = ThisApplication.ActiveDocument
Call oDoc.SaveAs("c:\temp\zzz.asm", True) ----> this line
End Sub
Thanks
CB
A few things:
- Try to be more specific, 'it doesn't work' isn't that helpful.
- Verify that Inventor has write permission for the specified location (or try a different one).
- Verify that the specified document doesn't already exist.
- And last but not least, generally an Inventor assembly is saved in the .iam format 😉