Skip to main content

class Ansys.ACT.Automation.Mechanical.MeshExtrude

Bases: object Pull method enables you to extrude or revolve element faces, topofaces or scoped bodies (only shell body) from a surface or solid mesh. Pull also allows to create surface coating on solid bodies, element faces and topofaces.

Overview

Methods

Properties

Property detail

property MeshExtrude.AutoRenameMeshPullBodies : bool | None

Gets or sets whether generated Pull bodies will be renamed to match the source bodies’ names. If False, the typical names “Pull” or “Body” will be used. Default: True.

property MeshExtrude.AxisOfRevolution : Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType | None

To select the coordinate axis along which the selected elements can be revolved. The available options are X Axis, Y Axis, Z Axis.

property MeshExtrude.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property MeshExtrude.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property MeshExtrude.CoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

To generate elements in the specified coordinate system. The Coordinate System allows to select the Global Coordinate System by default.

property MeshExtrude.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property MeshExtrude.ElementOption : Ansys.Mechanical.DataModel.Enums.SweepElementOptionType | None

Gets or sets the ElementOption.

property MeshExtrude.ExtrudeBy : Ansys.Mechanical.DataModel.Enums.ExtrudeBy | None

To specify the method of Extrude. The available options are Use Coordinate System and Face Normal.

property MeshExtrude.FeatureAngle : Ansys.Core.Units.Quantity | None

To specify feature angle for splitting side faces.

property MeshExtrude.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property MeshExtrude.Height : Ansys.Core.Units.Quantity | None

To specify the height for the volume of solid elements in the method of Extrude.

property MeshExtrude.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property MeshExtrude.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSMeshExtrudeAuto | None

Gets the internal object. For advanced usage only.

property MeshExtrude.Location : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Allows you to scope elements, element faces, topofaces and sheet bodies for Extrude or Revolve. Also, scopes element faces, topofaces and solid bodies for Surface Coating.

property MeshExtrude.Material : str | None

To select the material of your choice. You can also select a different material from the parent body material.

property MeshExtrude.MergeProfileNodes : bool | None

To merge nodes on the profile body and pull generated body.

property MeshExtrude.Method : Ansys.Mechanical.DataModel.Enums.PullMethod | None

To select the method of Pull: Extrude (default), Revolve, Surface Coating and Line Coating.

property MeshExtrude.NonlinearMaterialEffects : bool | None

Gets or sets the NonlinearMaterialEffects.

property MeshExtrude.NumberOfLayers : int | None

To specify the number of layers to be used for Extrude and Revolve.

property MeshExtrude.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property MeshExtrude.RevolutionAngle : Ansys.Core.Units.Quantity | None

To specify angle of revolution for the solid elements in the method of Revolve.

property MeshExtrude.ScopingMethod : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None

Defines what type of selection this object is scoped to.

property MeshExtrude.StiffnessOption : Ansys.Mechanical.DataModel.Enums.ShellElementStiffnessOption | None

To provide the stiffness option of the shell body created by surface coating. The available options are Stress Evaluation Only, Membrane Only, Membrane and Bending.

property MeshExtrude.Suppressed : bool | None

To suppress the selected entities. You can select Yes to suppress the selected entities and No to unsuppress the selected entities. The default value is No.

property MeshExtrude.ThermalStrainCalculation : bool | None

Gets or sets the ThermalStrainCalculation.

property MeshExtrude.Thickness : Ansys.Core.Units.Quantity | None

To specify the thickness for surface coating. The Thickness option is available only when the Stiffness Behavior is set to Membrane Only or Membrane and Bending.

property MeshExtrude.UpTo : bool | None

To generate elements up to the specified target. The target can be faces from solids or sheet bodies and multiple faces with sharing topo edge.

property MeshExtrude.UpToTarget : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

The target can be faces from solids or sheet bodies and multiple faces with sharing topoedge in Extrude UpTo.

property MeshExtrude.UseCoordinateSystem : Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType | None

The Use Coordinate System allows to select any of the XYZ coordinate axis in the method of Extrude.

property MeshExtrude.UseFeatureAngle : bool | None

To split side faces by speficied feature angle.

property MeshExtrude.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties that are visible for this object.

Method detail

MeshExtrude.Activate() → None

Activate the current object.

MeshExtrude.AddComment() → Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

MeshExtrude.AddFigure() → Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

MeshExtrude.AddImage(filePath: str) → Ansys.ACT.Automation.Mechanical.Image

MeshExtrude.ClearGeneratedData() → None

Clear generated data.

MeshExtrude.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → None

Copies all visible properties from this object to another.

MeshExtrude.CreateParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

MeshExtrude.Delete() → None

Run the Delete action.

MeshExtrude.Duplicate() → Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

MeshExtrude.Generate() → None

Generate selected mesh pull.

MeshExtrude.GetChildren(recurses: bool, children: List[ChildrenType]) → List[ChildrenType]

Gets the list of children, filtered by type.

MeshExtrude.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

MeshExtrude.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

MeshExtrude.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

MeshExtrude.PropertyByAPIName(name: str) → Ansys.ACT.Automation.Mechanical.Property

MeshExtrude.PropertyByName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

MeshExtrude.RemoveParameter(propName: str) → None

Removes the parameter from the parameter set corresponding to the given property.