AddGridParameter (CustomProperty)

Introduced

4.0

Description

Adds a Grid Parameter to the CustomProperty. The grid is a convenient way to store 1- or 2-dimensional Arrays and the user can view and edit this data via the siControlGrid (see siPPGControlType).

To change the contents of the grid via scripting use the GridData object, which is accessible via the Parameter.Value property.

To include the Grid in the Property Page of the CustomProperty use the PPGLayout.AddItem method.

Scripting Syntax

CustomProperty.AddGridParameter( ScriptName )

C# Syntax

Parameter CustomProperty.AddGridParameter( String in_ScriptName );

Parameters

Parameter

Type

Description

ScriptName

String

Script name of the new parameter

Return Value

The newly created Parameter object.

See Also

GridData

XSIFactory.CreateGridData

Parameter.Value

siPPGControlType



Autodesk Softimage v7.5