register_handle
Register a FreeCAD object into the AnkusDrive handle table so later tool calls can reference it via handle. Use after run_script or open_document when auto_register is off.
Instructions
Register an existing FreeCAD object into the AnkusDrive handle table. Use after run_script (when auto_register=False) or after open_document to bring objects into the handle ecosystem so subsequent tool calls accept them via handle.
object: the FreeCAD object's .Name (e.g. 'Helix001', 'Cut'). prefix: handle prefix (default 'manual'). Each call returns a fresh handle; registering the same object twice produces two aliases. Returns {handle, name, type, label}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | ||
| prefix | No | manual |