OpenSTAAD V8i

Property.CreateTubePropertyFromTable

Creates tube property from database.

VB Syntax

Property.CreateTubePropertyFromTable Country, SectionName, TypeSpec, AddSpec_1, AddSpec_2, AddSpec_3 

Where:

Country

A Long variable providing the country code.

See "Country Codes " at the beginning of this section.

SectionName

String variable containing the name of the section.

TypeSpec

A Long variable providing the type specification.

See "Type Specification " at the beginning of this section.

AddSpec_1, AddSpec_2, AddSpec_3

Double variable providing additional information.

See "Additional Specifications " at the beginning of this section.

Return Value

A long value containing the reference number of the property created to be used to access the same.

VB Example

'Get the application object --
'Create property TUB30302.6 from Indian database
PropertyNo = objOpenSTAAD.Property.CreateTubePropertyFromTable _
( 10, " TUB30302.6", 0, 0.0, 0.0, 0.0 )
'0 = ST, no additional specification required
'Create user defined tube of 300mm x 200mm x 8mm
PropertyNo = objOpenSTAAD.Property.CreateTubePropertyFromTable _
( 10, " ", -1, 0.008, 0.3, 0.2 )
'-1 = User defined