The Property assignment commands are used to assign and unassign properties to parts. The part and section modules must be imported to give access to the Property assignment commands.
import part import section
This method assigns a beam section orientation to a region of a part.
mdb.models[name].parts[name].assignBeamSectionOrientation
Required arguments
A sequence of geomSequences of Edge objects or a sequence of sequences of one-dimensional elements.
A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.
A sequence of three Floats specifying the approximate local -direction of the beam cross-section.
Optional arguments
Return value
Exceptions
This method assigns a material orientation to a region.
mdb.models[name].parts[name].assignMaterialOrientation
Required argument
A sequence of geomSequences of Vertex, Edge, Face, and Cell objects or a sequence of sequences of elements.
A Datum object specifying the local coordinate system or None, indicating the global coordinate system.
Optional arguments
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.
A Float specifying the angle of the additional rotation. The default value is 0.0.
Return value
Exceptions
This method assigns a rebar reference orientation to a region.
mdb.models[name].parts[name].assignRebarOrientation
Required argument
A sequence of geomSequences of Vertex, Edge, Face, and Cell objects or a sequence of sequences of elements.
A Datum object specifying the local coordinate system or None, indicating the global coordinate system.
Optional arguments
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.
A Float specifying the angle of the additional rotation. The default value is 0.0.
Return value
Exceptions
This method flips the normals of shell or membrane elements of an orphan mesh or of two-dimensional geometric regions.
mdb.models[name].parts[name].flipNormal
Required argument
A Region object specifying the region on which normals are flipped. For 3D parts, the region contains Face objects or two-dimensional triangle or quadrilateral Element objects. For axisymmetric parts, the region contains Edge objects or line Elements objects.
Optional argument
A two-dimensional element object whose normal is to be matched. If unspecified, all the normals associated with the given regions will be flipped. The referenceRegion argument is applicable only if the argument regions contain a sequence of quadrilateral or triangular elements.
Return value
Exceptions
This method flips the tangents of beam or truss elements of an orphan mesh or of one-dimensional geometric regions.
mdb.models[name].parts[name].flipTangent
Required argument
A Region object specifying the region on which normals are flipped. The region contains Edge objects or one-dimensional Element objects.
Optional arguments
Return value
Exceptions
This method deletes a beam section orientation assignment.
mdb.models[name].parts[name].unassignBeamSectionOrientation
Required argument
An Int specifying the number of the beam section orientation assignment to be deleted.
Optional arguments
Return value
Exceptions
This method deletes a material orientation assignment.
mdb.models[name].parts[name].unassignMaterialOrientation
Required argument
An Int specifying the number of the material assignment to be deleted.
Optional arguments
Return value
Exceptions
This method deletes a rebar orientation assignment.
mdb.models[name].parts[name].unassignRebarOrientation
Required argument
An Int specifying the number of the rebar reference orientation assignment to be deleted.
Optional arguments
Return value
Exceptions