Sets the material library and material name for the shell.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICWShell
Dim SLibraryPathName As String
Dim SMaterialName As String
Dim value As Integer
value = instance.SetLibraryMaterial(SLibraryPathName, SMaterialName)
|
Parameters
- SLibraryPathName
- Path to the material library
- SMaterialName
- Material name in the library
Return Value
1 if library material library and name are set, 0 if not
Example
See Also
Availability
SolidWorks Simulation API 2008 SP1.0