Hide Table of Contents
SetMomentOrRotationValues2 Method (ICWRemoteLoad)

Sets the components of moment or rotation for this remote load.

.NET Syntax

Visual Basic (Declaration) 
Sub SetMomentOrRotationValues2( _
   ByVal BInclude As System.Boolean, _
   ByVal BXValue As System.Boolean, _
   ByVal DXValue As System.Double, _
   ByVal BYValue As System.Boolean, _
   ByVal DYValue As System.Double, _
   ByVal BZValue As System.Boolean, _
   ByVal DZValue As System.Double _
) 
Visual Basic (Usage) 
Dim instance As ICWRemoteLoad
Dim BInclude As System.Boolean
Dim BXValue As System.Boolean
Dim DXValue As System.Double
Dim BYValue As System.Boolean
Dim DYValue As System.Double
Dim BZValue As System.Boolean
Dim DZValue As System.Double
 
instance.SetMomentOrRotationValues2(BInclude, BXValue, DXValue, BYValue, DYValue, BZValue, DZValue)
C# 
void SetMomentOrRotationValues2( 
   System.bool BInclude,
   System.bool BXValue,
   System.double DXValue,
   System.bool BYValue,
   System.double DYValue,
   System.bool BZValue,
   System.double DZValue
)
C++/CLI 
void SetMomentOrRotationValues2( 
&   System.bool BInclude,
&   System.bool BXValue,
&   System.double DXValue,
&   System.bool BYValue,
&   System.double DYValue,
&   System.bool BZValue,
&   System.double DZValue
) 

Parameters

BInclude
-1 or true to include moment or rotation in the remote load, 0 or false to not
BXValue
-1 or true to set the value in the x direction, 0 or false to not
DXValue
Moment or rotation in the x direction; valid only if BXValue = -1
BYValue
-1 or true to set the value in the y direction, 0 or false to not
DYValue
Moment or rotation in the y direction; valid only if BYValue = -1
BZValue
-1 or true to set the value in the z direction, 0 or false to not
DZValue
Moment or rotation in the z direction; valid only if BZValue = -1

Remarks

This method is valid only if ICWRemoteLoad::AllowDistributedCoupling2 returns 0 or false (i.e., for frequency, buckling, nonlinear dynamic, or linear dynamic studies). If ICWRemoteLoad::AllowDistributedCoupling2 returns -1 or true (i.e., for linear static, topology, or nonlinear static studies), use ICWRemoteLoad::SetMomentOrRotationValuesEx2 instead of this method.

 

This method sets components of ... If ICWRemoteLoad::LoadType is ...
Moment

swsRemoteLoadType_e.swsRemoteLoadType_DirectLoad

- or -

swsRemoteLoadType_e.swsRemoteLoadType_RigidLoadOrMass 

Rotation

swsRemoteLoadType_e.swsRemoteLoadType_RigidDisplacement

- or -

swsRemoteLoadType_e.swsRemoteLoadType_DirectDisplacement

 

 

See Also

Availability

SOLIDWORKS 2022 FCS, Revision Number 30


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:   SetMomentOrRotationValues2 Method (ICWRemoteLoad)
*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) 2022 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.