Hide Table of Contents
GetElementDataFromEntity Method (ICWMesh)

Gets the element associated with an entity.

.NET Syntax

Visual Basic (Declaration) 
Function GetElementDataFromEntity( _
   ByVal DispEntity As System.Object, _
   ByRef NCount As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICWMesh
Dim DispEntity As System.Object
Dim NCount As System.Integer
Dim value As System.Object
 
value = instance.GetElementDataFromEntity(DispEntity, NCount)
C# 
System.object GetElementDataFromEntity( 
   System.object DispEntity,
   out System.int NCount
)
C++/CLI 
System.Object^ GetElementDataFromEntity( 
&   System.Object^ DispEntity,
&   [Out] System.int NCount
) 

Parameters

DispEntity

Entity

NCount
Number of elements

Return Value

Array of element data (see Remarks)

Remarks

Array of element data:

 

[

 

     E1, N1E1, N2E1, N3E1, N4E1, N5E1, N6E1, N7E1, N8E1, N9E1, N10E1, X1, Y1, Z1, AR1, JR1,

     E2, N1E2, N2E2, N3E2, N4E2, N5E2, N6E2, N7E2, N8E2, N9E2, N10E2, X2, Y2, Z2, AR2, JR2,

     ...,

     Ei, N1Ei, N2Ei, N3Ei, N4Ei, N5Ei, N6Ei, N7Ei, N8Ei, N9Ei, N10Ei, Xi, Yi, Zi, ARi, JRi

 

]

 

where:

  • Ei = ith element number
  • N1Ei to N10Ei = Node numbers associated with element Ei; returns 10 node numbers for higher order solid elements; returns -1 for shells and lower order meshes.
  • Xi, Yi, Zi = x, y and z coordinates of center of Ei 
  • ARi  = Aspect ratio for element Ei
  • JRi  = Jacobian ratio for element Ei; returns -1 if not applicable
 

See Also

Availability

SOLIDWORKS Simulation API 2008 SP1.0


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:   GetElementDataFromEntity Method (ICWMesh)
*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.