OpenSTAAD V8i

Property.CreatePipePropertyFromTable

Creates pipe property from database.

VB Syntax

Property.CreatePipePropertyFromTable Country, SectionName, TypeSpec, AddSpec_1, AddSpec_2 

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

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 PIP1270.0M from Indian database
PropertyNo = objOpenSTAAD.Property.CreatePipePropertyFromTable _
( 10, " PIP1270.0M", 0, 0.0, 0.0 )
'0 = ST, no additional specification required
'Create user defined tube of OD 300mm and ID 280mm
PropertyNo = objOpenSTAAD.Property.CreatePipePropertyFromTable _
( 10, " ", -1, 0.3, 0.28 )
'-1 = User defined