Skip to content

Set Weight

Purpose of the Node

The Set Weight node allows you to adjust the weight of a specific preference in the model preferences. You can select a preference from the available options and set a weight between 0.0 and 1.0. The updated preferences are then outputted.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiate ExecutionExecution
Preferences InCurrent preferences in BitModelPreference formatStruct
Preferences KeyKey of the preference to adjust (e.g., Cost, Speed)String
WeightWeight value between 0.0 and 1.0 to set for the specified preferenceFloat
EndOutput indicating that execution is completeExecution
Preferences OutUpdated preferences with the specified preference weight adjustedStruct