OptionaladdedThis method will get called when objects have been added to the selection.
Iterable<@bimworks/jssdk!Qid> that provides the @bimworks/jssdk!Qids of the objects added to the selection set.
Unused
OptionaladdedObjects were added to the set of visible objects
An Iterable
This method can return a Promise, if it does, subsequent listeners will only be notified after the returned Promise has resolved
OptionalcolorOptionalcolorOptionalcolorCalled when the color of the given objects has been reset
The Qids of the objects for which the color has been reset
OptionalhoverCalled then the given object is not being hovered on anymore
The Qid of the object that is not being hovered over anymore
OptionalhoverCalled then the given object is being hovered on
The Qid of the object being hovered over
The Qid of the previous objects that was being hovered over
The screenspace location of the hover event. This can be useful to for example place a popup/tooltip at that location. Screenspace location is x, y coordinate between 0, 0 and canvas width,height
OptionalprimaryThe primary selection has changed
The Qid of the newly selected primary object or null if primary selection was unselected
OptionalremovedObjects have been removed from the selection set
The Qids of the objects that have been removed from the selection set
OptionalremovedObjects were removed from the set of visible objects
An Iterable
Optionaltype: stringTo be removed
This method can return a Promise, if it does, subsequent listeners will only be notified after the returned Promise has resolved
OptionalsetOptionalsetOptionalsetThis method will get called when the set of selected objects has been
Iterable<@bimworks/jssdk!Qid> that provides the @bimworks/jssdk!Qids of the objects added to the selection set.
Unused
OptionalsetThe set of visible objects has been replaced to the given set
This method can return a Promise, if it does, subsequent listeners will only be notified after the returned Promise has resolved
OptionalviewFit the given object into view.
The Qids of the objects to fit
Optionaloptions: ViewFitOptionsTo provide a buffer around the objects. A percentage, where 0 means no buffer and 100 means only buffer
OptionalviewFit the given models into view.
The models to fit
Optionaloptions: ViewFitOptionsTo provide a buffer around the objects. A percentage, where 0 means no buffer and 100 means only buffer
An interface that can be implemented to be notified about certain ObjectStateManager related events. All of the methods allow the ability to return a Promise. When a Promise is returned, the ObjectStateManager will wait before it will trigger the next listener until the Promise resolves. Keep that in mind when returning a Promise.