Hide Table of Contents
GetElementDataFromEntity Method (ICWMesh)

Gets the element associated with an entity.

.NET Syntax

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

 

where:

  • E1 = 1st element number
  • N1E1 to N10E1 = Node numbers associated with element E1. There is provision for 10 values for node numbers to accommodate high order solid elements. For shell and lower order mesh, it returns -1 where not applicable.
  • X1, Y1, Z1 = x, y and z coordinates of element's center
  • AR1  = Aspect ratio for element E1
  • JR1  = Jacobian ratio for element E1 (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) 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.