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 System.Integer, _
   ByVal DispArray As System.Object, _
   ByVal NLocationUnits As System.Integer, _
   ByVal DXValue As System.Double, _
   ByVal DYValue As System.Double, _
   ByVal DZValue As System.Double, _
   ByRef ErrorCode As System.Integer _
) As CWRemoteLoad
Visual Basic (Usage) 
Dim instance As ICWLoadsAndRestraintsManager
Dim NLoadType As System.Integer
Dim DispArray As System.Object
Dim NLocationUnits As System.Integer
Dim DXValue As System.Double
Dim DYValue As System.Double
Dim DZValue As System.Double
Dim ErrorCode As System.Integer
Dim value As CWRemoteLoad
 
value = instance.AddRemoteLoad(NLoadType, DispArray, NLocationUnits, DXValue, DYValue, DZValue, ErrorCode)
C# 
CWRemoteLoad AddRemoteLoad( 
   System.int NLoadType,
   System.object DispArray,
   System.int NLocationUnits,
   System.double DXValue,
   System.double DYValue,
   System.double DZValue,
   out System.int ErrorCode
)
C++/CLI 
CWRemoteLoad^ AddRemoteLoad( 
&   System.int NLoadType,
&   System.Object^ DispArray,
&   System.int NLocationUnits,
&   System.double DXValue,
&   System.double DYValue,
&   System.double DZValue,
&   [Out] System.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) 2014 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.