OpenSTAAD V8i

Geometry.AddNode

This function adds a node in the structure.

VB Syntax

Geometry.AddNodeCoordX, CoordY, CoordZ

Where:

CoordX, CoordY, CoordZ

Double variables providing the nodal coordinates X, Y and Z of the NodeNo.

Return Value

(Boolean) True (1) if the function is successful, false (0) otherwise.

VB Example

 Dim objOpenSTAAD As Object
 Dim CoordX As Double
 Dim CoordY As Double
 Dim CoordZ As Double
'Get the application object
 Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
 CoordX = 3.0
 CoordY = 2.0
 CoordZ = 3.0
'Add a node (3.0, 2.0, 3.0)
 objOpenSTAAD.Geometry.AddNode CoordX, CoordY, CoordZ

Reference Materials

Geometry.CreateNode

Geometry.AddMultipleNodes