Event Handler
You can add an Event Handler subnode () under an Event Listener node to define an event handler that can listen to a parameter event or an attribute event and run the handler to set or reset a parameter value or run a coded method. The handler can be triggered with a condition. To add an Event Handler node, right-click an Event Listener node and select it from the context menu.
Command
From the Command type list, choose Set value (the default) to set a value, Reset to default, or Command handler from code editor.
For Set value and Reset to default, the following additional settings are available:
From the Specify parameter list, choose By reference (the default) or By name.
From the From list, define from where to take the event handler’s parameter: Choose User input from this property (the default) or User input from another property. In the latter case, choose a property from the Property list, if you have chosen By reference, or type it into the Property field, if you have chosen By name. Then choose the user input from the User input list, if you have chosen By reference, or type it into the User input field, if you have chosen By name.
If you have selected By name from the Specify parameter list, select the Skip action for undefined references if desired.
If you have selected Set value from the Command type list, enter an expression for the value to set in the Expression field.
Select the Condition to run check box to enter a condition for the event handler to run in the Condition field.
For the Command handler from code editor command type, the following additional settings are available:
In the Links from list, you choose where to look for a certain property. Available options are:
Building blocks. Lets you choose among the properties listed under the Properties branch in the Building Blocks branch. You choose the property from the Link list. Click the Add button () to display a quick menu where you can select a source to add in to the list and use it as the current reference. A Confirm Operation dialog box will appear and ask for confirmation if there is already a reference exist in the Link list. Click the Go to Source button to move to the referenced node in the Link list.
Built in. Lets you choose among built-in properties that are available to the Physics Builder. In the Package list you choose the main resource to use properties from. For each resource, you have a list of properties in the Link list to choose from. You can only choose among the currently published properties.
External resources. Lets you choose among the properties listed in an imported builder file under the External Resources branch. You choose the file from the Imported file list. The Link list contains all properties found in the Building Blocks>Properties branch of the selected file.