GetMaterial
Returns a Material object populated with the specified Material data from the material database, based on the Material Name.
Syntax
Set
object
= MaterialSvr
.GetMaterial
(ByVal sName
As String, UseCollection
As Boolean)The
GetMaterial
method syntax has these parts:Part | Description |
---|---|
object | Reference to a valid Material object. |
MaterialSvr | Instance of the MaterialServer Interface to which the method is directed. |
sName | Represents the name of the Material. |
UseCollection | True: Attempts to locate the specified Material 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