BvlProcessOptions
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
interface BvlProcessOptionsMembers#
| Member | Kind | Description |
|---|---|---|
| addedAnnotations | Property | Receives every annotation and annotation layer added, so they can be taken away again |
| keepMeasurements | Property | Leave the measurements alone (a pick) |
| reset | Property | First take away the previous result (Viewer3d.resetResults); default true |
| resultColorOf | Property | The "#rrggbb" colour of an object's check result, for COLOR RESULT n%; without it those objects keep their colour |
| transition | Property | The visibility, selection, colours and VIEWFIT as one ObjectStateManager.transition step: its duration (default 500 ms) and easing, the schedule and onStop o… |
addedAnnotations#
addedAnnotations?: (unknown)[] | nullReceives every annotation and annotation layer added, so they can be taken away again
keepMeasurements#
keepMeasurements?: booleanLeave the measurements alone (a pick)
reset#
reset?: booleanFirst take away the previous result (Viewer3d.resetResults); default true
resultColorOf#
resultColorOf?: (qid: string) => string | null | nullThe "#rrggbb" colour of an object's check result, for COLOR RESULT n%; without it those objects keep their colour
transition#
transition?: false | { duration?: number; easing?: TransitionEasing } & TransitionOptions | nullThe visibility, selection, colours and VIEWFIT as one ObjectStateManager.transition step: its duration
(default 500 ms) and easing, the schedule and onStop of TransitionOptions, each key over the script's
TRANSITION header; either one makes it a transition. false applies at once whatever the script says. The flags,
wireframes, labels and annotations apply at once either way (docs/viewer-state-transitions-design.md §8.2)