Gets the coordinates of an element's center.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetElementLocation( _
ByVal NNodeNo As System.Integer, _
ByRef XVal As System.Double, _
ByRef YVal As System.Double, _
ByRef ZVal As System.Double _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWMesh
Dim NNodeNo As System.Integer
Dim XVal As System.Double
Dim YVal As System.Double
Dim ZVal As System.Double
Dim value As System.Integer
value = instance.GetElementLocation(NNodeNo, XVal, YVal, ZVal) |
C# | |
---|
System.int GetElementLocation(
System.int NNodeNo,
out System.double XVal,
out System.double YVal,
out System.double ZVal
) |
C++/CLI | |
---|
System.int GetElementLocation(
& System.int NNodeNo,
& [Out] System.double XVal,
& [Out] System.double YVal,
& [Out] System.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