Hide Table of Contents
GetReverseDirections2 Method (ICWRestraint)

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

.NET Syntax

Visual Basic (Declaration) 
Sub GetReverseDirections2( _
   ByRef BVal1 As System.Boolean, _
   ByRef BVal2 As System.Boolean, _
   ByRef BVal3 As System.Boolean, _
   ByRef BVal4 As System.Boolean, _
   ByRef BVal5 As System.Boolean, _
   ByRef 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.GetReverseDirections2(BVal1, BVal2, BVal3, BVal4, BVal5, BVal6)
C# 
void GetReverseDirections2( 
   out System.bool BVal1,
   out System.bool BVal2,
   out System.bool BVal3,
   out System.bool BVal4,
   out System.bool BVal5,
   out System.bool BVal6
)
C++/CLI 
void GetReverseDirections2( 
&   [Out] System.bool BVal1,
&   [Out] System.bool BVal2,
&   [Out] System.bool BVal3,
&   [Out] System.bool BVal4,
&   [Out] System.bool BVal5,
&   [Out] System.bool BVal6
) 

Parameters

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

Remarks

This method returns booleans or integers in out parameters BVal1-6, depending on their prior declarations.

If out parameters BVal1-6 are cast as:

  • Booleans, true or false is returned in each out parameter.
  • Longs or integers, -1 (=true) or 0 (=false) is returned in each out parameter.
 

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:   GetReverseDirections2 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.