OpenSTAAD V8i

Load.AddSelfWeightInXYZ

Adds SELFWEIGHT of the structure in X or Y or Z direction to the active load case.

VB Syntax

Load.AddSelfWeightInXYZ Direction, LoadFactor 

Where:

Direction

Integer variable giving the direction of selfweight:

1 = X direction

2 = Y direction

3 = Z direction

LoadFactor

Double variable providing the multiplying factor for selfweight.

For additional information, refer to Section 5.32.9 of the Technical Reference Manual.

Return Value

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

VB Example

'Get the application object --
'Add selfweight in negative Y direction
objOpenSTAAD.Load.AddSelfWeightInXYZ 2, -1.0