Sets the material library and material name for the beam.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetLibraryMaterial2( _
ByVal SLibWithPathName As System.String, _
ByVal SMaterialName As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ICWBeamBody
Dim SLibWithPathName As System.String
Dim SMaterialName As System.String
Dim value As System.Boolean
value = instance.SetLibraryMaterial2(SLibWithPathName, SMaterialName) |
Parameters
- SLibWithPathName
- Path to the material library
- SMaterialName
- Material name in the library
Return Value
-1 or true if material library and library name are set, 0 or false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2022 FCS, Revision Number 30