The TwoPointSpringDashpot object defines springs and/or dashpots between two points on a part or an assembly.
The TwoPointSpringDashpot object is derived from the SpringDashpot object.
import part mdb.models[name].parts[name].engineeringFeatures.springDashpots[name] import assembly mdb.models[name].rootAssembly.engineeringFeatures.springDashpots[name]
This method creates a TwoPointSpringDashpot object.
mdb.models[name].parts[name].engineeringFeatures.TwoPointSpringDashpot mdb.models[name].rootAssembly.engineeringFeatures\ .TwoPointSpringDashpot
Required arguments
A String specifying the repository key.
A sequence of pairs of Region objects specifying the points between which the springs and/or dashpots are applied.
A SymbolicConstant specifying whether the axis of the springs and/or dashpots follows the rotation of the nodes or is in a specified direction. Possible values are NODAL_LINE and FIXED_DOF.
Optional arguments
An Int specifying the degree of freedom with which the springs and/or dashpots are associated at their first points. The dof1 argument applies only when axis=FIXED_DOFS. The default value is 0.
An Int specifying the degree of freedom with which the springs and/or dashpots are associated at their second points. The dof2 argument applies only when axis=FIXED_DOFS. The default value is 0.
None or a DatumCsys object specifying the local directions for the spring and/or dashpot. If orientation=None, the spring and/or dashpot data are defined in the global coordinate system. The default value is None.
The orientation argument applies only when axis=FIXED_DOFS.
A Boolean specifying whether to apply spring behavior to the selected point pairs. The default value is OFF.
At least one of the arguments springBehavior=ON or dashpotBehavior=ON must be specified.
A Boolean specifying whether to apply dashpot behavior to the selected point pairs. The default value is OFF.
At least one of the arguments springBehavior=ON or dashpotBehavior=ON must be specified.
A Float specifying the force per relative displacement for the springs. The default value is 0.0.
A Float specifying the force per relative velocity for the dashpots. The default value is 0.0.
Return value
A TwoPointSpringDashpot object.
Exceptions
This method modifies the TwoPointSpringDashpot object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the TwoPointSpringDashpot method, except for the name argument.
Return value
Exceptions
The TwoPointSpringDashpot object has members with the same names and descriptions as the arguments to the TwoPointSpringDashpot method.
In addition, the TwoPointSpringDashpot object has the following member:
A Boolean specifying whether the spring/dashpot is suppressed or not. The default value is OFF.