AutoConstraintHandler
AutoConstraintHandler
AutoConstraintHandler(verbose: bool = False, auto_penalty: Optional[float] = None, user_penalty: Optional[float] = None)
Bases: ConstraintHandler
Automatic constraint handler.
AutoConstraintHandler automatically selects appropriate penalty numbers for compatibility constraints based on the surrounding structural stiffness elements.
Tcl form
constraints Auto [-verbose] [-autoPenalty <value>] [-userPenalty <value>]
Example
Create an Auto constraint handler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
verbose
|
bool
|
If True, outputs diagnostic selection steps. |
False
|
auto_penalty
|
Optional[float]
|
Optional automatic penalty scaling value. |
None
|
user_penalty
|
Optional[float]
|
Optional user override penalty value. |
None
|