Sets the suppression state of the specified component contact.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SuppressUnsuppressComponentContact2( _
ByVal SName As System.String, _
ByVal BSuppress As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWContactManager
Dim SName As System.String
Dim BSuppress As System.Boolean
Dim value As System.Integer
value = instance.SuppressUnsuppressComponentContact2(SName, BSuppress) |
C# | |
---|
System.int SuppressUnsuppressComponentContact2(
System.string SName,
System.bool BSuppress
) |
C++/CLI | |
---|
System.int SuppressUnsuppressComponentContact2(
& System.String^ SName,
& System.bool BSuppress
) |
Parameters
- SName
- Name of component contact (see Remarks)
- BSuppress
- -1 or true to suppress, 0 or false to unsuppress
Return Value
Error code as defined in
swsContactSuppressUnsuppressError_e
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2022 SP0