Sets the suppression state of the specified contact set.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function SuppressUnsuppressContactPair2( _
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.SuppressUnsuppressContactPair2(SName, BSuppress) |
| C# | |
|---|
System.int SuppressUnsuppressContactPair2(
System.string SName,
System.bool BSuppress
) |
| C++/CLI | |
|---|
System.int SuppressUnsuppressContactPair2(
& System.String^ SName,
& System.bool BSuppress
) |
Parameters
- SName
- Name of contact set (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