Skip to main content

Mechanical scripting interface 2025

`AMProcess`

Last update: 16.07.2025

class Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.AMProcess

Bases: object

Defines a AMProcess.

Overview

Methods

Name Description
Activate Activate the current object.
AddCartesianMesh AddCartesianMesh method.
AddComment Creates a new child Comment.
AddFigure Creates a new child Figure.
AddGeneratedAMSupport Creates a new GeneratedAMSupport
AddImage Creates a new child Image.
AddPredefinedAMSupport Creates a new PredefinedAMSupport
AddSTLAMSupport Creates a new STLAMSupport
AddSupportGroup Creates a new AMSupportGroup
CleanAMStrains Run the CleanAMStrains action.
CopyTo Copies all visible properties from this object to another.
CreateAMBondConnections Run the CreateAMBondConnections action.
CreateBuildToBaseContact Run the CreateBuildToBaseContact action.
CreateParameter Creates a new parameter for a Property.
Delete Run the Delete action.
Duplicate Creates a copy of the current DataModelObject.
GenerateAMStrains Run the GenerateAMStrains action.
GetChildren Gets the list of children, filtered by type.
GetParameter Gets the parameter corresponding to the given property.
GetSequence Gets the support removal sequence for a given environment.
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
HasAMStrains Get the HasAMStrains property.
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.
ResetAllSequences Resets the sequence for all analyses

Properties

Name Description
BaseGeometry Gets or sets the BaseGeometry.
BuildGeometry Gets or sets the PartGeometry using the deprecated BuildGeometry method.
Children Gets the list of children.
Comments Gets the list of associated comments.
DataModelObjectCategory Gets the current DataModelObject’s category.
ElementSize Gets or sets the ElementSize.
Figures Gets the list of associated figures.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
LayerHeight Gets the element layer height used for the AM build step.
LengthUnits Gets or sets the LengthUnits.
MeshUsingVoxelization Gets or sets the MeshUsingVoxelization.
NonlinearEffects Gets or sets the NonlinearEffects.
PartGeometry Gets or sets the PartGeometry.
Properties Gets the list of properties for this object.
SubsampleRate Gets or sets the SubsampleRate.
VisibleProperties Gets the list of properties that are visible for this object.
WallThickness Gets or sets the WallThickness.
ZLocationAtTopOfBase Gets the ZLocationAtTopOfBase.

Property detail

property AMProcess.BaseGeometry : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the BaseGeometry.

property AMProcess.BuildGeometry : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the PartGeometry using the deprecated BuildGeometry method.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the current DataModelObject’s category.

property AMProcess.ElementSize : Ansys.Core.Units.Quantity | None

Gets or sets the ElementSize.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property AMProcess.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSAMProcessSimulationAuto | None

Gets the internal object. For advanced usage only.

property AMProcess.LayerHeight : Ansys.Core.Units.Quantity | None

Gets the element layer height used for the AM build step.

property AMProcess.LengthUnits : Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None

Gets or sets the LengthUnits.

property AMProcess.MeshUsingVoxelization : bool | None

Gets or sets the MeshUsingVoxelization.

property AMProcess.NonlinearEffects : bool | None

Gets or sets the NonlinearEffects.

property AMProcess.PartGeometry : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the PartGeometry.

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

Gets the list of properties for this object.

property AMProcess.SubsampleRate : int | None

Gets or sets the SubsampleRate.

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

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

property AMProcess.WallThickness : Ansys.Core.Units.Quantity | None

Gets or sets the WallThickness.

property AMProcess.ZLocationAtTopOfBase : Ansys.Core.Units.Quantity | None

Gets the ZLocationAtTopOfBase.

Method detail

AMProcess.Activate() → None

Activate the current object.

AMProcess.AddCartesianMesh() → Ansys.ACT.Automation.Mechanical.MeshControls.AutomaticMethod

AddCartesianMesh method.

AMProcess.AddComment() → Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

AMProcess.AddFigure() → Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

AMProcess.AddGeneratedAMSupport() → Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.GeneratedAMSupport

Creates a new GeneratedAMSupport

AMProcess.AddImage(filePath: str) → Ansys.ACT.Automation.Mechanical.Image

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.

AMProcess.AddPredefinedAMSupport() → Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.PredefinedAMSupport

Creates a new PredefinedAMSupport

AMProcess.AddSTLAMSupport() → Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.STLAMSupport

Creates a new STLAMSupport

AMProcess.AddSupportGroup() → Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.AMSupportGroup

Creates a new AMSupportGroup

AMProcess.CleanAMStrains() → None

Run the CleanAMStrains action.

AMProcess.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → None

Copies all visible properties from this object to another.

AMProcess.CreateAMBondConnections() → None

Run the CreateAMBondConnections action.

AMProcess.CreateBuildToBaseContact() → Ansys.ACT.Automation.Mechanical.Connections.ContactRegion

Run the CreateBuildToBaseContact action.

AMProcess.CreateParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

AMProcess.Delete() → None

Run the Delete action.

AMProcess.Duplicate() → Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

AMProcess.GenerateAMStrains() → None

Run the GenerateAMStrains action.

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

Gets the list of children, filtered by type.

AMProcess.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

AMProcess.GetSequence(analysis: Ansys.ACT.Automation.Mechanical.Analysis) → Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.AMSupportRemovalSequence

Gets the support removal sequence for a given environment.

AMProcess.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

AMProcess.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

AMProcess.HasAMStrains() → bool

Get the HasAMStrains property.

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

AMProcess.PropertyByName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

AMProcess.RemoveParameter(propName: str) → None

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

AMProcess.ResetAllSequences() → None

Resets the sequence for all analyses

Connect with Ansys