set_line_load

Add line load.

Parameters

shapes : Shape | ShapeList
Shapes to apply the load to.
value : float | ParameterMap | Gradient
Load magnitude in kN/m.
direction : str
Load direction. direction = 'x' or 'y' or 'z'.
option : str
Load option. option = 'fixed' or 'multiplier'.
coordinate_system : Csys or str
Coordinate system to define the load direction.
load_type : str
Load type. load_type = 'unfavourable' or 'favourable'.
load_category : str
Safety factor category.
load_variation : str
Load variation. load_variation = 'constant' or 'linear'.
magnitude : list[float]
Linear variation endpoint values [p1, p2].
location : list[list[float]]
Anchor point coordinates [[x1,y1,z1], [x2,y2,z2]].

Examples

sel = model.select([3,3,0], types='edge')
feature = model.set_line_load(shapes=sel, value=-10, direction='z', option='multiplier')