The RetainedNodalDofsBC object stores the data for a retained nodal dofs boundary condition.
The RetainedNodalDofsBC object is derived from the BoundaryCondition object.
import load mdb.models[name].boundaryConditions[name]
This method creates a RetainedNodalDofsBC object.
mdb.models[name].RetainedNodalDofsBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A Boolean specifying whether to retain the degree of freedom in the 1-direction. The default value is OFF indicating that the degree of freedom is not retained.
A Boolean specifying whether to retain the degree of freedom in the 2-direction. The default value is OFF indicating that the degree of freedom is not retained.
A Boolean specifying whether to retain the degree of freedom in the 3-direction. The default value is OFF indicating that the degree of freedom is not retained.
A Boolean specifying whether to retain the rotational degree of freedom about the 1-direction. The default value is OFF indicating that the degree of freedom is not retained.
A Boolean specifying whether to retain the rotational degree of freedom about the 2-direction. The default value is OFF indicating that the degree of freedom is not retained.
A Boolean specifying whether to retain the rotational degree of freedom about the 3-direction. The default value is OFF indicating that the degree of freedom is not retained.
Return value
A RetainedNodalDofsBC object.
Exceptions
This method modifies the data for an existing RetainedNodalDofsBC object in the step where it is created.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the RetainedNodalDofsBC method, except for the name and createStepName arguments.
Return value
Exceptions
This method modifies the propagating data for an existing RetainedNodalDofsBC object in the specified step.
Required argument
A String specifying the name of the step in which the boundary condition is modified.
Optional arguments
A Boolean specifying whether to retain the degree of freedom in the 1-direction.
A Boolean specifying whether to retain the degree of freedom in the 2-direction.
A Boolean specifying whether to retain the degree of freedom in the 3-direction.
A Boolean specifying whether to retain the rotational degree of freedom about the 1-direction.
A Boolean specifying whether to retain the rotational degree of freedom about the 2-direction.
A Boolean specifying whether to retain the rotational degree of freedom about the 3-direction.
Return value
Exceptions
The RetainedNodalDofsBC object can have the following members:
A String specifying the boundary condition repository key.
A SymbolicConstant specifying the category of the boundary condition. Possible values are MECHANICAL and THERMAL.
A Region object specifying the region to which the boundary condition is applied.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.