Skip to main content

Mechanical scripting interface

LimitBoundary

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.BoundaryConditions.LimitBoundary

Bases: object

Defines a LimitBoundary.

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.
PromoteToNamedSelection Run the PromoteToNamedSelection 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
Children Gets the list of children.
Comments Gets the list of associated comments.
DataModelObjectCategory Gets the current DataModelObject’s category.
Figures Gets the list of associated figures.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
LimitBCDirection Gets or sets the LimitBCDirection.
LimitBCMax Gets or sets the LimitBCMax.
LimitBCMaxX Gets or sets the LimitBCMaxX.
LimitBCMaxY Gets or sets the LimitBCMaxY.
LimitBCMaxZ Gets or sets the LimitBCMaxZ.
LimitBCMin Gets or sets the LimitBCMin.
LimitBCMinX Gets or sets the LimitBCMinX.
LimitBCMinY Gets or sets the LimitBCMinY.
LimitBCMinZ Gets or sets the LimitBCMinZ.
Location Gets or sets the Location.
Properties Gets the list of properties for this object.
ReadOnly Gets or sets the ReadOnly.
SharedRefBody Gets or sets the SharedRefBody.
Suppressed Gets or sets the Suppressed.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the current DataModelObject’s category.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property LimitBoundary.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSLoadAuto | None

Gets the internal object. For advanced usage only.

property LimitBoundary.LimitBCDirection : Ansys.Mechanical.DataModel.Enums.LimitBCDirection | None

Gets or sets the LimitBCDirection.

property LimitBoundary.LimitBCMax : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMax.

property LimitBoundary.LimitBCMaxX : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMaxX.

property LimitBoundary.LimitBCMaxY : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMaxY.

property LimitBoundary.LimitBCMaxZ : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMaxZ.

property LimitBoundary.LimitBCMin : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMin.

property LimitBoundary.LimitBCMinX : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMinX.

property LimitBoundary.LimitBCMinY : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMinY.

property LimitBoundary.LimitBCMinZ : Ansys.Core.Units.Quantity | None

Gets or sets the LimitBCMinZ.

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

Gets or sets the Location.

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

Gets the list of properties for this object.

property LimitBoundary.ReadOnly : bool | None

Gets or sets the ReadOnly.

property LimitBoundary.SharedRefBody : Ansys.ACT.Automation.Mechanical.Body | None

Gets or sets the SharedRefBody.

property LimitBoundary.Suppressed : bool | None

Gets or sets the Suppressed.

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

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

Method detail

LimitBoundary.Activate()

Activate the current object.

LimitBoundary.AddComment()

Creates a new child Comment.

LimitBoundary.AddFigure()

Creates a new child Figure.

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

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

Copies all visible properties from this object to another.

LimitBoundary.CreateParameter(propName: str)

Creates a new parameter for a Property.

LimitBoundary.Delete()

Run the Delete action.

LimitBoundary.Duplicate()

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

LimitBoundary.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

LimitBoundary.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

LimitBoundary.GroupSimilarObjects()

Run the GroupSimilarObjects action.

LimitBoundary.PromoteToNamedSelection()

Run the PromoteToNamedSelection action.

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

LimitBoundary.PropertyByName(name: str)

Get a property by its unique name.

LimitBoundary.RemoveParameter(propName: str)

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