MeshExtrude#

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

Generate

Generate selected mesh pull.

ClearGeneratedData

Clear generated data.

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

ScopingMethod

Defines what type of selection this object is scoped to.

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.

InternalObject

Gets the internal object. For advanced usage only.

Material

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

NumberOfLayers

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

Height

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

RevolutionAngle

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

FeatureAngle

To specify feature angle for splitting side faces.

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.

AxisOfRevolution

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

ExtrudeBy

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

UseCoordinateSystem

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

Method

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

ElementOption

Gets or sets the ElementOption.

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.

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.

MergeProfileNodes

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

NonlinearMaterialEffects

Gets or sets the NonlinearMaterialEffects.

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.

UseFeatureAngle

To split side faces by speficied feature angle.

CoordinateSystem

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

UpToTarget

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

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

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

Defines what type of selection this object is scoped to.

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.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSMeshExtrudeAuto | None

Gets the internal object. For advanced usage only.

property MeshExtrude.Material: System.String | None

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

property MeshExtrude.NumberOfLayers: System.Int32 | None

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

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.RevolutionAngle: Ansys.Core.Units.Quantity | None

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

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

To specify feature angle for splitting side faces.

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.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.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.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.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.ElementOption: Ansys.Mechanical.DataModel.Enums.SweepElementOptionType | None

Gets or sets the ElementOption.

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.UpTo: System.Boolean | 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.MergeProfileNodes: System.Boolean | None

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

property MeshExtrude.NonlinearMaterialEffects: System.Boolean | None

Gets or sets the NonlinearMaterialEffects.

property MeshExtrude.Suppressed: System.Boolean | 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: System.Boolean | None

Gets or sets the ThermalStrainCalculation.

property MeshExtrude.UseFeatureAngle: System.Boolean | None

To split side faces by speficied feature angle.

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.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.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property MeshExtrude.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property MeshExtrude.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property MeshExtrude.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property MeshExtrude.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property MeshExtrude.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property MeshExtrude.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property MeshExtrude.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

MeshExtrude.Generate() System.Void

Generate selected mesh pull.

MeshExtrude.ClearGeneratedData() System.Void

Clear generated data.

MeshExtrude.Delete() System.Void

Run the Delete action.

MeshExtrude.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

MeshExtrude.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

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: System.String) 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.Activate() System.Void

Activate the current object.

MeshExtrude.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

MeshExtrude.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

MeshExtrude.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

MeshExtrude.PropertyByAPIName(name: System.String) 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.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

MeshExtrude.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

MeshExtrude.RemoveParameter(propName: System.String) System.Void

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