Breadcrumbs

Set Facets for macro

Summary

This block sets facets on a slot (units, precision, min etc.)

 

Implementation

  • Drag and drop the block from the palette

  • Link the "execute" action from the "executed" topic of the previous block

 

Example

Set the units on point facets. The event is triggered by an InfoSource in a ControlPoint (this explains the target used below). We set the units to kW-hr in the parent (the point).

image2019-3-28 22:7:1.png

 

 Properties

  • Target: SFormat to define the component which contains the slot whose facets have to be changed. Ex: the point

  • SlotName: SFormat to define the name of the slot whose facets need to be applied to. Ex: the facets slot

  • Facets: Selection of the facets to apply

Advanced Config

  • Do Policy : Defines the policy to apply when adding facetsAdd value: the selected facets will be added to existing onesSet Value: the selected facets will be set in place of the existing ones

  • Undo Policy: Defines the policy to apply on UNDONo Value: nothing is changed. Facets are let as they areSet Value: A new value is applied (Undo Value)Remove Value: The selected facets are removed (others are kept)

  • Undo Value: The facets to apply when Undo Policy is set to "Set Value"