The following commands operate on Feature objects. For more information about the Feature object, see “Feature object,” Section 20.1.
import assembly
This method creates a Feature object by creating attachment lines between the given set of source and target faces. The given points are first projected onto the source faces using the specified projection method. The points are then projected normal to the source faces onto the target faces. The user can specify the number of projections or the length of projection vector for projection onto the target faces. The lines are then created between the source face and the closest target face. Subsequent lines are created between the target faces.
mdb.models[name].rootAssembly.AttachmentLines
Required arguments
A String specifying a unique Feature name.
A tuple of points. Each point can be a Vertex, Datum point, Reference point, an Attachment point, orphan mesh Node, or an Interesting point object.
A sequence of Face objects specifying the geometry faces onto which the points are to be projected.
A sequence of MeshFace objects specifying the orphan mesh element faces onto which the points are to be projected.
A sequence of Face objects specifying the geometry faces on which the attachment lines will terminate.
A sequence of MeshFace objects specifying the orphan mesh element faces on which the attachment lines will terminate.
Optional arguments
A SymbolicConstant specifying the method to be used to project onto source faces. Possible values are PROJECT_BY_PROXIMITY and PROJECT_BY_DIRECTION. The default value is PROJECT_BY_PROXIMITY.
A point specifying the start point of the projection direction to project onto source faces. The point can be a Vertex, Datum point, Reference point, Attachment point, orphan mesh Node, Interesting Point object, or a tuple of Floats representing the coordinates of a point.
A point specifying the end point of the projection direction to project onto source faces. The point can be a Vertex, Datum point, Reference point, Attachment point, orphan mesh Node, Interesting point object, or a tuple of Floats representing the coordinates of a point.
A SymbolicConstant specifying the method to be used to project onto target faces. Possible values are PROJECT_BY_NUMBER and PROJECT_BY_DISTANCE. The default value is PROJECT_BY_NUMBER.
An integer specifying the maximum number of layers each point should be projected onto when the source to target projection method is PROJECT_BY_NUMBER.
A float specifying the maximum distance of the projection vector when the source to target projection method is PROJECT_BY_DISTANCE.
A Boolean specifying whether the computed projection direction from the source to the target faces should be flipped.
A String specifying a unique set name.
Return value
A Feature object.
Exceptions
This method moves an instance so that its selected face is coaxial with the selected face of a fixed instance.
mdb.models[name].rootAssembly.Coaxial
Required arguments
A cylindrical or conical Face on the part instance to be moved.
A cylindrical or conical Face on the part instance that remains fixed.
A Boolean specifying whether the axes are forward aligned (OFF) or reverse aligned (ON).
Optional arguments
Return value
A Feature object.
Exceptions
AbaqusException.
This method moves an instance so that a specified point is coincident with a specified point of a fixed instance.
mdb.models[name].rootAssembly.CoincidentPoint
Required arguments
A Vertex, a Datum point, or a ReferencePoint or a mesh node from an orphan mesh on the part instance to be moved.
A Vertex, a Datum point, or a ReferencePoint or a mesh node from an orphan mesh on the part instance to remain fixed.
Optional arguments
Return value
A Feature object.
Exceptions
This method moves an instance so that its edge is parallel to an edge of a fixed instance.
mdb.models[name].rootAssembly.EdgeToEdge
Required arguments
A straight Edge, a Datum axis, or an element edge from an orphan mesh on the part instance to be moved.
A straight Edge, a Datum axis, or an element edge from an orphan mesh on the part instance to remain fixed.
A Boolean specifying whether the edges are forward aligned (OFF) or reverse aligned (ON).
A Float specifying the distance between the two edges (for two-dimensional and axisymmetric instances only).
Optional arguments
Return value
A Feature Object.
Exceptions
AbaqusException.
This method moves an instance so that its face is coincident with a face of a fixed instance.
mdb.models[name].rootAssembly.FaceToFace
Required arguments
A planar face, a Datum plane, or a face from an orphan mesh on the part instance to be moved.
A planar face, a Datum plane, or a face from an orphan mesh on the part instance to remain fixed.
A Boolean specifying whether the normals to the faces are forward aligned (OFF) or reverse aligned (ON).
A Float specifying the distance between the two faces.
Optional arguments
Return value
A Feature Object.
Exceptions
AbaqusException.
This method moves an instance so that its Datum coordinate system is parallel to a Datum coordinate system of a fixed instance.
mdb.models[name].rootAssembly.ParallelCsys
Required arguments
A Datum coordinate system on the part instance to be moved.
A Datum coordinate system on the part instance to remain fixed.
Optional arguments
Return value
A Feature object.
Exceptions
AbaqusException.
This method moves an instance so that its edge is parallel to an edge of a fixed instance.
mdb.models[name].rootAssembly.ParallelEdge
Required arguments
A straight Edge, a Datum axis, or an element edge from an orphan mesh on the part instance to be moved.
A straight Edge, a Datum axis, or an element edge from an orphan mesh on the part instance to remain fixed.
A Boolean specifying whether the edges are forward aligned (OFF) or reverse aligned (ON).
Optional arguments
Return value
A Feature object.
Exceptions
AbaqusException.
This method moves an instance so that its face is parallel to a face of a fixed instance.
mdb.models[name].rootAssembly.ParallelFace
Required arguments
A planar face, a Datum plane, or a face from an orphan mesh on the part instance to be moved.
A planar face, a Datum plane, or a face from an orphan mesh on the part instance to remain fixed.
A Boolean specifying whether the normals to the faces are forward aligned (OFF) or reverse aligned (ON).
Optional arguments
Return value
A Feature object.
Exceptions
AbaqusException.