OptimizationRegion#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.OptimizationRegion#

Bases: object

Defines a OptimizationRegion.

Overview#

AddExclusionRegion

Creates a new ExclusionRegion

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.

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.

InternalObject

Gets the internal object. For advanced usage only.

InitialVolumeFraction

Gets or sets the InitialVolumeFraction.

LatticeMaxDensity

Gets or sets the LatticeMaxDensity.

LatticeMinDensity

Gets or sets the LatticeMinDensity.

MorphingIterationMoveLimit

Gets or sets the MorphingIterationMoveLimit.

PenaltyFactor

Gets or sets the PenaltyFactor.

MorphingTotalMeshDeformationTolerance

Gets or sets the MorphingTotalMeshDeformationTolerance.

ExclusionThickness

Gets or sets the ExclusionThickness.

InitializationHoleSize

Gets or sets the InitializationHoleSize.

LatticeSize

Gets or sets the LatticeSize.

BoundaryCondition

Gets or sets the BoundaryCondition.

ExclusionExtension

Gets or sets the ExclusionExtension.

HyperbolicProjection

Gets or sets the HyperbolicProjection.

InitializationModifierType

Gets or sets the InitializationModifierType.

LatticeType

Gets or sets the LatticeType.

MeshDeformationToleranceControl

Gets or sets the MeshDeformationToleranceControl.

OptimizationType

Gets or sets the OptimizationType.

ShapeMoveLimitControl

Gets or sets the ShapeMoveLimitControl.

DesignRegionLocation

Gets or sets the DesignRegionLocation.

DataModelObjectCategory

Gets the current DataModelObject’s category.

ExclusionRegionLocation

Gets or sets the ExclusionRegionLocation.

ExclusionScopingMethod

Gets or sets the ExclusionScopingMethod.

Children

Gets the list of children.

MaxCumulatedDisplacementControl

Gets or sets the MaxCumulatedDisplacementControl.

MorphingTotalMoveLimit

Gets or sets the MorphingTotalMoveLimit.

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

Gets the internal object. For advanced usage only.

property OptimizationRegion.InitialVolumeFraction: System.Double | None

Gets or sets the InitialVolumeFraction.

property OptimizationRegion.LatticeMaxDensity: System.Double | None

Gets or sets the LatticeMaxDensity.

property OptimizationRegion.LatticeMinDensity: System.Double | None

Gets or sets the LatticeMinDensity.

property OptimizationRegion.MorphingIterationMoveLimit: System.Double | None

Gets or sets the MorphingIterationMoveLimit.

property OptimizationRegion.PenaltyFactor: System.Double | None

Gets or sets the PenaltyFactor.

property OptimizationRegion.MorphingTotalMeshDeformationTolerance: System.Double | None

Gets or sets the MorphingTotalMeshDeformationTolerance.

property OptimizationRegion.ExclusionThickness: Ansys.Core.Units.Quantity | None

Gets or sets the ExclusionThickness.

property OptimizationRegion.InitializationHoleSize: Ansys.Core.Units.Quantity | None

Gets or sets the InitializationHoleSize.

property OptimizationRegion.LatticeSize: Ansys.Core.Units.Quantity | None

Gets or sets the LatticeSize.

property OptimizationRegion.BoundaryCondition: Ansys.Mechanical.DataModel.Enums.BoundaryConditionType | None

Gets or sets the BoundaryCondition.

property OptimizationRegion.ExclusionExtension: Ansys.Mechanical.DataModel.Enums.ExclusionType | None

Gets or sets the ExclusionExtension.

property OptimizationRegion.HyperbolicProjection: Ansys.Mechanical.DataModel.Enums.HyperbolicProjectionType | None

Gets or sets the HyperbolicProjection.

property OptimizationRegion.InitializationModifierType: Ansys.Mechanical.DataModel.Enums.InitializationModifierType | None

Gets or sets the InitializationModifierType.

property OptimizationRegion.LatticeType: Ansys.Mechanical.DataModel.Enums.LatticeType | None

Gets or sets the LatticeType.

property OptimizationRegion.MeshDeformationToleranceControl: Ansys.Mechanical.DataModel.Enums.TopoPropertyControlType | None

Gets or sets the MeshDeformationToleranceControl.

property OptimizationRegion.OptimizationType: Ansys.Mechanical.DataModel.Enums.OptimizationType | None

Gets or sets the OptimizationType.

property OptimizationRegion.ShapeMoveLimitControl: Ansys.Mechanical.DataModel.Enums.TopoPropertyControlType | None

Gets or sets the ShapeMoveLimitControl.

property OptimizationRegion.DesignRegionLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the DesignRegionLocation.

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

Gets the current DataModelObject’s category.

property OptimizationRegion.ExclusionRegionLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the ExclusionRegionLocation.

property OptimizationRegion.ExclusionScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None

Gets or sets the ExclusionScopingMethod.

property OptimizationRegion.Children: System.Collections.Generic.IList[Ansys.ACT.Automation.Mechanical.DataModelObject] | None

Gets the list of children.

property OptimizationRegion.MaxCumulatedDisplacementControl: Ansys.Mechanical.DataModel.Enums.TopoPropertyControlType | None

Gets or sets the MaxCumulatedDisplacementControl.

property OptimizationRegion.MorphingTotalMoveLimit: System.Double | None

Gets or sets the MorphingTotalMoveLimit.

property OptimizationRegion.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

OptimizationRegion.AddExclusionRegion() Ansys.ACT.Automation.Mechanical.ExclusionRegion

Creates a new ExclusionRegion

OptimizationRegion.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

OptimizationRegion.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

OptimizationRegion.Activate() System.Void

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

OptimizationRegion.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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