_LoadCases

class _LoadCases(dll: SofDll)

Bases: object

The _LoadCases class provides methods and data structure to:

  • access and load the keys 12/LC of the CDB file

  • store these data in a convenient format

  • provide access to these data

Not all the information provided by SOFiSTiK are stored and therefore made available. In particular, the information loaded are:

  • Type of load case (key KIND)

  • Name of the load case (key RTEX)

  • SOFiSTiK source program (key NAME)

  • sum of the reaction forces (keys RX, RY and RZ)

  • load case factors (keys fact, factX, factY and factZ)

  • PLC number (key PLC)

  • theory (key THEO)

For details, please refer to SOFiHELP - CDBase.

clear(lc_nmb: int) None

Clear the values for the given load case number.

clear_all() None

Clear the values for all the load cases.

get_designation(load_case: int) str

Return the designation for the given load_case. An empty string is returned if the load_case is not found.

get_factors(load_case: int) ndarray[tuple[Any, ...], dtype[float64]]

Return the factors of the given load_case. A zero vector is returned if the load_case is not found.

get_kind(load_case: int) str

Return the kind of the given load_case. An empty string is returned if the load_case is not found.

get_name(load_case: int) str

Return the name of the given load_case. An empty string is returned if the load_case is not found.

get_plc(load_case: int) int

Return the number of the PLC for the given load_case. -1 is returned if the load_case is not found.

get_reactions(load_case: int) ndarray[tuple[Any, ...], dtype[float64]]

Return the sum of the reaction forces for the given load_case. A zero vector is returned if the load_case is not found.

get_theory(load_case: int) str

Return the theory for the given load_case. An empty string is returned if the the load_case is not found.

load(lc_nmb: int) None

Load information for given load cases (key 12/lc_nmb).

load_all() None

Load information for all the load cases (keys 12/LC).