new LoadCombination(combination_factors)
Creates an instance of the SkyCiv LoadCombination class.
Parameters:
Name | Type | Description |
---|---|---|
combination_factors |
LoadCombinationObject |
Key value pairs for the factors to apply to the load groups. |
Extends
Methods
(static) set(name, combination_factors)
Set individual properties of the LoadCombination object.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
The name of the load combination. |
combination_factors |
LoadCombinationObject |
An object of key value pairs. |
Example
const lc = new LoadCombination();
const factors = {
SW: 1,
windCase: 1,
liveLoad: 1.5
}
lc.clearAll() // To remove any existing factors.
lc.set(name, factors)
Type Definitions
LoadCombinationObject :Object
Apply factors to each load group. SW is required, all other properties added are optional but should match the load group names.
Properties:
Name | Type | Description |
---|---|---|
SW |
number |
Load factor for the Self Weight (SW) load group. |