MeshCopy
Last update: 14.01.2025
MeshCopy
class Ansys.ACT.Automation.Mechanical.MeshControls.MeshCopy
Bases: object
Defines a MeshCopy.
Overview
Methods
Name | Description |
---|---|
Activate |
Activate the current object. |
AddComment |
Creates a new child Comment. |
AddFigure |
Creates a new child Figure. |
AddImage |
Creates a new child Image. |
CopyTo |
Copies all visible properties from this object to another. |
CreateParameter |
Creates a new parameter for a Property. |
Delete |
Run the Delete action. |
Duplicate |
Creates a copy of the current DataModelObject. |
GenerateMesh |
Generate the Mesh. |
GetChildren |
Gets the list of children, filtered by type. |
GetParameter |
Gets the parameter corresponding to the given property. |
GroupAllSimilarChildren |
Run the GroupAllSimilarChildren action. |
GroupSimilarObjects |
Run the GroupSimilarObjects action. |
PropertyByAPIName |
Get a property by its API name. |
PropertyByName |
Get a property by its unique name. |
RemoveParameter |
Removes the parameter from the parameter set corresponding to the given property. |
RenameBasedOnDefinition |
Run the RenameBasedOnDefinition action. |
Properties
Name | Description |
---|---|
Children |
Gets the list of children. |
Comments |
Gets the list of associated comments. |
DataModelObjectCategory |
Gets the current DataModelObject’s category. |
Figures |
Gets the list of associated figures. |
Images |
Gets the list of associated images. |
InternalObject |
Gets the internal object. For advanced usage only. |
NodeMergeTolerance |
Gets or sets the NodeMergeTolerance. |
NodeMergeToleranceOption |
Gets or sets the NodeMergeToleranceOption. |
PercentageOfElementSize |
Gets or sets the PercentageOfElementSize. |
Properties |
Gets the list of properties for this object. |
ScopingMethod |
Gets or sets the ScopingMethod. |
SourceAnchors |
Gets or sets the SourceAnchors. |
SourceAnchorsNamedSelection |
Gets or sets the SourceAnchorsNamedSelection. |
Suppressed |
Gets or sets the Suppressed. |
TargetAnchors |
Gets or sets the TargetAnchors. |
TargetAnchorsNamedSelection |
Gets or sets the TargetAnchorsNamedSelection. |
TargetScoping |
Gets or sets the TargetScoping. |
VisibleProperties |
Gets the list of properties that are visible for this object. |
Property detail
property MeshCopy.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
property MeshCopy.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None
Gets the list of associated comments.
property MeshCopy.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
property MeshCopy.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None
Gets the list of associated figures.
property MeshCopy.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
property MeshCopy.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSMeshControlAuto | None
Gets the internal object. For advanced usage only.
property MeshCopy.NodeMergeTolerance : float | None
Gets or sets the NodeMergeTolerance.
property MeshCopy.NodeMergeToleranceOption : Ansys.Mechanical.DataModel.Enums.NodeMergeToleranceMethod | None
Gets or sets the NodeMergeToleranceOption.
property MeshCopy.PercentageOfElementSize : float | None
Gets or sets the PercentageOfElementSize.
property MeshCopy.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
property MeshCopy.ScopingMethod : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None
Gets or sets the ScopingMethod.
property MeshCopy.SourceAnchors : Ansys.ACT.Interfaces.Common.ISelectionInfo | None
Gets or sets the SourceAnchors.
property MeshCopy.SourceAnchorsNamedSelection : Ansys.ACT.Automation.Mechanical.NamedSelection | None
Gets or sets the SourceAnchorsNamedSelection.
property MeshCopy.Suppressed : bool | None
Gets or sets the Suppressed.
property MeshCopy.TargetAnchors : Ansys.ACT.Interfaces.Common.ISelectionInfo | None
Gets or sets the TargetAnchors.
property MeshCopy.TargetAnchorsNamedSelection : Ansys.ACT.Automation.Mechanical.NamedSelection | None
Gets or sets the TargetAnchorsNamedSelection.
property MeshCopy.TargetScoping : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None
Gets or sets the TargetScoping.
property MeshCopy.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail
MeshCopy.Activate()
Activate the current object.
MeshCopy.AddComment()
Creates a new child Comment.
MeshCopy.AddFigure()
Creates a new child Figure.
MeshCopy.AddImage(filePath: str)
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.
MeshCopy.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)
Copies all visible properties from this object to another.
MeshCopy.CreateParameter(propName: str)
Creates a new parameter for a Property.
MeshCopy.Delete()
Run the Delete action.
MeshCopy.Duplicate()
Creates a copy of the current DataModelObject.
MeshCopy.GenerateMesh()
Generate the Mesh.
MeshCopy.GetChildren(recurses: bool, children: List[ChildrenType])
Gets the list of children, filtered by type.
MeshCopy.GetParameter(propName: str)
Gets the parameter corresponding to the given property.
MeshCopy.GroupAllSimilarChildren()
Run the GroupAllSimilarChildren action.
MeshCopy.GroupSimilarObjects()
Run the GroupSimilarObjects action.
MeshCopy.PropertyByAPIName(name: str)
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.
MeshCopy.PropertyByName(name: str)
Get a property by its unique name.
MeshCopy.RemoveParameter(propName: str)
Removes the parameter from the parameter set corresponding to the given property.
MeshCopy.RenameBasedOnDefinition()
Run the RenameBasedOnDefinition action.