Sizing#

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

Bases: object

Defines a Sizing.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

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.

GenerateMesh

Generate the Mesh.

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.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

ToString

ToString method.

Active

Gets the Active.

AttachedRefs

AttachedRefs property.

Behavior

Gets or sets the Behavior.

BiasFactor

Gets or sets the BiasFactor.

BiasGrowthRate

Gets or sets the BiasGrowthRate.

BiasOption

Gets or sets the BiasOption.

BiasType

Gets or sets the BiasType.

BlendToNeighbors

Gets or sets whether to automatically blend sizes away from the scoped edges. Default: True

BodyOfInfluence

Gets the BodyOfInfluence.

CaptureCurvature

Gets or sets the CaptureCurvature.

CaptureProximity

Gets or sets the CaptureProximity.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

CurvatureNormalAngle

Gets or sets the CurvatureNormalAngle.

DataModelObjectCategory

Gets the current DataModelObject's category.

DefeatureSize

Gets or sets the DefeatureSize.

ElementSize

Gets or sets the ElementSize.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

GrowthRate

Gets or sets the GrowthRate.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

LocalMinimumSize

Gets or sets the LocalMinimumSize.

Location

Gets or sets the Location.

Name

Name property.

NamedSelection

Gets or sets the NamedSelection.

NumberOfDivisions

Gets or sets the NumberOfDivisions.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

OriginX

Gets the OriginX.

OriginY

Gets the OriginY.

OriginZ

Gets the OriginZ.

Parent

Parent property.

Properties

Gets the list of properties for this object.

ProximityGapFactor

Gets or sets the ProximityGapFactor.

ProximityMinimumSize

Gets or sets the ProximityMinimumSize.

ProximitySizeSources

Gets or sets the ProximitySizeSources.

ReverseBias

Gets or sets the ReverseBias.

ScopingMethod

Gets or sets the ScopingMethod.

SphereCenter

Gets or sets the SphereCenter.

SphereRadius

Gets or sets the SphereRadius.

State

State property.

Suppressed

Gets or sets the Suppressed.

Type

Gets or sets the Type.

VisibleProperties

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

Property detail#

property Sizing.Active: bool | None#

Gets the Active.

property Sizing.AttachedRefs: List[int] | None#

AttachedRefs property.

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

Gets or sets the Behavior.

property Sizing.BiasFactor: float | None#

Gets or sets the BiasFactor.

property Sizing.BiasGrowthRate: float | None#

Gets or sets the BiasGrowthRate.

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

Gets or sets the BiasOption.

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

Gets or sets the BiasType.

property Sizing.BlendToNeighbors: bool | None#

Gets or sets whether to automatically blend sizes away from the scoped edges. Default: True

property Sizing.BodyOfInfluence: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets the BodyOfInfluence.

property Sizing.CaptureCurvature: bool | None#

Gets or sets the CaptureCurvature.

property Sizing.CaptureProximity: bool | None#

Gets or sets the CaptureProximity.

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

Gets the list of children.

property Sizing.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets or sets the CurvatureNormalAngle.

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

Gets the current DataModelObject's category.

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

Gets or sets the DefeatureSize.

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

Gets or sets the ElementSize.

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

Gets the list of associated figures.

property Sizing.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property Sizing.GrowthRate: float | None#

Gets or sets the GrowthRate.

property Sizing.IconName: str | None#

IconName property.

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

Gets the list of associated images.

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

Gets the internal object. For advanced usage only.

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

Gets or sets the LocalMinimumSize.

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

Gets or sets the Location.

property Sizing.Name: str | None#

Name property.

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

Gets or sets the NamedSelection.

property Sizing.NumberOfDivisions: int | None#

Gets or sets the NumberOfDivisions.

property Sizing.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

Gets or sets the ProximitySizeSources.

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

Gets or sets the ReverseBias.

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

Gets or sets the ScopingMethod.

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

Gets or sets the SphereCenter.

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

Gets or sets the SphereRadius.

property Sizing.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property Sizing.Suppressed: bool | None#

Gets or sets the Suppressed.

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

Gets or sets the Type.

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

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

Method detail#

Sizing.Activate() None#

Activate the current object.

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: 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.
Sizing.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

Sizing.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

Sizing.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

Sizing.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

Sizing.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

Sizing.GenerateMesh() None#

Generate the Mesh.

Sizing.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

Sizing.GetHashCode() int#

GetHashCode method.

Sizing.GetIconFile() System.Byte#

GetIconFile method.

Sizing.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

Sizing.GetPath() str#

GetPath method.

Sizing.GetPropertyName(dispId: int) str#

GetPropertyName method.

Sizing.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Sizing.GetType() type#

GetType method.

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

GetVisibleProperties method.

Sizing.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Sizing.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Sizing.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Sizing.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Sizing.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

Sizing.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

Sizing.RemoveParameter(propName: str) None#

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

Sizing.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

Sizing.ToString() str#

ToString method.