Applies the specified material from the material favorites list.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetFavMaterial2( _
ByVal NFav As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ICWBeamBody
Dim NFav As System.Integer
Dim value As System.Boolean
value = instance.SetFavMaterial2(NFav) |
C# | |
---|
System.bool SetFavMaterial2(
System.int NFav
) |
C++/CLI | |
---|
System.bool SetFavMaterial2(
& System.int NFav
) |
Parameters
- NFav
- 1 <= index of material in favorites list <= 100 (see Remarks)
Return Value
-1 or true if material applied successfully, 0 or false if not
Remarks
See Also
Availability
SOLIDWORKS 2022 FCS, Revision Number 30