Readonly
eventReadonly
eventReadonly
eventReadonly
eventShould be triggered if the list of properties, the value or the state (visible, editable) of one or more properties has changed.
Readonly
eventReadonly
eventProtected
mProtected
mProtected
mProtected
mProtected
mProtected
mStatic
Readonly
CLASS_BasketId may be null if the article is not intantiated yes (use ensureIsInstanced()). e.g. if article is a newly created clone
Complete bounding box of this element inluding invisible nodes.
Bounding box of this element inluding only visible elements.
Color of the dimensions as hex string.
"#595959"
Custom scale factor of the dimension.
1
Returns false if the article (including its children) has no or an empty geometry.
If true the main article will not be visible. Only the sub-articles will be visible.
Array of sub-article ids. If not null only the sub-articles contained in this array are visible otherwise all sub-articles will be visible.
Optional
pNewParent: null | TransformNodeProtected
copyFills the internal cache with the given items.
Fills the internal cache with the given calculations.
Fills the internal cache with the given data.
Fills the internal cache with the given item properties.
Retrieves the article data for this article. In order to retrieve the properties, the article has to be instantiated on server side. This may not be possible if the ofml data is not installed or it has changed (article requires migration). The operation would fail in those cases. If properties are not required the noProperties option can be set to true to avoid this. (Default: false)
Optional
pOptions: GetArticleDataOptionsOptional
pOptions: GetArticleDataOptionsReturns a calculation for the main article including all its sub articles.
Returns the currently known ofml update state.
Returns this element if it is currently selectable otherwise the next parent which is selectable.
Returns the next selectable parent or this if there is no parent.
Can be overridden to define a custom bounding box for the selection highlight. Defaults to SceneElement.boundingBoxVisible (does not return a clone).
Protected
handleProtected
handleEnables highlighting of selectabe sub articles for this main article. The highlighting will be disabled automatically e.g. if the article changed or a tool was started. Returns false if the default tool is currently not running (if a default tool exists) or the highlighting is enabled already.
Called after creation of the highlighting.
Optional
pDisposeCallback: (() => void)Called if the highighting was diposed/disabled.
Will be called for certain operations to load the undo data which was saved with a previous saveUndoData() call.
Notify this main article that there was a change.
The changed article. Can be a sub article of the main article or the main article itself.
Shoud be true if the given article and also other articles have changed.
Can be used to provide additional undo related data for certain operations. Will be called before the operation is performed.
Protected
setProtected
supportUpdates the ofml article and its sub articles to use the currently installed product data. If an update is necessary can be checked with 'getOfmlUpdateState()'. Returns true if the update was successful.
set to true if migration should be performed if necessary
set to true if geometry should also be updated
price date to use for the update
Optional
pPriceDate: stringShould be called after the transformation of this.node was modified directly instead of using this.setTransform(). This function updates frozen world matrices and calls notifyChange with ElementChangedFlags.Transformation.
Protected
wasProtected
wasStatic
FromStatic
GetStatic
Protected
LoadStatic
Protected
cloneGenerated using TypeDoc
Will be triggered inside updateGeometry() if the geometry was successfully updated.