GetMaterialTypeList
Returns a list of MaterialTypes in a multi-dimensioned array.
Syntax
vResult
=
MaterialSvr
.GetMaterialTypeList
()The
GetMaterialTypeList
method syntax has these parts:Part | Description |
|---|---|
vResult | The data returned by the Material Server. |
MaterialSvr | Instance of the MaterialServer to which the method is directed. |
Where
vResult
is:Part | Description |
|---|---|
vResult | Is a two-dimensional array containing < EmptyArray > |
<MaterialTypeData > |
Material Classification Data | Array Element [0] = Pkid Array Element [1] = Name Array Element [2] = Description Array Element [3] = ControllerID |
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the
vResult
array. If both bounds are zero, then the array is empty and can be
treated as such.Provide Feedback