OpenSTAAD V8i

Geometry.CreateSolid

This function adds a plate in the structure between existing nodes. The difference between CreateSolid and AddSolid is the former has an option to label the solid with any user-defined number.

VB Syntax

Geometry.CreateSolid nSolidNo, NodeA, NodeB, NodeC, NodeD, NodeE, NodeF, NodeG, NodeHGeometry.CreateSolid nSolidNo, NodeA, NodeB, NodeC, NodeD, NodeE, NodeF

Where:

nSolidNo

A long variable containing the number to assign the newly created solid.

NodeA, NodeB, NodeC, NodeD, NodeE, NodeF, NodeG, NodeH

Long variables, provide solid element connectivity.

VB Example

 Dim objOpenSTAAD As Object
 Dim NodeA As Long
 Dim NodeB As Long
 Dim NodeC As Long
 Dim NodeD As Long
 Dim NodeE As Long
 Dim NodeF As Long
 Dim NodeG As Long
 Dim NodeH As Long
'Get the application object --
'Add a solid connected between nodes 2, 4, 5, 6 and 9, 10, 11, 12. Call it Solid '# 99
 NodeA = 2
 NodeB = 4
 NodeC = 5
 NodeD = 6
 NodeE = 9
 NodeF = 10
 NodeG = 11
 NodeH = 12
 objOpenSTAAD.Geometry.CreateSolid 99, NodeA, NodeB, NodeC, NodeD _
 NodeE, NodeF, NodeG, NodeH

Reference Materials

Geometry.AddSolid

Geometry.AddMultipleSolids