AMProcess#

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

Bases: object

Defines a AMProcess.

Overview#

IsStaticAnalysisDownstreamOfThermalAnalysis

IsStaticAnalysisDownstreamOfThermalAnalysis method.

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.

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.

GenerateAMStrains

Run the GenerateAMStrains action.

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.

GetSequence

Gets the support removal sequence for a given environment.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

HasAMStrains

Get the HasAMStrains property.

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.

ResetAllSequences

Resets the sequence for all analyses

ToString

ToString method.

AttachedRefs

AttachedRefs property.

BaseGeometry

Gets or sets the BaseGeometry.

BuildGeometry

Gets or sets the PartGeometry using the deprecated BuildGeometry method.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

DisplayType

Gets or Sets the AM Process Display Type.

DisplayTypeSSFDirection

Gets or Sets the Strain Scaling Factors Display Type Direction when the Inherent Strain Definition is set to Anisotropic.

ElementSize

Gets or sets the ElementSize.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

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.

Name

Name property.

NonlinearEffects

Gets or sets the NonlinearEffects.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PartGeometry

Gets or sets the PartGeometry.

Properties

Gets the list of properties for this object.

RepresentativeMaterial

Get/sets the Representative Material which will be used for calculating heating and cooling time steps in case of multi-material builds only.

State

State property.

SubsampleRate

Gets or sets the SubsampleRate.

ThermalStrainMaterialModel

ThermalStrainMaterialModel property.

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.AttachedRefs: List[int] | None#

AttachedRefs property.

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.ClsId: int | None#

ClsId property.

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.DisplayType: Ansys.Mechanical.DataModel.Enums.AMDisplayType | None#

Gets or Sets the AM Process Display Type.

property AMProcess.DisplayTypeSSFDirection: Ansys.Mechanical.DataModel.MechanicalEnums.Common.CartesianDirection | None#

Gets or Sets the Strain Scaling Factors Display Type Direction when the Inherent Strain Definition is set to Anisotropic.

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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property AMProcess.IconName: str | None#

IconName property.

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.Name: str | None#

Name property.

property AMProcess.NonlinearEffects: bool | None#

Gets or sets the NonlinearEffects.

property AMProcess.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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.RepresentativeMaterial: Any | None#

Get/sets the Representative Material which will be used for calculating heating and cooling time steps in case of multi-material builds only. This does not change the bodies' material assignment. If unsure, choose the material with the lowest thermal diffusivity. Throws an exception if the Part Geometry is not set, if all bodies in the Part Geometry share a single material, if the input is not a valid material, or if the material is not assigned to the Part Geometry.

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

State property.

property AMProcess.SubsampleRate: int | None#

Gets or sets the SubsampleRate.

property AMProcess.ThermalStrainMaterialModel: Ansys.Mechanical.DataModel.Enums.AMThermalStrainMaterialModel | None#

ThermalStrainMaterialModel property.

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.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

AMProcess.GenerateAMStrains() None#

Run the GenerateAMStrains action.

AMProcess.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

AMProcess.GetHashCode() int#

GetHashCode method.

AMProcess.GetIconFile() System.Byte#

GetIconFile method.

AMProcess.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

AMProcess.GetPath() str#

GetPath method.

AMProcess.GetPropertyName(dispId: int) str#

GetPropertyName method.

AMProcess.GetPropertyValue(name: str) Any#

GetPropertyValue method.

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

Gets the support removal sequence for a given environment.

AMProcess.GetType() type#

GetType method.

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

GetVisibleProperties method.

AMProcess.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

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.InitializeLifetimeService() Any#

InitializeLifetimeService method.

AMProcess.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

AMProcess.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

classmethod AMProcess.IsStaticAnalysisDownstreamOfThermalAnalysis(staticAnalysis: Ansys.ACT.Automation.Mechanical.Analysis, thermalAnalysis: Ansys.ACT.Automation.Mechanical.Analysis) bool#

IsStaticAnalysisDownstreamOfThermalAnalysis method.

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

PropertyById method.

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

AMProcess.ToString() str#

ToString method.