Gets the coordinates of an element's center.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetElementLocation( _
ByVal NNodeNo As Integer, _
ByRef XVal As Double, _
ByRef YVal As Double, _
ByRef ZVal As Double _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWMesh
Dim NNodeNo As Integer
Dim XVal As Double
Dim YVal As Double
Dim ZVal As Double
Dim value As Integer
value = instance.GetElementLocation(NNodeNo, XVal, YVal, ZVal)
|
C++/CLI | |
---|
int GetElementLocation(
& int NNodeNo,
& [Out] double XVal,
& [Out] double YVal,
& [Out] double ZVal
) |
Parameters
- NNodeNo
- Element number
- XVal
- X coordinate of the element's center
- YVal
- Y coordinate of the element's center
- ZVal
- Z coordinate of the element's center
Return Value
Error as defined in swsMeshElementNodeLocation_e
See Also
Availability
SolidWorks Simulation API 2008 SP1.0