MeshExtrude#

class ansys.mechanical.stubs.v242.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#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

ClearGeneratedData

Clear generated data.

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.

Generate

Generate selected mesh pull.

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.

AxisOfRevolution

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

Children

Gets the list of children.

Comments

Gets the list of associated comments.

CoordinateSystem

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

DataModelObjectCategory

Gets the current DataModelObject's category.

ElementOption

Gets or sets the ElementOption.

ExtrudeBy

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

FeatureAngle

To specify feature angle for splitting side faces.

Figures

Gets the list of associated figures.

Height

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

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Location

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.

Material

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

MergeProfileNodes

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

Method

To select the method of Pull. There are three methods. They are Extrude, Revolve and Surface Coating.

NonlinearMaterialEffects

Gets or sets the NonlinearMaterialEffects.

NumberOfLayers

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

Properties

Gets the list of properties for this object.

RevolutionAngle

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

ScopingMethod

Defines what type of selection this object is scoped to.

StiffnessOption

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.

Suppressed

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.

ThermalStrainCalculation

Gets or sets the ThermalStrainCalculation.

Thickness

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.

UpTo

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

UpToTarget

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

UseCoordinateSystem

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

UseFeatureAngle

To split side faces by speficied feature angle.

VisibleProperties

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

Property detail#

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. There are three methods. They are Extrude, Revolve and Surface 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 topoedge.

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#
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.
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#
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.
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.