OpenSTAAD V8i

Load.GetLoadType

Returns primary load case category(s) as an integer value.

VB Syntax

Load.GetLoadType PrimaryLoadCaseNumber 

Where:

PrimaryLoadCaseNumber

A variant (can be integer or long) variable that holds the primary load case number.

Return Value

Returns primary load case category(s) as one of the following integers:

  1. Dead
  2. Live
  3. Roof Live
  4. Wind
  5. Seismic
  6. Snow
  7. Fluids
  8. Soil
  9. Rain
  10. Ponding
  11. Dust
  12. Traffic
  13. Temp
  14. Imperfection
  15. Accidental
  16. Flood
  17. Ice
  18. Wind Ice
  19. Crane Hook
  20. Mass
  21. Gravity
  22. Push
  23. None (i.e., no load assigned in the input file)

VB Example

Dim lPrimaryLoadCaseCount as Long
Dim lLoadType() as Long
ReDim lLoadType(lPrimaryLoadCaseCount)
'Get the application object --
'Get Primary Load Case Types
For i = 0 to (lPrimaryLoadCaseCount - 1)
   lLoadType(i) = objOpenSTAAD.Load.GetLoadType(LoadCaseNo)
next i

Reference Materials

Load.GetLoadCaseTitle

Load.GetPrimaryLoadCaseCount

Load.GetPrimaryLoadCaseNumbers