set_prestress

Set prestress.

Parameters

shapes : Shape | ShapeList
Shapes. Must be 'edge'.
force : float
Prestressing force in kN.

Examples

sel = model.select([0,3], types='edge')
model.set_prestress(shapes=sel, force=50)