Hide Table of Contents
SetForceOrTranslationValues Method (ICWRemoteLoad)

Sets the components of force or translation for this remote load.

.NET Syntax

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

Parameters

BInclude
1 to include force or translation in the remote load, 0 to not (see Remarks)
BXValue
1 to set the value in the x direction, 0 to not
DXValue
Force or translation in the x direction; valid only if BXValue = 1
BYValue
1 to set the value in the y direction, 0 to not
DYValue
Force or translation in the y direction; valid only if BYValue = 1
BZValue
1 to set the value in the z direction, 0 to not
DZValue
Force or translation in the z direction; valid only if BZValue = 1

Remarks

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

swsRemoteLoadType_e.swsRemoteLoadType_DirectLoad

- or -

swsRemoteLoadType_e.swsRemoteLoadType_RigidLoadOrMass

Translation

swsRemoteLoadType_e.swsRemoteLoadType_RigidDisplacement

- or -

swsRemoteLoadType_e.swsRemoteLoadType_RigidLoadOrMass

 

See Also

Availability

SolidWorks Simulation API 2012 SP0


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:   SetForceOrTranslationValues 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) 2012 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.