Command Button

 

Command Buttons display a standard command button (a rounded rectangle displaying text). When the user clicks the button it calls the associated function in Logic using the [button_name]_OnClicked event callback. They are not associated to any underlying parameters (see Changing the Layout).

You create them using the PPGLayout.AddButton method with the ScriptName argument and an optional Label argument.

The following item attributes are available:

Available on all Controls also as a property on the PPGItem object:

Common to many Controls:

siUILabel

siUIItems

siUIType

siUIWidthPercentage

siUILabelPercentage

siUILabelMinPixels

siUIContinue

siUICX

siUICY



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index