open_assembly
Load a SolidWorks assembly (.sldasm) or import STEP/IGES/Parasolid files as the active document, ready for listing components and adding mates. Rejects single parts.
Instructions
Open a .sldasm, or import a STEP/IGES/Parasolid assembly; it becomes the current document.
An imported assembly's parts arrive as components at their places, ready for list_components and add_mate; the result gives the component count. A file holding a single part is refused (use open_part).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |