Interface: ModularElement
Represents a product element in a modular configuration, with complete details.
The ModularElement interface provides comprehensive information about a product that has been added to a modular scene, including its identity, configuration, pricing, and selected options. This is a data-rich representation used for displaying product details, calculating prices, and generating reports.
Unlike the ProductElement interface which focuses on scene placement and connections, ModularElement focuses on business data like pricing, options, and product information.
Properties
configurationCode
configurationCode:
string
Configuration code representing all selected options.
This code encapsulates all the option selections and customizations applied to this specific product instance. It's a serialized representation of the product's current configuration state.
The configuration code can be used to recreate this exact product configuration in the future or to look up pricing and availability.
description?
optionaldescription?:Nullable<string>
Plain text description of the product.
This optional property contains a human-readable description of the product, explaining its features, benefits, and characteristics. This helps users understand the product's purpose and value.
Product descriptions are important for customer education and often appear in detailed view modes and documentation.
dimensions?
optionaldimensions?:Nullable<ModelDimensions>
Physical dimensions of this product in its current configuration.
This optional property contains the width, height, and depth of the product
as determined by the active configuration. Values are expressed in the unit
system configured for the product. May be null if dimensions are not
available for this product.
Dimensions are useful for space planning, order summaries, and integration with external systems that require physical size information.