Nsc Insert Object
zemax_nsc_insert_objectInsert a non-sequential object at a specified row in Ansys Zemax OpticStudio to build or modify NSC systems via zemax-mcp.
Instructions
Insert a non-sequential object.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"objectNumber": "<objectNumber>"
},
"name": "zemax_nsc_insert_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | No | Optional Zemax object type | |
| objectNumber | Yes | One-based insertion row |