OptionalpOptions: ArticleManagerOptionsReadonlyeventReadonlyeventReadonlyeventWill be triggered if an article instance (basket id) was restored.
ReadonlyeventWill be triggered if an article was removed/deleted from the model.
ReadonlyeventWill 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.
Text format used for the item properties.
Custom filter function for OAP interactors.
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.
OptionalpLoadTransformations: boolean
If true the transformations will be loaded. (Default: false)
OptionalpBasketItems: 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 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.
OptionalpLoadTransformations: boolean
If true the transformations will be loaded. (default: false)
OptionalpBasketItems: 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.
OptionalpGfjUrls: Map<string, string>
Map from basketId to gfj url. Can be used to speed up insertion in case the urls are already known.
Creates a screenshot and returns it as data uri or blob.
Creates a screenshot and returns it as data uri or blob.
Creates a screenshot and returns it as data uri or blob.
Creates a screenshot and returns it as data uri or blob.
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.
OptionalpOptions: ArticleImportOptionsImports articles from the given obx. Note: The loaded articles will not be added to the ModelManager here. This should be done afterwards.
OptionalpOptions: ArticleImportOptionsInserts 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.
OptionalpOptions: InsertArticleOptionsInserts pArticle as a sub article of pMainArticle and returns the basket id of the new sub article.
OptionalpOptions: InsertArticleOptionsResets cached ArticleData and ItemProperties for all existing articles.
Enables 2D geometries for GFJ export. (default: false)
If enabled, GFJ files will contain invisible layers.
Set active pricing procedure.
Will be triggered if an article was added to the model.