OpenSTAAD V8i

Geometry.GetNodeNumber

Returns the node number at specified coordinates

VB Syntax

Geometry.GetNodeNumber CoordX, CoordY, CoordZ 

Where:

CoordX, CoordY, CoordZ

Double variables of the X, Y, and Z nodal coordinates for which the node number is returned.

Return Value

A long variable containing the number of the node.

VB Example

 Dim objOpenSTAAD As Object
 Dim NodeNo As Long
 Dim CoordX As Double
 Dim CoordY As Double
 Dim CoordZ As Double
'Get the application object
'Get a node
 NodeNo = objOpenSTAAD.Geometry.GetNodeNumber CoordX, CoordY, CoordZ

Reference Materials

Geometry.GetNodeCount

Geometry.GetNodeList