Complete the code to start a new assembly document in SolidWorks.
swApp.[1]()Use NewDocument method to create a new document, specifying assembly type later.
Complete the code to specify the assembly template when creating a new document.
swApp.NewDocument("[1]", 0, 0, 0)
The assembly template file ends with .asmdot to create an assembly document.
Fix the error in the code to add a component to the assembly document.
assemblyDoc.[1]("C:\\Parts\\part1.sldprt")
The correct method to add a component in SolidWorks assembly is AddComponent5.
Fill both blanks to correctly position a component in the assembly.
component.[1] = 0.0 component.[2] = 0.0
To position a component, set its X and Y coordinates.
Fill all three blanks to correctly save the assembly document.
assemblyDoc.[1]("C:\\Assemblies\\assembly1.sldasm", [2], [3])
Use SaveAs method with options swSaveAsOptions_Silent and swSaveAsOptions_Copy to save the assembly quietly and as a copy.
