Readonly
eventReadonly
eventReadonly
eventWill be triggered if an article instance (basket id) was restored.
Readonly
eventWill be triggered if an article was removed/deleted from the model.
Readonly
eventWill be triggered for every error during execution of OAP actions.
Optional father item which will be used as father/parent in the basket hierarchy for newly inserted/created articles.
If true calculation line errors will be also included in the inconsistencyReason
of the article ItemProperties
.
true
Placeholder creator for articles without geometry. Can be overriden with a custom implementation. The DefaultPlaceholderCreator is used as the default implementation.
The currently active pricing procedure.
Creates a MainArticleElement for the given basket id which should belong to an already existing main article in the EAIWS session. Note: The MainArticleElement will not be added to the ModelManager here. This should be done afterwards.
The id of the article to load.
Optional
pLoadTransformations: booleanIf true the transformations will be loaded. (Default: false)
Optional
pBasketItems: BasketItem[]If the basket.BasketItems of the articles are already known. They can be passed here to speed up the operation. The list of items has to be complete. It has to conatin all main articles and all of its sub articles. Further, the geometryId and setArticleId (if the item is part of a set) of each BasketItem should be available.
Creates a screenshot and returns it as data uri or blob.
Creates MainArticleElements for the given basket ids which should belong to already existing main articles in the EAIWS session. Note: The MainArticleElements will not be added to the ModelManager here. This should be done afterwards.
The ids of the articles to load.
Optional
pLoadTransformations: booleanIf true the transformations will be loaded. (default: false)
Optional
pBasketItems: BasketItem[]If the basket.BasketItems of the articles are already known. They can be passed here to speed up the operation. The list of items has to be complete. It has to conatin all main articles and all of its sub articles. Further, the geometryId and setArticleId (if the item is part of a set) of each BasketItem should be available.
Optional
pGfjUrls: Map<string, string>Map from basketId to gfj url. Can be used to speed up insertion in case the urls are already known.
Returns a list of all main article which are currently part of the scene.
Returns the article element with the given id.
Imports articles from the current eaiws session.
Optional
pOptions: ArticleImportOptionsImports articles from the given obx. Note: The loaded articles will not be added to the ModelManager here. This should be done afterwards.
Optional
pOptions: ArticleImportOptionsHas to be called for every eaiws session to enable new OAP features. If it is not called the EAIWS will run in compatibility mode.
Optional
pOptions: InitializeSessionOptionsInserts a new article into the EAIWS session and creates a MainArticleElement. Note: The MainArticleElement will not be added to the ModelManager here. This should be done afterwards.
Optional
pOptions: InsertArticleOptionsInserts pArticle as a sub article of pMainArticle and returns the basket id of the new sub article.
Optional
pOptions: InsertArticleOptionsSet active pricing procedure.
Generated using TypeDoc
Will be triggered if an article was added to the model.