 | IMaterialsGet Method |
Returns a material with the given name. If no material is found, ArgumentException is thrown.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxIMaterial Get(
string name
)
Function Get (
name As String
) As IMaterial
Dim instance As IMaterials
Dim name As String
Dim returnValue As IMaterial
returnValue = instance.Get(name)
Parameters
- name
- Type: SystemString
Material name.
Return Value
Type:
IMaterialReference to the material.
See Also