ExclusionRegion#

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

Bases: object

Overview#

Activate

Activate the current object.

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.

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.

AttachedRefs

AttachedRefs property.

AxisForDirection

Gets or sets the Axis of the CoordinateSystemForDirection that must be used as a direction Directional Morphing LocalDesignRestrictionNature.

Children

Gets the list of children.

ClsId

ClsId property.

CoordinateSystemForDirection

Gets or sets the Coordinate system that is used to define a direction consummed for Directional Morphing LocalDesignRestrictionNature.

DataModelObjectCategory

Gets the current DataModelObject's category.

ExclusionRegionLocation

Gets or sets the ExclusionRegionLocation.

ExclusionScopingMethod

Gets or sets the ExclusionScopingMethod.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

InternalObject

InternalObject property.

LocalDesignRestrictionNature

Gets or sets the LocalDesignRestrictionNature.

LowerBound

Lower threshold for the restriction. Used for Angle Variation constraint, as an angle value, must be strictly negative and above –180 degree, otherwise an exception is thrown.

Material

Gets or sets the Material object imposed on the Selection.

MaxCumulatedDisplacementControl

Gets or sets the MaxCumulatedDisplacementControl.

MorphingTotalMoveLimit

Gets or sets the MorphingTotalMoveLimit.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

State

State property.

Suppressed

Gets or sets the Suppressed.

UpperBound

Upper threshold for the restriction. Used for Angle and Angle Variation constraints, as an angle value, must be strictly positive and below 180 degrees, otherwise an exception is thrown.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

property ExclusionRegion.AxisForDirection: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType | None#

Gets or sets the Axis of the CoordinateSystemForDirection that must be used as a direction Directional Morphing LocalDesignRestrictionNature.

property ExclusionRegion.Children: List[Ansys.ACT.Automation.Mechanical.DataModelObject] | None#

Gets the list of children.

property ExclusionRegion.ClsId: int | None#

ClsId property.

property ExclusionRegion.CoordinateSystemForDirection: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the Coordinate system that is used to define a direction consummed for Directional Morphing LocalDesignRestrictionNature.

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

Gets the current DataModelObject's category.

property ExclusionRegion.ExclusionRegionLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the ExclusionRegionLocation.

property ExclusionRegion.ExclusionScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ExclusionScopingMethod.

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

GroupingFolder property.

property ExclusionRegion.IconName: str | None#

IconName property.

property ExclusionRegion.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSOptimizationRegionAuto | None#

InternalObject property.

property ExclusionRegion.LocalDesignRestrictionNature: Ansys.Mechanical.DataModel.Enums.TopoLocalDesignRestrictionNature | None#
Gets or sets the LocalDesignRestrictionNature.

This property enables you to specify geometry that the application does not optimize or specific faces from which the application does not move any nodes vertically with respect to the original face. Non-Optimizable option is the default.

property ExclusionRegion.LowerBound: Ansys.Core.Units.Quantity | None#

Lower threshold for the restriction. Used for Angle Variation constraint, as an angle value, must be strictly negative and above –180 degree, otherwise an exception is thrown.

property ExclusionRegion.Material: Ansys.ACT.Automation.Mechanical.Material | None#

Gets or sets the Material object imposed on the Selection.

property ExclusionRegion.MaxCumulatedDisplacementControl: Ansys.Mechanical.DataModel.Enums.TopoPropertyControlType | None#

Gets or sets the MaxCumulatedDisplacementControl.

property ExclusionRegion.MorphingTotalMoveLimit: float | None#

Gets or sets the MorphingTotalMoveLimit.

property ExclusionRegion.Name: str | None#

Name property.

property ExclusionRegion.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

State property.

property ExclusionRegion.Suppressed: bool | None#

Gets or sets the Suppressed.

property ExclusionRegion.UpperBound: Ansys.Core.Units.Quantity | None#

Upper threshold for the restriction. Used for Angle and Angle Variation constraints, as an angle value, must be strictly positive and below 180 degrees, otherwise an exception is thrown.

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

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

Method detail#

ExclusionRegion.Activate() None#

Activate the current object.

ExclusionRegion.CopyTo(other: Ansys.ACT.Automation.Mechanical.ExclusionRegion) None#
Copies all visible properties from this object to another.
Override because of copy order of properties
ExclusionRegion.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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

Creates a new parameter for a Property.

ExclusionRegion.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ExclusionRegion.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

ExclusionRegion.GetHashCode() int#

GetHashCode method.

ExclusionRegion.GetIconFile() System.Byte#

GetIconFile method.

ExclusionRegion.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ExclusionRegion.GetPath() str#

GetPath method.

ExclusionRegion.GetPropertyName(dispId: int) str#

GetPropertyName method.

ExclusionRegion.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ExclusionRegion.GetType() type#

GetType method.

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

GetVisibleProperties method.

ExclusionRegion.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ExclusionRegion.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ExclusionRegion.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ExclusionRegion.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ExclusionRegion.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

ExclusionRegion.RemoveParameter(propName: str) None#

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

ExclusionRegion.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

ExclusionRegion.ToString() str#

ToString method.