Applies the specified material from the material favorites list.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetFavMaterial( _
ByVal NFav As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWSolidBody
Dim NFav As System.Integer
Dim value As System.Integer
value = instance.SetFavMaterial(NFav) |
C# | |
---|
System.int SetFavMaterial(
System.int NFav
) |
C++/CLI | |
---|
System.int SetFavMaterial(
& System.int NFav
) |
Parameters
- NFav
- 1 <= index of material in favorites list <= 100 (see Remarks)
Return Value
1 if material applied successfully, 0 if not
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2015 SP3