Interface: CurrentElementMetadata
Current element metadata containing essential information about the selected product on a modular scene.
This interface provides core identification and statistical information about a product that is currently selected in the modular configurator. It helps identify both the specific instance and how many similar products exist in the current scene.
Properties
instanceId
instanceId:
string
Unique identifier for the specific product instance.
This ID uniquely identifies this particular instance of the product on the scene. Use this ID for operations that need to target this specific instance, such as moving, deleting, or configuring this exact instance.
numberOfInstances
numberOfInstances:
number
Count of how many instances of this product type exist on the scene.
This value indicates how many products of the same type (same productId) are currently placed on the scene. This is useful for determining whether batch operations across multiple instances are relevant.
productId
productId:
string
Product type identifier.
This ID identifies the type of product (not the specific instance). Multiple instances on the scene can share the same productId if they are the same type of product, even if configured differently.