Sizing#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.MeshControls.Sizing#

Bases: object

Defines a Sizing.

Overview#

GenerateMesh

Generate the Mesh.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

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.

BodyOfInfluence

Gets the BodyOfInfluence.

InternalObject

Gets the internal object. For advanced usage only.

BiasGrowthRate

Gets or sets the BiasGrowthRate.

NumberOfDivisions

Gets or sets the NumberOfDivisions.

GrowthRate

Gets or sets the GrowthRate.

BiasFactor

Gets or sets the BiasFactor.

ElementSize

Gets or sets the ElementSize.

SphereRadius

Gets or sets the SphereRadius.

DefeatureSize

Gets or sets the DefeatureSize.

LocalMinimumSize

Gets or sets the LocalMinimumSize.

ProximityGapFactor

Gets or sets the ProximityGapFactor.

ProximityMinimumSize

Gets or sets the ProximityMinimumSize.

CurvatureNormalAngle

Gets or sets the CurvatureNormalAngle.

OriginX

Gets the OriginX.

OriginY

Gets the OriginY.

OriginZ

Gets the OriginZ.

BiasOption

Gets or sets the BiasOption.

ProximitySizeSources

Gets or sets the ProximitySizeSources.

Behavior

Gets or sets the Behavior.

Type

Gets or sets the Type.

BiasType

Gets or sets the BiasType.

Active

Gets the Active.

CaptureCurvature

Gets or sets the CaptureCurvature.

CaptureProximity

Gets or sets the CaptureProximity.

NamedSelection

Gets or sets the NamedSelection.

SphereCenter

Gets or sets the SphereCenter.

Location

Gets or sets the Location.

ReverseBias

Gets or sets the ReverseBias.

DataModelObjectCategory

Gets the current DataModelObject’s category.

ScopingMethod

Gets or sets the ScopingMethod.

Suppressed

Gets or sets the Suppressed.

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 Sizing.BodyOfInfluence: Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets the BodyOfInfluence.

property Sizing.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSMeshControlAuto | None

Gets the internal object. For advanced usage only.

property Sizing.BiasGrowthRate: System.Double | None

Gets or sets the BiasGrowthRate.

property Sizing.NumberOfDivisions: System.Int32 | None

Gets or sets the NumberOfDivisions.

property Sizing.GrowthRate: System.Double | None

Gets or sets the GrowthRate.

property Sizing.BiasFactor: System.Double | None

Gets or sets the BiasFactor.

property Sizing.ElementSize: Ansys.Core.Units.Quantity | None

Gets or sets the ElementSize.

property Sizing.SphereRadius: Ansys.Core.Units.Quantity | None

Gets or sets the SphereRadius.

property Sizing.DefeatureSize: Ansys.Core.Units.Quantity | None

Gets or sets the DefeatureSize.

property Sizing.LocalMinimumSize: Ansys.Core.Units.Quantity | None

Gets or sets the LocalMinimumSize.

property Sizing.ProximityGapFactor: Ansys.Core.Units.Quantity | None

Gets or sets the ProximityGapFactor.

property Sizing.ProximityMinimumSize: Ansys.Core.Units.Quantity | None

Gets or sets the ProximityMinimumSize.

property Sizing.CurvatureNormalAngle: Ansys.Core.Units.Quantity | None

Gets or sets the CurvatureNormalAngle.

property Sizing.OriginX: Ansys.Core.Units.Quantity | None

Gets the OriginX.

property Sizing.OriginY: Ansys.Core.Units.Quantity | None

Gets the OriginY.

property Sizing.OriginZ: Ansys.Core.Units.Quantity | None

Gets the OriginZ.

property Sizing.BiasOption: Ansys.Mechanical.DataModel.Enums.BiasOptionType | None

Gets or sets the BiasOption.

property Sizing.ProximitySizeSources: Ansys.Mechanical.DataModel.Enums.ProximitySFSourcesType | None

Gets or sets the ProximitySizeSources.

property Sizing.Behavior: Ansys.Mechanical.DataModel.Enums.SizingBehavior | None

Gets or sets the Behavior.

property Sizing.Type: Ansys.Mechanical.DataModel.Enums.SizingType | None

Gets or sets the Type.

property Sizing.BiasType: Ansys.Mechanical.DataModel.Enums.BiasType | None

Gets or sets the BiasType.

property Sizing.Active: System.Boolean | None

Gets the Active.

property Sizing.CaptureCurvature: System.Boolean | None

Gets or sets the CaptureCurvature.

property Sizing.CaptureProximity: System.Boolean | None

Gets or sets the CaptureProximity.

property Sizing.NamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None

Gets or sets the NamedSelection.

property Sizing.SphereCenter: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the SphereCenter.

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

Gets or sets the Location.

property Sizing.ReverseBias: Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the ReverseBias.

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

Gets the current DataModelObject’s category.

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

Gets or sets the ScopingMethod.

property Sizing.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property Sizing.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

Sizing.GenerateMesh() System.Void

Generate the Mesh.

Sizing.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

Sizing.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

Sizing.AddComment() Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

Sizing.AddFigure() Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

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

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

Sizing.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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