SetGeometry
Replace luminaire or emitter geometry with a parametric primitive.
Undo support: Registered as undoable; see limitations below.
Syntax
SetGeometry <L|E> <id> <shape> <w> <l> <h> <ox> <oy> <oz> <rx> <ry> <rz> [<L|E> <id> <shape> <w> <l> <h> <ox> <oy> <oz> <rx> <ry> <rz> ...]
Parameters
L uses a parent luminaire ID; E uses an emitter intensity ID. Shapes: POINT, RECTANGLE, BOX, ELLIPSE, SPHERE, CYLINDER, ELLIPSOID. Dimensions and offsets are millimetres; rotations are degrees. Supply all nine numeric arguments, even for POINT.
Example
SetGeometry E 12 BOX 100 200 30 0 0 0 0 0 0
Example IDs are placeholders; replace them with IDs from your current session.
Response
OK on completion; invalid geometry or targets can fail.
Notes
For SPHERE and CYLINDER, w is used as radius. Dimensions must be physically valid for the primitive. E replaces the emitter geometry with a single parametric emitter; no mesh-file import syntax is exposed here.
Implementation: EikonalWorksTools/EWIntensityView/src/actions/edit/SetGeometryAction.h.
See API connection, grammar and client examples for quoting, error handling and model IDs.