create_variable_studio
Create a Variable Studio element in a specified workspace and document. Use the returned element ID to set or get variables in modern Onshape documents.
Instructions
Create a Variable Studio element in a workspace. Required before set_variable on modern Onshape docs -- the legacy Part Studio /variables write path is read-only. Returns the new VS element id; use it as elementId for set_variable / get_variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new Variable Studio element | |
| documentId | Yes | Document ID | |
| workspaceId | Yes | Workspace ID |