MeshExtrude#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.MeshExtrude(internalObject: Any)#

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#

IsAcceptableScopingMethod

IsAcceptableScopingMethod method.

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.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

Generate

Generate selected mesh pull.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

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

ToString

ToString method.

AttachedRefs

AttachedRefs property.

AutoRenameMeshPullBodies

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.

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.

ClsId

ClsId property.

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.

GroupingFolder

GroupingFolder property.

Height

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

IconName

IconName property.

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: Extrude (default), Revolve, Surface Coating and Line Coating.

Name

Name property.

NonlinearMaterialEffects

Gets or sets the NonlinearMaterialEffects.

NumberOfLayers

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

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

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.

State

State property.

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 topo edge.

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.AttachedRefs: List[int] | None#

AttachedRefs property.

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.ClsId: int | None#

ClsId property.

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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

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.IconName: str | None#

IconName property.

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.Name: str | None#

Name property.

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.ObjectId: int | None#

ObjectId property.

property MeshExtrude.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property MeshExtrude.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property MeshExtrude.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

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.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

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#
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.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

MeshExtrude.Generate() None#

Generate selected mesh pull.

MeshExtrude.GetAPIName(dispId: int) str#

Property name bound to dispId.

MeshExtrude.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

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

Gets the list of children, filtered by type.

MeshExtrude.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

MeshExtrude.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

MeshExtrude.GetHashCode() int#

GetHashCode method.

MeshExtrude.GetIconFile() System.Byte#

GetIconFile method.

MeshExtrude.GetLifetimeService() Any#

GetLifetimeService method.

MeshExtrude.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

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

Gets the parameter corresponding to the given property.

MeshExtrude.GetPath() str#

GetPath method.

MeshExtrude.GetPropertyName(dispId: int) str#

GetPropertyName method.

MeshExtrude.GetPropertyValue(name: str) Any#

GetPropertyValue method.

MeshExtrude.GetType() type#

GetType method.

MeshExtrude.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

MeshExtrude.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

MeshExtrude.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

MeshExtrude.InitializeLifetimeService() Any#

InitializeLifetimeService method.

classmethod MeshExtrude.IsAcceptableScopingMethod(scopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType) bool#

IsAcceptableScopingMethod method.

MeshExtrude.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

MeshExtrude.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

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.

MeshExtrude.ToString() str#

ToString method.