Hide Table of Contents
AddRemoteLoad Method (ICWLoadsAndRestraintsManager)

Creates a remote load of the specified type at the specified location.

.NET Syntax

Visual Basic (Declaration) 
Function AddRemoteLoad( _
   ByVal NLoadType As Integer, _
   ByVal DispArray As Object, _
   ByVal NLocationUnits As Integer, _
   ByVal DXValue As Double, _
   ByVal DYValue As Double, _
   ByVal DZValue As Double, _
   ByRef ErrorCode As Integer _
) As CWRemoteLoad
Visual Basic (Usage) 
Dim instance As ICWLoadsAndRestraintsManager
Dim NLoadType As Integer
Dim DispArray As Object
Dim NLocationUnits As Integer
Dim DXValue As Double
Dim DYValue As Double
Dim DZValue As Double
Dim ErrorCode As Integer
Dim value As CWRemoteLoad
 
value = instance.AddRemoteLoad(NLoadType, DispArray, NLocationUnits, DXValue, DYValue, DZValue, ErrorCode)
C# 
CWRemoteLoad AddRemoteLoad( 
   int NLoadType,
   object DispArray,
   int NLocationUnits,
   double DXValue,
   double DYValue,
   double DZValue,
   out int ErrorCode
)
C++/CLI 
CWRemoteLoad^ AddRemoteLoad( 
&   int NLoadType,
&   Object^ DispArray,
&   int NLocationUnits,
&   double DXValue,
&   double DYValue,
&   double DZValue,
&   [Out] int ErrorCode
) 

Parameters

NLoadType
Type of restraint or load as defined in swsRemoteLoadType_e
DispArray

If NLoadType is ... Then DispArray is an array of ...

swsRemoteLoadType_e.swsRemoteLoadType_RigidLoadOrMass

- or -

swsRemoteLoadType_e.swsRemoteLoadType_RigidDisplacement 

Faces, edges, or vertices

swsRemoteLoadType_e.swsRemoteLoadType_DirectLoad

- or -

swsRemoteLoadType_e.swsRemoteLoadType_DirectDisplacement 

Faces

NLocationUnits
Units as defined in swsLinearUnit_e
DXValue
X-coordinate of the point of application of the remote load 
DYValue
Y-coordinate of the point of application of the remote load 
DZValue
Z-coordinate of the point of application of the remote load 
ErrorCode

Error code as defined in swsLoadsAndRestraintsError_e

Return Value

ICWRemoteLoad

Example

 

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:   AddRemoteLoad Method (ICWLoadsAndRestraintsManager)
*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.