GetMaterialClass
Returns a MaterialClass object that is populated with the specified MaterialClass data from the material database, based on the MaterialClass Name.
Syntax
Set
object
= MaterialSvr
.GetMaterialClass
(ByVal MaterialClassName
As String, UseCollection
As Boolean)The
GetMaterialClass
method syntax has these parts:Part | Description |
---|---|
object | Reference to a valid MaterialClass object. |
MaterialSvr | Instance of the MaterialServer Interface to which the method is directed. |
MaterialClassName | Represents the name of the MaterialClass. |
UseCollection | True: Attempts to locate the specified MaterialClass in a pre-populated collection. If no collection is present, one is created and the record is read from the collection.False: reads the record directly from the database. |
Provide Feedback