open_assembly
Opens .sldasm files or imports STEP/IGES/Parasolid assemblies as the current document, positioning parts as components ready for component listing and mating; single-part files are rejected.
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), and an import over 30 MB unless allow_large=True (it can outlast the 2-minute call limit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| allow_large | No |