Buttons
The Buttons node () adds a row of buttons to the Setting windows of a feature or physics interface of the Model Builder.
To add a Buttons node, first add a feature node or a property node, for example, a Generic Feature, Domain Condition, or Device Model Feature, then:
From the contextual toolbar (in this example, Generic Feature, Domain Condition, or Device Model Feature), click the Buttons () button.
Right-click the feature node (in this example, Generic Feature, Domain Condition, or Device Model Feature) and select it from the Inputs submenu.
The Settings window has the following sections:
Button
Add a Name for the buttons group.
From the Action type list, you choose which type of action to associate with the buttons: Choose Button handler from code editor (the default) to define the action handler from a Code Editor node (see Code Editor), or choose Internal action tag to use an action manager and let the buttons refer to this action by using an internal tag that you enter in the Action tag field.
Actions
You add actions using the Add button () under the table. If the Action type is set to Button handler from code editor, you enter a Description, the filename for the Icon to use, and choose an existing Code Editor as the handler (or None) in the Handler column. If the Action type is set to Internal action tag, you enter a Description and the filename for the Icon to use for the action. If the Icon field is empty, the button becomes a text button; otherwise the button shows the image in the file specified in the Icon field.
Use the Move Up , Move Down , and Delete buttons under the table to organize the list.
GUI Options
If you want the buttons to disappear when they are inactive, select the Hide user input in GUI when inactive check box. It is also possible to add a divider above the GUI component and any row of buttons. The divider is a horizontal line with an optional descriptive text. Select the Add divider above the material property check box to add the divider. When selected, you can enter the divider text in the Text field.