Events
Layer tree
hoops-layer-tree-element-click: CustomEvent<{ layerId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
layerId
-source
-hoops-layer-tree-node-selected: CustomEvent<{ layerId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
layerId
-source
-hoops-layer-tree-visibility-changed: CustomEvent<{ layerId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
layerId
-source
-Layer tree element
hoops-layer-visibility-change: CustomEvent<{ layerId: number; visibility: boolean; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
layerId
-visibility
-source
-hoops-layer-node-visibility-change: CustomEvent<{ nodeId: number[]; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
nodeId
-source
-hoops-layer-tree-node-clicked: CustomEvent<{ layerId: number; nodeId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
layerId
-nodeId
-source
-hoops-layer-clicked: CustomEvent<{ layerId: number; nodeId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
layerId
-nodeId
-source
-Model tree
hoops-model-tree-node-click: CustomEvent<{ nodeId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
nodeId
-source
-Model tree node
hoops-model-tree-node-visibility-change: CustomEvent<{ nodeId: number; visibility: boolean; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
nodeId
-visibility
-source
-View tree
hoops-view-tree-node-click: CustomEvent<{ nodeId: number; source: HTMLElement } & BaseMouseEvent>
Description: <enter description>
nodeId
-source
-WebViewer
hwvReady: CustomEvent<WebViewer>
Called when the HWV has been fully loaded in the browser and is ready to use.
hwv
- the Web Viewer objecthwvAddCuttingSection: CustomEvent<{ hwv: WebViewer; cuttingSection: core.ICuttingSection }>;
Called when a cutting section is added to the HWV.
hwv
- the Web Viewer objectcuttingSection
- the new cutting section- hwvAssemblyTreeReady: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvBcfLoaded: CustomEvent<{ hwv: WebViewer; id: number; filename: Bcf.BCFName }>;
Description: <enter description>
hwv
- the Web Viewer objectnumber
-filename
-- hwvBcfRemoved: CustomEvent<{ hwv: WebViewer; id: number }>;
Description: <enter description>
hwv
- the Web Viewer objectid
-- hwvBeginInteraction: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvCamera: CustomEvent<{ hwv: WebViewer; camera: Camera }>;
Description: <enter description>
hwv
- the Web Viewer objectcamera
-- hwvConfigurationActivated: CustomEvent<{ hwv: WebViewer; nodeId: NodeId }>;
Description: <enter description>
hwv
- the Web Viewer objectnodeId
-- hwvCuttingSectionsLoaded: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvEndInteraction: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvExplode: CustomEvent<{ hwv: WebViewer; magnitude: number }>;
Description: <enter description>
hwv
- the Web Viewer objectmagnitude
-- hwvHwfParseComplete: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvIncrementalSelectionBatchBegin: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvIncrementalSelectionBatchEnd: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvIncrementalSelectionEnd: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvInfo: CustomEvent<{ hwv: WebViewer; infoType: InfoType; message: string }>;
Description: <enter description>
hwv
- the Web Viewer objectinfoType
-message
-- hwvLineCreated: CustomEvent<{ hwv: WebViewer; line: Markup.Line.LineMarkup }>;
Description: <enter description>
hwv
- the Web Viewer objectline
-- hwvLineDeleted: CustomEvent<{ hwv: WebViewer; line: Markup.Line.LineMarkup }>;
Description: <enter description>
hwv
- the Web Viewer objectline
-- hwvLineLoaded: CustomEvent<{ hwv: WebViewer; line: Markup.Line.LineMarkup }>;
Description: <enter description>
hwv
- the Web Viewer objectline
-- hwvMeasurementBegin: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvMissingModel: CustomEvent<{ hwv: WebViewer; modelPath: string }>;
Description: <enter description>
hwv
- the Web Viewer objectmodelPath
-- hwvModelLoadBegin: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvModelStructureReady: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvModelSwitchStart: CustomEvent<{ hwv: WebViewer; clearOnly: boolean }>;
Description: <enter description>
hwv
- the Web Viewer objectclearOnly
-- hwvOverlayViewportSet: CustomEvent<{ hwv: WebViewer; overlayIndex: OverlayIndex }>;
Description: <enter description>
hwv
- the Web Viewer objectoverlayIndex
-- hwvRemoveCuttingSection: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvSceneReady: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvSheetActivated: CustomEvent<{ hwv: WebViewer; nodeId: SheetId }>;
Description: <enter description>
hwv
- the Web Viewer objectnodeId
-- hwvSheetDeactivated: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvStreamingActivated: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvStreamingDeactivated: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvSubtreeDeleted: CustomEvent<{ hwv: WebViewer; modelRootIds: NodeId[] }>;
Description: <enter description>
hwv
- the Web Viewer objectmodelRootIds
-- hwvTimeout: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvTimeoutWarning: CustomEvent<{ hwv: WebViewer; minutesRemaining: number }>;
Description: <enter description>
hwv
- the Web Viewer objectminutesRemaining
-- hwvTransitionBegin: CustomEvent<{ hwv: WebViewer; duration: number }>;
Description: <enter description>
hwv
- the Web Viewer objectduration
-- hwvTransitionEnd: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvViewCreated: CustomEvent<{ hwv: WebViewer; view: Markup.MarkupView }>;
Emitted when a view is created.
hwv
- the Web Viewer objectview
-- hwvViewDeactivated: CustomEvent<{ hwv: WebViewer; view: Markup.MarkupView }>;
Emitted when a view is deactivated
hwv
- the Web Viewer objectview
-- hwvViewDeleted: CustomEvent<{ hwv: WebViewer; view: Markup.MarkupView }>;
Emitted when a view is deleted.
hwv
- the Web Viewer objectview
-- hwvViewLoaded: CustomEvent<{ hwv: WebViewer; view: Markup.MarkupView }>;
Description: <enter description>
hwv
- the Web Viewer objectview
-- hwvViewOrientation: CustomEvent<{ hwv: WebViewer; orientation: ViewOrientation }>;
Description: <enter description>
hwv
- the Web Viewer objectorientation
-- hwvWalkOperatorActivated: CustomEvent<{ hwv: WebViewer }>;
Emitted when the walk operator is activated.
hwv
- the Web Viewer object- hwvWalkOperatorDeactivated: CustomEvent<{ hwv: WebViewer }>;
Emitted when the walk operator is deactivated.
hwv
- the Web Viewer object- hwvWebGlContextLost: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvWebsocketConnectionClosed: CustomEvent<{ hwv: WebViewer }>;
Description: <enter description>
hwv
- the Web Viewer object- hwvXHRonerror: CustomEvent<{ hwv: WebViewer; errorEvent: ErrorEvent }>;
Description: <enter description>
hwv
- the Web Viewer objecterrorEvent
-- hwvXHRonprogress: CustomEvent<{ hwv: WebViewer; progressEvent: ProgressEvent }>;
Description: <enter description>
hwv
- the Web Viewer objectprogressEvent
-- hwvCadViewCreated: CustomEvent<{ hwv: WebViewer; cadViewId: CadViewId; cadViewName: string }>;
Description: <enter description>
hwv
- the Web Viewer objectcadViewId
- the ID of the CAD view created for this eventcadViewName
- the name of the CAD view created for this event- hwvCappingIdle: CustomEvent<{ hwv: WebViewer; isIdle: boolean; cappedInstanceCount: number }>;
Description: <enter description>
hwv
- the Web Viewer objectisIdle
-cappedInstanceCount
-- hwvContextMenu: CustomEvent<{ hwv: WebViewer; position: Point2; modifiers: KeyModifiers }>;
Emitted when the user activates the context menu.
hwv
- the Web Viewer objectposition
- the position of the click eventmodifiers
- the active modifier keys, if any- hwvCuttingPlaneDragStart: CustomEvent<{ hwv: WebViewer; cuttingSection: core.ICuttingSection; planeIndex: number; }>;
Emitted when the user starts dragging the cutting plane.
hwv
- the Web Viewer objectcuttingSection
-planeIndex
-- hwvCuttingPlaneDrag: CustomEvent<{ hwv: WebViewer; cuttingSection: core.ICuttingSection; planeIndex: number; }>;
Emitted when the user drags the cutting plane.
hwv
- the Web Viewer objectcuttingSection
-planeIndex
-- hwvCuttingPlaneDragEnd: CustomEvent<{ hwv: WebViewer; cuttingSection: core.ICuttingSection; planeIndex: number; }>;
Emitted when the user ends dragging the cutting plane.
hwv
- the Web Viewer objectcuttingSection
-planeIndex
-- hwvFirstModelLoaded: CustomEvent<{ hwv: WebViewer; modelRootIds: NodeId[]; isHwf: boolean; }>;
Description: <enter description>
hwv
- the Web Viewer objectmodelRootIds
-isHwf
-- hwvFrameDrawn: CustomEvent<{ hwv: WebViewer; camera: Camera; visiblePoints: number[] }>;
Description: <enter description>
hwv
- the Web Viewer objectcamera
-visiblePoints
-- hwvHandleEventStart: CustomEvent<{ hwv: WebViewer; eventType: HandleEventType; nodeIds: NodeId[]; initialMatrices: Matrix[]; }>;
Description: <enter description>
hwv
- the Web Viewer objecteventType
-nodeIds
-initialMatrices
-- hwvHandleEvent: CustomEvent<{ hwv: WebViewer; eventType: HandleEventType; nodeIds: NodeId[]; initialMatrices: Matrix[]; newMatrices: Matrix[]; }>;
Description: <enter description>
hwv
- the Web Viewer objecteventType
-nodeIds
-initialMatrices
-- hwvHandleEventEnd: CustomEvent<{ hwv: WebViewer; eventType: HandleEventType; nodeIds: NodeId[]; initialMatrices: Matrix[]; newMatrices: Matrix[]; }>;
Description: <enter description>
hwv
- the Web Viewer objecteventType
-nodeIds
-initialMatrices
-- hwvMeasurementCreated: CustomEvent<{ hwv: WebViewer; measurement: Operators.Markup.Measure.MeasureMarkup; }>;
Description: <enter description>
hwv
- the Web Viewer objectmeasurement
-- hwvMeasurementDeleted: CustomEvent<{ hwv: WebViewer; measurement: Operators.Markup.Measure.MeasureMarkup; }>;
Emitted when a measurement is deleted.
hwv
- the Web Viewer objectmeasurement
-- hwvMeasurementHidden: CustomEvent<{ hwv: WebViewer; measurement: Operators.Markup.Measure.MeasureMarkup; }>;
Emitted when a measurement is hidden.
hwv
- the Web Viewer objectmeasurement
-- hwvMeasurementLoaded: CustomEvent<{ hwv: WebViewer; measurement: Operators.Markup.Measure.MeasureMarkup; }>;
Description: <enter description>
hwv
- the Web Viewer objectmeasurement
-- hwvMeasurementShown: CustomEvent<{ hwv: WebViewer; measurement: Operators.Markup.Measure.MeasureMarkup; }>;
Description: <enter description>
hwv
- the Web Viewer objectmeasurement
-- hwvMeasurementValueSet: CustomEvent<{ hwv: WebViewer; measurement: Operators.Markup.Measure.MeasureMarkup; }>;
Description: <enter description>
hwv
- the Web Viewer objectmeasurement
-- hwvModelLoadFailure: CustomEvent<{ hwv: WebViewer; modelName: ScModelName; reason: string; error?: any; }>;
Description: <enter description>
hwv
- the Web Viewer objectmodelName
-reason
-error
-- hwvModelStructureHeaderParsed: CustomEvent<{ hwv: WebViewer; filename: string; fileType: FileType; }>;
Description: <enter description>
hwv
- the Web Viewer objectfilename
-fileType
-- hwvModelSwitched: CustomEvent<{ hwv: WebViewer; clearOnly: boolean; modelRootIds: NodeId[] }>;
Description: <enter description>
hwv
- the Web Viewer objectclearOnly
-modelRootIds
-- hwvNoteTextCreated: CustomEvent<{ hwv: WebViewer; noteText: Operators.Markup.Note.NoteText }>;
Description: <enter description>
hwv
- the Web Viewer objectnoteText
- the text of the note associated with this event- hwvNoteTextHidden: CustomEvent<{ hwv: WebViewer; noteText: Operators.Markup.Note.NoteText }>;
Description: <enter description>
hwv
- the Web Viewer objectnoteText
- the text of the note associated with this event- hwvNoteTextShown: CustomEvent<{ hwv: WebViewer; noteText: Operators.Markup.Note.NoteText }>;
Description: <enter description>
hwv
- the Web Viewer objectnoteText
- the text of the note associated with this event- hwvRedlineCreated: CustomEvent<{ hwv: WebViewer; redlineMarkup: Markup.Redline.RedlineItem }>;
Emitted when redline text is created.
hwv
- the Web Viewer objectredlineMarkup
- the text of the note associated with this event- hwvRedlineDeleted: CustomEvent<{ hwv: WebViewer; redlineMarkup: Markup.Redline.RedlineItem }>;
Emitted when redline text is deleted.
hwv
- the Web Viewer objectredlineMarkup
- the text of the note associated with this event- hwvRedlineUpdated: CustomEvent<{ hwv: WebViewer; redlineMarkup: Markup.Redline.RedlineItem }>;
Emitted when redline text is updated.
hwv
- the Web Viewer objectredlineMarkup
- the text of the note associated with this event- hwvSelectionArray: CustomEvent<{ hwv: WebViewer; selectionEvents: Event.NodeSelectionEvent[]; removed: boolean; }>;
Description: <enter description>
hwv
- the Web Viewer objectselectionEvents
-removed
-- hwvSubtreeLoaded: CustomEvent<{ hwv: WebViewer; modelRootIds: NodeId[]; source: NodeSource }>;
Description: <enter description>
hwv
- the Web Viewer objectmodelRootIds
-source
-- hwvViewAxes: CustomEvent<{ hwv: WebViewer; frontVector: Point3; upVector: Point3 }>;
Description: <enter description>
hwv
- the Web Viewer objectfrontVector
-upVector
-- hwvVisibilityChanged: CustomEvent<{ hwv: WebViewer; shownBodyIds: BodyId[]; hiddenBodyIds: BodyId[]; }>;
Description: <enter description>
hwv
- the Web Viewer objectshownBodyIds
-hiddenBodyIds
-- hwvXHRonloadend: CustomEvent<{ hwv: WebViewer; progressEvent: ProgressEvent; status: number; uri: string; }>;
Description: <enter description>
hwv
- the Web Viewer objectprogressEvent
-status
-uri
-