Material slot item is used in conjunction with Part to define the material choices for a material area of the part. The Material areas are defined in the 3D model as markers and placeholders where a material surface can be added to the mesh making it look like te real item. You can only edit Material Areas in the 3D editing tools and the available material area names are read from the .GLFT file at import time. They are not editable in the 3D product configurator.
You add Material Slot by choosing the parent and selecting Material Slot in the context menu and then define the material areas the slot affects and add the Materials either directly or via Item List as the choices for the material slot. If you only configure one material to the Material Slot, no choice is given to the buyer on the Planner
|Material Areas||Selection box||N||selection of the material areas of the 3D model that this Material Slot affects. You can have one or many areas of the 3D model covered with one Material Slot, depending on how the material areas are defined in your 3D model.|
|Connection Point/Alignment||Vector||N||Should be empty for Material slot|
|Connection Point/Offset||Vector||N||Should be empty for Material slot|
|Connection Point/AlignedOffset||Vector||N||Should be empty for Material Slot|
|Collection Point/Rotation||Vector||N||Should be empty for Material Slot|
|Enabled||Toggle/scripting||N||This toggle can be used to control if the material slot is on/off programmatically.|
|AutoOption||scripting||N||Auto option for Material Slot can be used to force the material the part with some other option. For example the material of the parent part or specific material based on the parent part|
|DisplayName||Text field||Y||The category name for this Material Slot in the Planner menu|
Optional property sets
Custom Property set (or sets) allow definition of logic that defines something that otherwise isnt predefined in the system logic.
|Name||Text field||Y||The name of the custom property. It can be reffered to in scriting from elsewhere|
|Value||Scripting||N||Value or scripting logic that the property has|
Validation rule property set is used to define logic that can be useful to ensuring the the item where the validation rule is will follow define rules.
|DisplayMessage||Text Field||Y||Text that is shown on the Planner when the conditions of the rule are true|
|Level||Radio Button||N||Selection should the rule show error, suggestion or indicating something is missing|
|Trigger||Scripting||N||The logic that defines the validation rule|
Classification tag allows the configurator to define a name in the system that can be referred to in other logic components through the scripting system
|Tag||Text field||N||A label that is associated with the item it's been configured to|
The system does not prevent from having overlapping Material Areas defined. This means that you can have Material Slot that defines "All" material areas and another Material Slot with one material area selected and confusing outcomes as the Material Slot with "all" overrides selection of the other material slot
It is important to ensure that Material Area names are uniform and the text is capitalised the same way accross 3D models that can be changed in the scene. This simplifies configuration and prevents errors in system usage.