Skip to main content

Mechanical scripting interface

GeometryBasedAdaptivity

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.BoundaryConditions.GeometryBasedAdaptivity

Bases: object

Defines a GeometryBasedAdaptivity.

Overview

Methods

Name Description
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.
CreateParameter Creates a new parameter for a Property.
Delete Run the Delete action.
Duplicate Creates a copy of the current DataModelObject.
GetChildren Gets the list of children, filtered by type.
GetParameter Gets the parameter corresponding to the given property.
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
PropertyByAPIName Get a property by its API name.
PropertyByName Get a property by its unique name.
RemoveParameter Removes the parameter from the parameter set corresponding to the given property.

Properties

Name Description
BufferElements Gets or sets the BufferElements.
BufferLayers Gets or sets the BufferLayers.
CheckAt Gets or sets the CheckAt.
CheckAtValue Gets or sets the CheckAtValue.
Children Gets the list of children.
Comments Gets the list of associated comments.
CoordinateSystem Gets or sets the CoordinateSystem.
Criterion Gets or sets the Criterion.
DataModelObjectCategory Gets the current DataModelObject’s category.
EndTime Gets or sets the EndTime.
EnergyCoefficient Gets or sets the EnergyCoefficient.
Figures Gets the list of associated figures.
HexDomCheckAt Gets or sets the HexDomCheckAt.
HexDomCheckAtValue Gets or sets the HexDomCheckAtValue.
HexDomEndTime Gets or sets the HexDomEndTime.
HexDomStartTime Gets or sets the HexDomStartTime.
HexDomTimeRange Gets or sets the HexDomTimeRange.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
JacobianRatioValue Gets or sets the JacobianRatioValue.
LengthX Gets or sets the LengthX.
LengthY Gets or sets the LengthY.
LengthZ Gets or sets the LengthZ.
Location Gets or sets the Location.
MaximumCornerAngle Gets or sets the MaximumCornerAngle.
Option Gets or sets the Option.
Properties Gets the list of properties for this object.
RemeshLayerEnd Gets or sets the RemeshLayerEnd.
RemeshLayerFrequency Gets or sets the RemeshLayerFrequency.
RemeshLayerStart Gets or sets the RemeshLayerStart.
SkewnessValue Gets or sets the SkewnessValue.
StartTime Gets or sets the StartTime.
Suppressed Gets or sets the Suppressed.
TimeRange Gets or sets the TimeRange.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property GeometryBasedAdaptivity.BufferElements : int | None

Gets or sets the BufferElements.

property GeometryBasedAdaptivity.BufferLayers : int | None

Gets or sets the BufferLayers.

property GeometryBasedAdaptivity.CheckAt : Ansys.Mechanical.DataModel.Enums.NonlinearAdaptivityUpdateType | None

Gets or sets the CheckAt.

property GeometryBasedAdaptivity.CheckAtValue : int | None

Gets or sets the CheckAtValue.

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

Gets the list of children.

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

Gets the list of associated comments.

property GeometryBasedAdaptivity.CoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the CoordinateSystem.

property GeometryBasedAdaptivity.Criterion : Ansys.Mechanical.DataModel.Enums.NonlinearAdaptivityCriterionType | None

Gets or sets the Criterion.

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

Gets the current DataModelObject’s category.

property GeometryBasedAdaptivity.EndTime : Ansys.Core.Units.Quantity | None

Gets or sets the EndTime.

property GeometryBasedAdaptivity.EnergyCoefficient : float | None

Gets or sets the EnergyCoefficient.

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

Gets the list of associated figures.

property GeometryBasedAdaptivity.HexDomCheckAt : Ansys.Mechanical.DataModel.Enums.NonlinearAdaptivityUpdateType | None

Gets or sets the HexDomCheckAt.

property GeometryBasedAdaptivity.HexDomCheckAtValue : int | None

Gets or sets the HexDomCheckAtValue.

property GeometryBasedAdaptivity.HexDomEndTime : Ansys.Core.Units.Quantity | None

Gets or sets the HexDomEndTime.

property GeometryBasedAdaptivity.HexDomStartTime : Ansys.Core.Units.Quantity | None

Gets or sets the HexDomStartTime.

property GeometryBasedAdaptivity.HexDomTimeRange : Ansys.Mechanical.DataModel.Enums.NonlinearAdaptivityTimeRange | None

Gets or sets the HexDomTimeRange.

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

Gets the list of associated images.

property GeometryBasedAdaptivity.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSNonlinearAdaptivityAuto | None

Gets the internal object. For advanced usage only.

property GeometryBasedAdaptivity.JacobianRatioValue : float | None

Gets or sets the JacobianRatioValue.

property GeometryBasedAdaptivity.LengthX : Ansys.Core.Units.Quantity | None

Gets or sets the LengthX.

property GeometryBasedAdaptivity.LengthY : Ansys.Core.Units.Quantity | None

Gets or sets the LengthY.

property GeometryBasedAdaptivity.LengthZ : Ansys.Core.Units.Quantity | None

Gets or sets the LengthZ.

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

Gets or sets the Location.

property GeometryBasedAdaptivity.MaximumCornerAngle : Ansys.Core.Units.Quantity | None

Gets or sets the MaximumCornerAngle.

property GeometryBasedAdaptivity.Option : Ansys.Mechanical.DataModel.Enums.NonlinearAdaptivityOptionType | None

Gets or sets the Option.

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

Gets the list of properties for this object.

property GeometryBasedAdaptivity.RemeshLayerEnd : int | None

Gets or sets the RemeshLayerEnd.

property GeometryBasedAdaptivity.RemeshLayerFrequency : int | None

Gets or sets the RemeshLayerFrequency.

property GeometryBasedAdaptivity.RemeshLayerStart : int | None

Gets or sets the RemeshLayerStart.

property GeometryBasedAdaptivity.SkewnessValue : float | None

Gets or sets the SkewnessValue.

property GeometryBasedAdaptivity.StartTime : Ansys.Core.Units.Quantity | None

Gets or sets the StartTime.

property GeometryBasedAdaptivity.Suppressed : bool | None

Gets or sets the Suppressed.

property GeometryBasedAdaptivity.TimeRange : Ansys.Mechanical.DataModel.Enums.NonlinearAdaptivityTimeRange | None

Gets or sets the TimeRange.

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

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

Method detail

GeometryBasedAdaptivity.Activate()

Activate the current object.

GeometryBasedAdaptivity.AddComment()

Creates a new child Comment.

GeometryBasedAdaptivity.AddFigure()

Creates a new child Figure.

GeometryBasedAdaptivity.AddImage(filePath: str)

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.

GeometryBasedAdaptivity.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

GeometryBasedAdaptivity.CreateParameter(propName: str)

Creates a new parameter for a Property.

GeometryBasedAdaptivity.Delete()

Run the Delete action.

GeometryBasedAdaptivity.Duplicate()

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

GeometryBasedAdaptivity.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

GeometryBasedAdaptivity.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

GeometryBasedAdaptivity.GroupSimilarObjects()

Run the GroupSimilarObjects action.

GeometryBasedAdaptivity.PropertyByAPIName(name: str)

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.

GeometryBasedAdaptivity.PropertyByName(name: str)

Get a property by its unique name.

GeometryBasedAdaptivity.RemoveParameter(propName: str)

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