Edit Mesh#

Edit mesh commands are used to edit an orphan mesh part or part instance or an Abaqus native mesh.

Object features#

Edit mesh features of Assembly#

class MeshEditAssembly[source]#

An Assembly object is a container for instances of parts. The Assembly object has no constructor command. Abaqus creates the rootAssembly member when a Model object is created.

Notes

This object can be accessed by:

import assembly
mdb.models[name].rootAssembly

Methods

collapseMeshEdge(edge, collapseMethod)

This method collapses an edge of a quadrilateral or triangular element of a part instance.

combineElement(elements)

This method combines two triangular elements of a part instance.

deleteElement(elements[, ...])

This method deletes the given elements from a part instance.

editNode(nodes[, coordinate1, coordinate2, ...])

This method changes the coordinates of the given nodes on a part instance.

generateMeshByOffset(region, meshType, ...)

This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.

projectNode(nodes, projectionReference)

This method projects the given nodes of a part instance onto a mesh entity, geometric entity, or a datum object.

redoMeshEdit()

This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an assembly.

splitElement(elements)

This method splits quadrilateral elements into triangular elements.

splitMeshEdge(edge[, parameter])

This method splits an edge of a quadrilateral or triangular element of a part instance.

swapMeshEdge(edge)

This method swaps the diagonal of two adjacent triangular elements of a part instance.

undoMeshEdit()

This method undoes the most recent edit mesh or the bottom-up meshing operation on an assembly and restores the mesh on the affected part instance to its previous state.

mergeNodes

collapseMeshEdge(edge: str, collapseMethod: SymbolicConstantType)[source]#

This method collapses an edge of a quadrilateral or triangular element of a part instance.

Parameters:
edge

A single MeshEdge object specifying the element edge to collapse.

collapseMethod

A SymbolicConstant specifying the method used to collapse the edge. Possible values are FORWARD, REVERSE, and AVERAGE.

combineElement(elements: tuple)[source]#

This method combines two triangular elements of a part instance.

Parameters:
elements

A sequence of triangular MeshElement objects specifying the elements to combine.

deleteElement(elements: tuple[MeshElement], deleteUnreferencedNodes: BooleanType = 0)[source]#

This method deletes the given elements from a part instance. The elements must have been generated using the bottom-up meshing technique.

Parameters:
elements

A sequence of MeshElement objects or a Set object containing elements.

deleteUnreferencedNodes

A Boolean specifying whether to delete all those associated nodes that become unreferenced after the given elements are deleted. The default value is OFF.

editNode(nodes: tuple[abaqus.Mesh.MeshNode.MeshNode], coordinate1: float | None = None, coordinate2: float | None = None, coordinate3: float | None = None, coordinates: tuple = (), offset1: float | None = None, offset2: float | None = None, offset3: float | None = None, localCsys: ~abaqus.Datum.DatumCsys.DatumCsys = <abaqus.Datum.DatumCsys.DatumCsys object>, projectToGeometry: ~abaqusConstants.BooleanType = 1)[source]#

This method changes the coordinates of the given nodes on a part instance.

Parameters:
nodes

A sequence of MeshNode objects or a Set object containing nodes.

coordinate1

A Float specifying the value of the first coordinate. If coordinate1 and offset1 are unspecified, the existing value does not change.

coordinate2

A Float specifying the value of the second coordinate. If coordinate2 and offset2 are unspecified, the existing value does not change.

coordinate3

A Float specifying the value of the third coordinate. If coordinate3 and offset3 are unspecified, the existing value does not change.

coordinates

A sequence of three-dimensional coordinate tuples specifying the coordinates for each of the given nodes. When specified, the number of coordinate tuples must match the number of given nodes, and be ordered to correspond to the given nodes in ascending order according to index. Furthermore, coordinate1, coordinate2, coordinate3, offset1, offset2, or offset3 may not be specified.

offset1

A Float specifying an offset to apply to the value of the first coordinate of the specified nodes.

offset2

A Float specifying an offset to apply to the value of the second coordinate of the specified nodes.

offset3

A Float specifying an offset to apply to the value of the third coordinate of the specified nodes.

localCsys

A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

projectToGeometry

A Boolean specifying whether to project nodes back to their original geometry. For example, if a node is on a face, this method first positions the node at the new location and then projects it back to the original face. The default value is ON.

Raises:
A coordinate and an offset may not both be specified for the same coordinate component.
generateMeshByOffset(region: Region, meshType: str, totalThickness: float, distanceBetweenLayers: float, numLayers: int, offsetDirection: str = 'OUTWARD', initialOffset: float = 0.0, shareNodes: str = False, deleteBaseElements: BooleanType = False, constantThicknessCorners: BooleanType = False, extendElementSets: BooleanType = False)[source]#

This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.

Parameters:
region

A Region object specifying the domain to be offset.

meshType

A Symbolic Constant specifying the type of mesh to be generated. Possible values are SOLID or SHELL.

totalThickness

A Float specifying the total thickness of the solid layers. This argument applies only when *meshType*=SOLID.

distanceBetweenLayers

A Float specifying the distance between shell layers. This argument applies only when *meshType*=SHELL.

numLayers

An Int specifying the number of element layers to be generated.

offsetDirection

A Symbolic Constant specifying the direction of the offset. This argument is required only when the given region relates to a shell mesh. Possible values are OUTWARD, INWARD, and BOTH. The default value is OUTWARD.

initialOffset

A Float specifying the magnitude of the initial offset. The default value is zero.

shareNodes

Boolean specifying whether the first layer of nodes should be shared with nodes on the base surface. The default value is False.

deleteBaseElements

A Boolean specifying whether to delete the shell elements after the offset layers are generated. The default value is False. This argument applies only when *meshType*=SHELL.

constantThicknessCorners

A Boolean specifying whether to use element-based thickness or nodal-based thickness. The default value is False.

extendElementSets

A Boolean specifying whether existing element sets that include base elements will be extended to include corresponding offset elements. The default value is False.

projectNode(nodes: tuple[MeshNode], projectionReference: str)[source]#

This method projects the given nodes of a part instance onto a mesh entity, geometric entity, or a datum object.

Parameters:
nodes

A sequence of MeshNode objects to be projected.

projectionReference

An object specifying the target for the node projection operation. The projectionReference can be any one of the following objects: MeshNode, MeshEdge, MeshFace, ConstrainedSketchVertex, Edge, Face, DatumPoint, DatumAxis, or DatumPlane.

redoMeshEdit()[source]#

This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an assembly. A redo action must be currently available for the assembly. This implies that the user must have executed the undoMeshEdit method on the assembly and that the user has not subsequently executed any further edit mesh commands on the assembly. It also implies that the user provided a sufficient cache allowance to store the undo operation.

splitElement(elements: tuple)[source]#

This method splits quadrilateral elements into triangular elements.

Parameters:
elements

A sequence of quadrilateral MeshElement objects specifying the elements to split. Each quadrilateral element is split into two triangular elements by the shorter diagonal.

splitMeshEdge(edge: str, parameter: float = 0)[source]#

This method splits an edge of a quadrilateral or triangular element of a part instance.

Parameters:
edge

A single MeshEdge object specifying the element edge to split.

parameter

A Float specifying the normalized distance along the edge at which to split. Possible values are 0.0 << parameter << 1.0. The default value is 0.5.

swapMeshEdge(edge: str)[source]#

This method swaps the diagonal of two adjacent triangular elements of a part instance.

Parameters:
edge

A single MeshEdge object specifying the element edge to swap.

undoMeshEdit()[source]#

This method undoes the most recent edit mesh or the bottom-up meshing operation on an assembly and restores the mesh on the affected part instance to its previous state. An edit mesh undo action must be available for the assembly. This implies that prior to executing an edit mesh command on the assembly, the user enabled edit mesh undo with a sufficient cache allowance to store the edit mesh operation.

Edit mesh features of Part#

class MeshEditPart(name: str, dimensionality: SymbolicConstantType, type: SymbolicConstantType, twist: BooleanType = OFF)[source]#
class MeshEditPart(name: str, objectToCopy: str, scale: float = 1, mirrorPlane: SymbolicConstantType = NONE, compressFeatureList: BooleanType = OFF, separate: BooleanType = OFF)

The following commands operate on Part objects. For more information about the Part object, see Part object.

Notes

This object can be accessed by:

import meshEdit

Methods

adjustMidsideNode(cornerNodes, parameter)

This method is used to adjust the midside node of second-order elements of an orphan mesh part.

cleanMesh(mergeTolerance[, growEdges, ...])

This method is used to collapse short element edges and delete collapsed elements, or grow short element edges, on an orphan mesh part composed of linear elements.

collapseMeshEdge(edge, collapseMethod)

This method collapses an edge of a quadrilateral or triangular element of an orphan mesh part or part instance.

combineElement(elements)

This method combines two triangular elements of an orphan mesh part or an Abaqus native mesh.

convertSolidMeshToShell()

This method removes all solid elements from an orphan mesh part and creates triangular or quadrilateral shell elements along their outer faces.

deleteElement(elements[, ...])

This method deletes the given elements from an orphan mesh part or an Abaqus native mesh.

deleteNode(nodes[, deleteUnreferencedNodes])

This method deletes the given nodes from an orphan mesh part.

editNode(nodes[, coordinate1, coordinate2, ...])

This method changes the coordinates of the given nodes on an orphan mesh part or on an Abaqus native mesh.

generateMesh([elemShape])

This method generates a new mesh on an orphan mesh part based on the original mesh.

generateMeshByOffset(region, meshType, ...)

This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.

mergeElement(edge, elements)

Merge a selection of elements arranged in layers on an orphan mesh part into a single layer.

orientElements(pickedElements, referenceRegion)

This method orients the stack direction of elements in a continuum shell or gasket mesh.

projectNode(nodes, projectionReference)

This method projects the given nodes onto a mesh entity, geometric entity, or a datum object.

redoMeshEdit()

This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an part.

removeElementSize()

This method removes the global element size from an orphan mesh part.

renumberElement([elements, startLabel, ...])

This method assigns new labels to orphan mesh elements.

renumberNode([nodes, startLabel, increment, ...])

This method assigns new labels to orphan mesh nodes.

setElementSize(size)

This method sets the global element size for an orphan mesh part.

splitElement(elements)

This method splits quadrilateral elements of an orphan mesh part or a Abaqus native mesh into triangular elements.

splitMeshEdge(edge[, parameter])

This method splits an edge of a quadrilateral or triangular element of an orphan mesh part or an Abaqus native mesh.

subdivideElement([elements, divisionNumber, ...])

Subdivide a selection of elements on an orphan mesh part in one or more directions.

swapMeshEdge(edge)

This method swaps the diagonal of two adjacent triangular elements of an orphan mesh part or an Abaqus native mesh.

undoMeshEdit()

This method undoes the most recent edit mesh or the bottom-up meshing operation on a part and restores the mesh to its previous state.

wrapMesh(radius)

This method wraps a planar orphan mesh part about the Z-axis.

mergeNodes

adjustMidsideNode(cornerNodes: tuple[abaqus.EditMesh.MeshEditPart.Node], parameter: float)[source]#

This method is used to adjust the midside node of second-order elements of an orphan mesh part.

Parameters:
cornerNodes

A sequence of Node objects specifying the nodes towards which connected midside nodes will be biased.

parameter

A Float specifying the normalized distance along the edge of the midside nodes. Possible values are 0.0 ≤≤ parameter ≤≤ 1.0, where 0.0 specifies the position of the corner node. The default value is 0.5.

cleanMesh(mergeTolerance: float, growEdges: BooleanType = 0, elements: str = '', refEdge: str = '', thicknessDir: float | None = None, moveLayers: BooleanType = False)[source]#

This method is used to collapse short element edges and delete collapsed elements, or grow short element edges, on an orphan mesh part composed of linear elements.

Parameters:
mergeTolerance

A Float specifying the edge length tolerance. During the operation, edges shorter than the given tolerance will be collapsed, or grown to the specified length.

growEdges

A Boolean specifying whether short element edges will be grown to the specified tolerance. Default is False, meaning short edges will be collapsed.

elements

The elements to consider as the domain for the operation. By default all elements on the part are considered. The elements may be given as a MeshElementArray, a list of MeshElement objects, a Set, or a list of Set objects.

refEdge

A MeshEdge specifying a reference edge to indicate a topological direction in a structured mesh that will limit which edges within the element domain are considered. That is, only edges that are found to be topologically parallel to the given reference edge will be considered by the operation. By default all edges of the element domain are considered, unless thicknessDir is specified, in which case the operation will attempt to determine the topological edges from the thickness direction.

thicknessDir

A tuple of two or three Floats indicating a vector along which element edge lengths will be measured.

moveLayers

A Boolean indicating whether element edges will be all grown in the direction of the thickness vector specified by thicknessDir. This argument is ignored unless growEdges is True and thicknessDir is provided. When this argument is True the growth of any given element edge will no longer be constrained by short edges on neighboring elements, but elements could move from their original positions in cases where there are multiple adjacent layers of thin elements. The default value is False.

collapseMeshEdge(edge: str, collapseMethod: SymbolicConstantType)[source]#

This method collapses an edge of a quadrilateral or triangular element of an orphan mesh part or part instance.

Parameters:
edge

A single MeshEdge object specifying the element edge to collapse.

collapseMethod

A SymbolicConstant specifying the method used to collapse the edge. Possible values are FORWARD, REVERSE, and AVERAGE.

combineElement(elements: tuple)[source]#

This method combines two triangular elements of an orphan mesh part or an Abaqus native mesh.

Parameters:
elements

A sequence of triangular MeshElement objects specifying the elements to combine.

convertSolidMeshToShell()[source]#

This method removes all solid elements from an orphan mesh part and creates triangular or quadrilateral shell elements along their outer faces.

deleteElement(elements: tuple[MeshElement], deleteUnreferencedNodes: BooleanType = 0)[source]#

This method deletes the given elements from an orphan mesh part or an Abaqus native mesh. If the elements belong to an Abaqus native mesh then the elements must have been generated using the bottom-up meshing technique.

Parameters:
elements

A sequence of MeshElement objects or a Set object containing elements.

deleteUnreferencedNodes

A Boolean specifying whether to delete all those associated nodes that become unreferenced after the given elements are deleted. The default value is OFF.

deleteNode(nodes: tuple[MeshNode], deleteUnreferencedNodes: BooleanType = 0)[source]#

This method deletes the given nodes from an orphan mesh part.

Parameters:
nodes

A sequence of MeshNode objects or a Set object containing nodes.

deleteUnreferencedNodes

A Boolean specifying whether to delete all those associated nodes that become unreferenced after the given nodes and the connected elements are deleted. The default value is OFF.

editNode(nodes: tuple[abaqus.Mesh.MeshNode.MeshNode], coordinate1: float | None = None, coordinate2: float | None = None, coordinate3: float | None = None, coordinates: tuple = (), offset1: float | None = None, offset2: float | None = None, offset3: float | None = None, localCsys: ~abaqus.Datum.DatumCsys.DatumCsys = <abaqus.Datum.DatumCsys.DatumCsys object>, projectToGeometry: ~abaqusConstants.BooleanType = 1)[source]#

This method changes the coordinates of the given nodes on an orphan mesh part or on an Abaqus native mesh.

Parameters:
nodes

A sequence of MeshNode objects or a Set object containing nodes.

coordinate1

A Float specifying the value of the first coordinate. If coordinate1 and offset1 are unspecified, the existing value does not change.

coordinate2

A Float specifying the value of the second coordinate. If coordinate2 and offset2 are unspecified, the existing value does not change.

coordinate3

A Float specifying the value of the third coordinate. If coordinate3 and offset3 are unspecified, the existing value does not change.

coordinates

A sequence of three-dimensional coordinate tuples specifying the coordinates for each of the given nodes. When specified, the number of coordinate tuples must match the number of given nodes, and be ordered to correspond to the given nodes in ascending order according to index. Furthermore, coordinate1, coordinate2, coordinate3, offset1, offset2, or offset3 may not be specified.

offset1

A Float specifying an offset to apply to the value of the first coordinate of the specified nodes.

offset2

A Float specifying an offset to apply to the value of the second coordinate of the specified nodes.

offset3

A Float specifying an offset to apply to the value of the third coordinate of the specified nodes.

localCsys

A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

projectToGeometry

A Boolean specifying whether to project nodes back to their original geometry. For example, if a node is on a face, this method first positions the node at the new location and then projects it back to the original face. The default value is ON.

Raises:
A coordinate and an offset may not both be specified for the same coordinate component.
generateMesh(elemShape: SymbolicConstantType | None = None)[source]#

This method generates a new mesh on an orphan mesh part based on the original mesh.

Parameters:
elemShape

A SymbolicConstant specifying the element shape to be used for meshing. Possible values are:TRIRefine a planar triangular mesh and replace it with a new one. If no element sizes are attached, the new mesh will be governed by the sizes of the boundary edges in the old mesh.TETCreate a tetrahedral mesh from a closed shell of triangular elements.

generateMeshByOffset(region: Region, meshType: str, totalThickness: float, distanceBetweenLayers: float, numLayers: int, offsetDirection: str = 'OUTWARD', initialOffset: float = 0.0, shareNodes: str = False, deleteBaseElements: BooleanType = False, constantThicknessCorners: BooleanType = False, extendElementSets: BooleanType = False)[source]#

This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.

Parameters:
region

A Region object specifying the domain to be offset.

meshType

A Symbolic Constant specifying the type of mesh to be generated. Possible values are SOLID or SHELL.

totalThickness

A Float specifying the total thickness of the solid layers. This argument applies only when *meshType*=SOLID.

distanceBetweenLayers

A Float specifying the distance between shell layers. This argument applies only when *meshType*=SHELL.

numLayers

An Int specifying the number of element layers to be generated.

offsetDirection

A Symbolic Constant specifying the direction of the offset. This argument is required only when the given region relates to a shell mesh. Possible values are OUTWARD, INWARD, and BOTH. The default value is OUTWARD.

initialOffset

A Float specifying the magnitude of the initial offset. The default value is zero.

shareNodes

Boolean specifying whether the first layer of nodes should be shared with nodes on the base surface. The default value is False.

deleteBaseElements

A Boolean specifying whether to delete the shell elements after the offset layers are generated. The default value is False. This argument applies only when *meshType*=SHELL.

constantThicknessCorners

A Boolean specifying whether to use element-based thickness or nodal-based thickness. The default value is False.

extendElementSets

A Boolean specifying whether existing element sets that include base elements will be extended to include corresponding offset elements. The default value is False.

mergeElement(edge: str, elements: str)[source]#

Merge a selection of elements arranged in layers on an orphan mesh part into a single layer.

Parameters:
edge

A MeshEdge of one of the specified elements that serves as a reference edge to indicate the topological direction for merging elements. All specified elements must be reachable by topological navigation from this element edge, and the topological direction must be unambiguous.

elements

A MeshElementArray, a list of MeshElement objects, a Set, or a list of Set objects containing the elements to be included in the merge operation.

orientElements(pickedElements: tuple[MeshElement], referenceRegion: MeshFace)[source]#

This method orients the stack direction of elements in a continuum shell or gasket mesh.

Parameters:
pickedElements

A sequence of MeshElement objects specifying the elements to orient.

referenceRegion

A MeshFace object specifying a reference top face that indicates the desired orientation.

projectNode(nodes: tuple[MeshNode], projectionReference: str)[source]#

This method projects the given nodes onto a mesh entity, geometric entity, or a datum object. The nodes may belong to an orphan mesh part or to an Abaqus native mesh.

Parameters:
nodes

A sequence of MeshNode objects to be projected.

projectionReference

An object specifying the target for the node projection operation. The projectionReference can be any one of the following objects: MeshNode, MeshEdge, MeshFace, ConstrainedSketchVertex, Edge, Face, DatumPoint, DatumAxis, or DatumPlane.

redoMeshEdit()[source]#

This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an part. A redo action must be currently available for the part. This implies that the user must have executed the undoMeshEdit method on the part and that the user has not subsequently executed any further edit mesh commands on the assembly. It also implies that the user provided a sufficient cache allowance to store the undo operation.

removeElementSize()[source]#

This method removes the global element size from an orphan mesh part.

renumberElement(elements: tuple = (), startLabel: int | None = None, increment: int | None = None, offset: int | None = None, labels: str = '')[source]#

This method assigns new labels to orphan mesh elements.

Parameters:
elements

A MeshElementArray or a tuple or list of MeshElement objects, or a Set containing elements to be renumbered. If unspecified, all elements in the part will be renumbered.

startLabel

A positive Int specifying the new label for the first element in elements.

increment

A positive Int specifying the increment used for computation of new labels for all consecutive elements in elements.

offset

An Int by which existing labels of the specified elements will be offset.

labels

A list of labels for the specified elements. The length of this list must match the number of specified elements.

Raises:
  • Renumbering is attempted on a native part:

    Error: Renumbering can be applied to orphan mesh parts only

  • Renumbering data is specified incorrectly:

    Error: Either startLabel and increment or offset must be specified

  • Renumbering will result in invalid labels:

    Error: Specified data will result in invalid labels

  • Renumbering will result in conflicting labels:

    Error: Specified data will result in conflicting labels

renumberNode(nodes: tuple = (), startLabel: int | None = None, increment: int | None = None, offset: int | None = None, labels: str = '')[source]#

This method assigns new labels to orphan mesh nodes.

Parameters:
nodes

A MeshNodeArray or a tuple or list of MeshNode objects, or a Set containing nodes to be renumbered. If unspecified, all nodes in the part will be renumbered.

startLabel

A positive Int specifying the new label for the first node in nodes.

increment

A positive Int specifying the increment used for computation of new labels for all consecutive nodes in nodes.

offset

An Int by which existing labels of the specified nodes will be offset.

labels

A list of labels for the specified nodes. The length of this list must match the number of specified nodes.

Raises:
  • Renumbering is attempted on a native part:

    Error: Renumbering can be applied to orphan mesh parts only

  • Renumbering data is specified incorrectly:

    Error: Either startLabel and increment or offset must be specified

  • Renumbering will result in invalid labels:

    Error: Specified data will result in invalid labels

  • Renumbering will result in conflicting labels:

    Error: Specified data will result in conflicting labels

setElementSize(size: float)[source]#

This method sets the global element size for an orphan mesh part.

Parameters:
size

A Float specifying the desired element size.

splitElement(elements: tuple)[source]#

This method splits quadrilateral elements of an orphan mesh part or a Abaqus native mesh into triangular elements.

Parameters:
elements

A sequence of quadrilateral MeshElement objects specifying the elements to split. Each quadrilateral element is split into two triangular elements by the shorter diagonal.

splitMeshEdge(edge: str, parameter: float = 0)[source]#

This method splits an edge of a quadrilateral or triangular element of an orphan mesh part or an Abaqus native mesh.

Parameters:
edge

A single MeshEdge object specifying the element edge to split.

parameter

A Float specifying the normalized distance along edge at which to split. Possible values are 0.0 << parameter << 1.0. The default value is 0.5.

subdivideElement(elements: str = '', divisionNumber: int | None = None, face: ~abaqus.Mesh.MeshFace.MeshFace = <abaqus.Mesh.MeshFace.MeshFace object>, edge: ~abaqus.Mesh.MeshEdge.MeshEdge = <abaqus.Mesh.MeshEdge.MeshEdge object>)[source]#

Subdivide a selection of elements on an orphan mesh part in one or more directions.

Parameters:
elements

A MeshElementArray, a list of MeshElement objects, a Set, or a list of Set objects containing the elements to be subdivided. By default all the elements of the part are subdivided.

divisionNumber

An Int specifying the number of resulting elements for each input element in each direction of the subdivision. If face or edge are not specified, elements will be subdivided according to this number in all possible directions. Must be greater than one. Default is 2.

face

A MeshFace object that serves as a reference for indicating two topological directions for the subdivision operation. Must be a face of one of the specified elements, and all specified elements must be reachable by topological navigation from this element face. May not be combined with edge.

edge

A MeshEdge object that serves as a reference for indicating a single topological direction for the subdivision operation. Must be an edge of one of the specified elements, and all specified elements must be reachable by topological navigation from this element edge. May not be combined with face.

swapMeshEdge(edge: str)[source]#

This method swaps the diagonal of two adjacent triangular elements of an orphan mesh part or an Abaqus native mesh.

Parameters:
edge

A single MeshEdge object specifying the element edge to swap.

undoMeshEdit()[source]#

This method undoes the most recent edit mesh or the bottom-up meshing operation on a part and restores the mesh to its previous state. An edit mesh undo action must be available for the part. This implies that prior to executing an edit mesh command on the part, the user enabled edit mesh undo with a sufficient cache allowance to store the edit mesh operation.

wrapMesh(radius: float)[source]#

This method wraps a planar orphan mesh part about the Z-axis.

Parameters:
radius

A Float specifying the radius of the cylinder about which the part is to be wrapped. The wrapping procedure will relocate a node at point (xx, yy) on the planar mesh to (x,θ,zx,θ,z), where rr is the specified radius, θθ = xrxr, and zz=yy.

MeshEditOptions#

class MeshEditOptions[source]#

The MeshEditOptions object stores settings that specify the behavior when editing meshes on parts or part instances. The MeshEditOptions object has no constructor. Abaqus creates the MeshEditOptions member when a session is started.

Notes

This object can be accessed by:

mdb.meshEditOptions

Methods

setValues([maxUndoCacheElements, ...])

This method modifies the MeshEditOptions object.

setValues(maxUndoCacheElements: float = 0, enableUndo: BooleanType = 0, _suspendUndo: BooleanType = 0)[source]#

This method modifies the MeshEditOptions object.

Parameters:
maxUndoCacheElements

A Float specifying the maximum allowable mesh edit undo cache size in millions of elements. If this value is set to at least the number of elements on a given part or part instance, at least one level of undo/redo capability is assured for subsequent mesh edit operations on that part or part instance. The default value is 0.0.

enableUndo

A Boolean specifying whether undo/redo of mesh edit operations will be enabled. If enableUndo =OFF any existing cache for undo/redo operations will be cleared for all parts and assemblies in all models. The default value is OFF.

_suspendUndo

A Boolean specifying the suspension of undo/redo for mesh edit operations. When undo/redo is suspended, undo/redo will not be available after subsequent mesh edit operations on a given part or part instances. Any pre-existing cache for mesh edit operations on other parts or assemblies in any model will be unaffected. The default value is OFF.If you change the value of enableUndo to True, Abaqus sets _suspendUndo to False.