GetMaterialsInMaterialClasses

Returns a list of the submitted material class names with their configured materials.
Syntax
Set
object
=
MaterialSvr
.
GetMaterialsInMaterialClasses
()
The
GetMaterialsInMaterialClasses
method syntax has these parts:
Part
Description
object
Reference to a valid Materials collection object.
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
GetMaterialsInMaterialClasses takes a tab-delimited string of material class names and returns a two-dimensional string array, with the first dimension being the submitted material class name and the second being the name of the material, if any, supported by that container.
The material classes are returned in the order that they were requested in the tab-delimited string.
If a material class has no materials configured for it, an empty string will be returned for the configured material.
If an invalid container name is submitted, the method will not fail, but will return
*****
for the configured material name.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal