Hide Table of Contents
SetReverseDirections2 Method (ICWRestraint)

Sets whether to reverse the translation and rotation component directions for this restraint.

.NET Syntax

Visual Basic (Declaration) 
Sub SetReverseDirections2( _
   ByVal BVal1 As System.Boolean, _
   ByVal BVal2 As System.Boolean, _
   ByVal BVal3 As System.Boolean, _
   ByVal BVal4 As System.Boolean, _
   ByVal BVal5 As System.Boolean, _
   ByVal BVal6 As System.Boolean _
) 
Visual Basic (Usage) 
Dim instance As ICWRestraint
Dim BVal1 As System.Boolean
Dim BVal2 As System.Boolean
Dim BVal3 As System.Boolean
Dim BVal4 As System.Boolean
Dim BVal5 As System.Boolean
Dim BVal6 As System.Boolean
 
instance.SetReverseDirections2(BVal1, BVal2, BVal3, BVal4, BVal5, BVal6)
C# 
void SetReverseDirections2( 
   System.bool BVal1,
   System.bool BVal2,
   System.bool BVal3,
   System.bool BVal4,
   System.bool BVal5,
   System.bool BVal6
)
C++/CLI 
void SetReverseDirections2( 
&   System.bool BVal1,
&   System.bool BVal2,
&   System.bool BVal3,
&   System.bool BVal4,
&   System.bool BVal5,
&   System.bool BVal6
) 

Parameters

BVal1
-1 or true to reverse plane direction 1, 0 or false to not; valid only if BVal1 of ICWRestraint::GetTranslationComponentsValues2 is set to -1 or true (see Remarks)
BVal2
-1 or true to reverse plane direction 2, 0 or false to not; valid only if BVal2 of ICWRestraint::GetTranslationComponentsValues2 is set to -1 or true (see Remarks)
BVal3
-1 or true to reverse the normal to the plane, 0 or false to not; valid only if BVal3 of ICWRestraint::GetTranslationComponentsValues2 is set to -1 or true (see Remarks)
BVal4
-1 or true to reverse radial direction, 0 or false to not; valid only if BVal1 of ICWRestraint::GetRotationComponentsValues2 is set to -1 or true (see Remarks)
BVal5
-1 or true to reverse circumferential direction, 0 or false to not; valid only if BVal2 of ICWRestraint::GetRotationComponentsValues2 is set to -1 or true (see Remarks)
BVal6
-1 or true to reverse axial direction, 0 or false to not; valid only if BVal3 of ICWRestraint::GetRotationComponentsValues2 is set to -1 or true (see Remarks)

Remarks

Specify booleans or integers in parameters BVal1-6: true = -1 and false = 0.

 

See Also

Availability

SOLIDWORKS Simulation API 2021 SP04


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SetReverseDirections2 Method (ICWRestraint)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2021 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.