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