EikonalWorks User's Manual
  • Workbench
  • IntensityView
  • Core Calculations
Search Results for

    Show / Hide Table of Contents
    • Overview and Client Examples
    • Complete Agent Reference
    • File Input and Output
      • OpenFile
      • SaveFile
      • RemoveLid
    • Queries
      • GetParameter
      • GetProperty
      • GetPropertyField
    • Properties and Flux
      • SetProperty
      • SetLuminousFlux
      • SetLampFlux
      • SetLampNumber
      • SetInputPower
      • SetEmitterLOR
      • SetPhotometryUnit
    • Photometric Transforms
      • SetSymmetryData
      • SetResolution
      • RotateEuler
      • RotateQuaternion
      • Scale
      • AutoAlignPhotometry
      • Smoothen
    • Geometry
      • SetGeometry
    • Luminaire and Channel Management
      • ConfigureLuminaire
      • DuplicateLuminaire
      • MoveMesh
      • RemoveMesh
      • Combine
    • Map Modification
      • PaintBrush
      • FillSelection
      • ScaleAdd
      • CloneTool
      • ApplyTransform
    • Roadway Scenarios
      • LoadRoadwayScenarioFile
      • SaveRoadwayScenarioFile
    • View
      • SetCoordinateSystem
    • Session and History
      • Undo
      • Redo
      • StartCommandServer
      • StopCommandServer

    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.

    In this article
    Back to top Generated by DocFX