Skip to main content

Mechanical scripting interface

EndRelease

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.EndRelease

Bases: object

Defines a EndRelease.

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
Behavior Gets or sets the Behavior.
Children Gets the list of children.
Comments Gets the list of associated comments.
CoordinateSystem Gets or sets the Coordinate System.
DataModelObjectCategory Gets the current DataModelObject’s category.
EdgeLocation Gets or sets the EdgeLocation.
Figures Gets the list of associated figures.
Images Gets the list of associated images.
IndependentEdges Gets or sets the IndependentEdges.
InternalObject Gets the internal object. For advanced usage only.
Properties Gets the list of properties for this object.
RotationX Gets or sets the RotationX.
RotationY Gets or sets the RotationY.
RotationZ Gets or sets the RotationZ.
Suppressed Gets or sets the Suppressed.
TranslationX Gets or sets the TranslationX.
TranslationY Gets or sets the TranslationY.
TranslationZ Gets or sets the TranslationZ.
VertexLocation Gets or sets the VertexLocation.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property EndRelease.Behavior : Ansys.Mechanical.DataModel.Enums.BeamEndReleaseBehavior | None

Gets or sets the Behavior.

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

Gets the list of children.

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

Gets the list of associated comments.

property EndRelease.CoordinateSystem : Ansys.Mechanical.DataModel.Interfaces.ICoordinateSystemSelection | None

Gets or sets the Coordinate System.

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

Gets the current DataModelObject’s category.

property EndRelease.EdgeLocation : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the EdgeLocation.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property EndRelease.IndependentEdges : bool | None

Gets or sets the IndependentEdges.

property EndRelease.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSBeamEndReleaseAuto | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

property EndRelease.RotationX : Ansys.Mechanical.DataModel.Enums.FixedOrFree | None

Gets or sets the RotationX.

property EndRelease.RotationY : Ansys.Mechanical.DataModel.Enums.FixedOrFree | None

Gets or sets the RotationY.

property EndRelease.RotationZ : Ansys.Mechanical.DataModel.Enums.FixedOrFree | None

Gets or sets the RotationZ.

property EndRelease.Suppressed : bool | None

Gets or sets the Suppressed.

property EndRelease.TranslationX : Ansys.Mechanical.DataModel.Enums.FixedOrFree | None

Gets or sets the TranslationX.

property EndRelease.TranslationY : Ansys.Mechanical.DataModel.Enums.FixedOrFree | None

Gets or sets the TranslationY.

property EndRelease.TranslationZ : Ansys.Mechanical.DataModel.Enums.FixedOrFree | None

Gets or sets the TranslationZ.

property EndRelease.VertexLocation : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the VertexLocation.

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

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

Method detail

EndRelease.Activate()

Activate the current object.

EndRelease.AddComment()

Creates a new child Comment.

EndRelease.AddFigure()

Creates a new child Figure.

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

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

Copies all visible properties from this object to another.

EndRelease.CreateParameter(propName: str)

Creates a new parameter for a Property.

EndRelease.Delete()

Run the Delete action.

EndRelease.Duplicate()

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

EndRelease.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

EndRelease.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

EndRelease.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

EndRelease.PropertyByName(name: str)

Get a property by its unique name.

EndRelease.RemoveParameter(propName: str)

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