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
      • EraseUlor
      • Sharpen
    • Geometry
      • SetGeometry
    • Luminaire and Channel Management
      • ConfigureLuminaire
      • DuplicateLuminaire
      • MoveMesh
      • RemoveMesh
      • Combine
    • Map Modification
      • PaintBrush
      • FillSelection
      • ScaleAdd
      • CloneTool
      • ApplyTransform
    • Roadway Scenarios
      • NewRoadwayScenario
      • QueryRoadwayScenario
      • EditRoadwayScenario
      • CalculateRoadwayScenario
      • GetRoadwayScenarioData
      • LoadRoadwayScenarioFile
      • SaveRoadwayScenarioFile
    • View
      • SetCoordinateSystem
    • Session and History
      • Undo
      • Redo
      • StartCommandServer
      • StopCommandServer

    QueryRoadwayScenario

    Inspect scenarios without changing them.

    Undo support: No.

    Syntax

    QueryRoadwayScenario [scenarioId]
    

    Without an ID, returns an array of loaded scenarios:

    [{"scenarioId":2,"name":"Local road"}]
    

    With an ID, returns {"scenarioId":2,"definition":{...}}. The definition is the EWR serialization: name, maintenanceFactor, elements, and luminaireArrangements. Copy paths from this definition when constructing JSON Patch edits. Roadway width is derived from its lane widths, not a separate editable roadway field.

    Only currently loaded IDs are accepted. A scenario retained solely by undo history is not a valid calculation or query target. Orientation is the current application EU/US coordinate setting, not part of the EWR definition.

    In this article
    Back to top Generated by DocFX