Available translations

Weight Votes Switch

governance.png
weight-votes-switch.png
Use this switch to spawn different types of Weight Votes, and to reference Class types of nodes within any of the Project Definition Hierarchies to map large structures of definitions.
Content
You may use this switch for three different purposes:
  • As an organizational device: You may create arbitrary arrangements of votes, spawning more switches and votes.
  • As a data-structure mapper: Use the node to reference Class types of nodes within Project Definition Hierarchies to map entire structures of definitions.
The first two use cases are self-explanatory. Let's explore the third one in more detail.
Use a Weight Votes Switch node to establish a reference with a Class type of node — Pool Class, Position Class, Feature Class, or Asset Class — within Project Definition Hierarchies. Then use the Install Missing Votes option on the menu of the Weight Votes Switch to map the entire Class section of the hierarchy!
Configuration
Configuration
Initial Values
These are the Initial Values for Weight Votes Switch configuration:
 {}
Examples
This is a list of properties featured by the Weight Votes Switch configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Weight Votes Switch Menu
The Weight Votes Switch node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • actionFunction: uiObject.configEditor.activate
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
The Install Missing Votes menu item has the following properties:
  • action: Install Missing Votes
  • actionProject: Governance
  • actionFunction: payload.executeAction
  • label: Install Missing Votes
  • relatedUiObject: Weight Votes Switch
  • askConfirmation: true
  • confirmationLabel: Confirm to Install
  • relatedUiObjectProject: Governance
The Add Weight Votes Switch menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • actionFunction: payload.executeAction
  • relatedUiObject: Weight Votes Switch
  • relatedUiObjectProject: Governance
The Add Pool Weight Vote menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Governance
The Add Position Weight Vote menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Governance
The Add Asset Weight Vote menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Governance
The Add Feature Weight Vote menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Governance
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Weight Votes Switch Children
The Weight Votes Switch node has the following childrenNodesProperties:
The Weight Votes Switch node property features the following properties:
  • name: weightVotesSwitch
  • type: array
  • childType: Weight Votes Switch
  • autoAdd: false
The Pool Weight Votes node property features the following properties:
  • name: poolWeightVotes
  • type: array
  • autoAdd: false
The Asset Weight Votes node property features the following properties:
  • name: assetWeightVotes
  • type: array
  • autoAdd: false
The Feature Weight Votes node property features the following properties:
  • name: featureWeightVotes
  • type: array
  • autoAdd: false
The Position Weight Votes node property features the following properties:
  • name: positionWeightVotes
  • type: array
  • autoAdd: false
Weight Votes Switch Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Weight Votes Switch with other nodes:
Compatible Types:
Weight Votes Switch Referencing Rules
The following are the Node Referencing Rules that determine which nodes Weight Votes Switch may establish a reference to:
Compatible Types: