Hide Table of Contents
SetMomentComponentValues2 Method (ICWForce)

Sets the moment values.

.NET Syntax

Visual Basic (Declaration) 
Sub SetMomentComponentValues2( _
   ByVal B1 As System.Boolean, _
   ByVal B2 As System.Boolean, _
   ByVal B3 As System.Boolean, _
   ByVal D1 As System.Double, _
   ByVal D2 As System.Double, _
   ByVal D3 As System.Double _
) 
Visual Basic (Usage) 
Dim instance As ICWForce
Dim B1 As System.Boolean
Dim B2 As System.Boolean
Dim B3 As System.Boolean
Dim D1 As System.Double
Dim D2 As System.Double
Dim D3 As System.Double
 
instance.SetMomentComponentValues2(B1, B2, B3, D1, D2, D3)
C# 
void SetMomentComponentValues2( 
   System.bool B1,
   System.bool B2,
   System.bool B3,
   System.double D1,
   System.double D2,
   System.double D3
)
C++/CLI 
void SetMomentComponentValues2( 
&   System.bool B1,
&   System.bool B2,
&   System.bool B3,
&   System.double D1,
&   System.double D2,
&   System.double D3
) 

Parameters

B1

-1 or true to set moment along plane dir 1, 0 or false to not (see Remarks)

B2
-1 or true to set moment along plane dir 2, 0 or false to not (see Remarks)
B3
-1 or true to set moment along the normal to plane, 0 or false to not (see Remarks)
D1
Moment about plane dir 1
D2
Moment about plane dir 2
D3
Moment about normal to plane

Remarks

This method is valid only for models with beam elements and if ICWForce::ForceType is set to swsForceType_e.swsForceTypeForceOrMoment.

Specify booleans or integers in parameters B1, B2, and B3: 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:   SetMomentComponentValues2 Method (ICWForce)
*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.