Label Region (geometry.label)
Menu: none (Quick Open, the CLI, Python and MCP) · Runs as: at once
Preview: turn on Preview features in Edit › Preferences › Simulation, or run
preview.set {"enabled":true}. Its replies carrypreview: trueand a note.
What it does
Says what the region around `at` is: air, a linear magnetic material, or a stranded winding. One undo step.
Parameters
at: [number] (a point inside the region, x, y in m)name: str (the region's name in messages)material: "air|magnetic|coil"="air"muR: number? (relative permeability, required for magnetic)circuit: str? (the winding's circuit, required for coil)turns: int? (turns through the region, negative for the return side; required for coil)maxSize: number? (largest mesh element in the region, m)index: int? (replace this label instead of adding one)snap: number? (grid, m)
Reply
- label (its index)
- ...summary