STLAMSupport#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.AdditiveManufacturing.STLAMSupport#

Bases: object

Defines a STLAMSupport.

Overview#

Activate

Activate the current object.

AddCommandSnippet

Creates a new CommandSnippet

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

ClearGeneratedData

Run the ClearGeneratedData action.

CopyTo

Copies all visible properties from this object to another.

CreateNamedSelectionOfExternalElementFaces

Create a named selection of the generated exterior element faces.

CreateNamedSelectionOfGeneratedElements

Create a named selection of the generated elements.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

ExportStl

Export STL data.

GenerateSupportBodies

Generate Support Bodies.

GetChildren

Gets the list of children, filtered by type.

GetGeneratedBody

Returns the generated body object

GetParameter

Gets the parameter corresponding to the given property.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

ImportSTL

Run the ImportSTL 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.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

DensityMultiple

Gets or sets the DensityMultiple.

ElasticModulusMultipleInX

Gets or sets the ElasticModulusMultipleInX.

ElasticModulusMultipleInY

Gets or sets the ElasticModulusMultipleInY.

ElasticModulusMultipleInZ

Gets or sets the ElasticModulusMultipleInZ.

ElementSize

Gets the ElementSize.

Figures

Gets the list of associated figures.

Filename

Gets or sets the Filename.

GeometrySelection

Gets or sets the GeometrySelection.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

LengthUnits

Gets or sets the LengthUnits.

MaterialMultiplier

Gets or sets the MaterialMultiplier.

MultiplierEntry

Gets or sets the MultiplierEntry.

Properties

Gets the list of properties for this object.

STL

Gets or sets the STL.

STLSupportType

Gets or sets the STLSupportType.

STLSupportView

Gets or sets the STLSupportView.

ShearModulusMultipleInXY

Gets or sets the ShearModulusMultipleInXY.

ShearModulusMultipleInXZ

Gets or sets the ShearModulusMultipleInXZ.

ShearModulusMultipleInYZ

Gets or sets the ShearModulusMultipleInYZ.

Source

Gets or sets the Source.

StlWallThickness

Gets or sets the StlWallThickness.

SubsampleRate

Gets or sets the SubsampleRate.

SupportType

Gets or sets the SupportType.

ThermalConductivityMultipleInX

Gets or sets the ThermalConductivityMultipleInX.

ThermalConductivityMultipleInY

Gets or sets the ThermalConductivityMultipleInY.

ThermalConductivityMultipleInZ

Gets or sets the ThermalConductivityMultipleInZ.

VisibleProperties

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

Volume

Gets or sets the Volume.

VoxelSize

Gets the VoxelSize.

WallSpacing

Gets or sets the WallSpacing.

WallThickness

Gets or sets the WallThickness.

Property detail#

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

Gets the list of children.

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

Gets the list of associated comments.

property STLAMSupport.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

property STLAMSupport.DensityMultiple: float | None#

Gets or sets the DensityMultiple.

property STLAMSupport.ElasticModulusMultipleInX: float | None#

Gets or sets the ElasticModulusMultipleInX.

property STLAMSupport.ElasticModulusMultipleInY: float | None#

Gets or sets the ElasticModulusMultipleInY.

property STLAMSupport.ElasticModulusMultipleInZ: float | None#

Gets or sets the ElasticModulusMultipleInZ.

property STLAMSupport.ElementSize: Ansys.Core.Units.Quantity | None#

Gets the ElementSize.

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

Gets the list of associated figures.

property STLAMSupport.Filename: str | None#

Gets or sets the Filename.

property STLAMSupport.GeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the GeometrySelection.

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

Gets the list of associated images.

property STLAMSupport.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSAMSupportAuto | None#

Gets the internal object. For advanced usage only.

property STLAMSupport.LengthUnits: Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None#

Gets or sets the LengthUnits.

property STLAMSupport.MaterialMultiplier: float | None#

Gets or sets the MaterialMultiplier.

property STLAMSupport.MultiplierEntry: Ansys.Mechanical.DataModel.Enums.AMMultiplierEntryType | None#

Gets or sets the MultiplierEntry.

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

Gets the list of properties for this object.

property STLAMSupport.STL: Ansys.ACT.Automation.Mechanical.STL | None#

Gets or sets the STL.

property STLAMSupport.STLSupportType: Ansys.Mechanical.DataModel.Enums.AMSupportSTLType | None#

Gets or sets the STLSupportType.

property STLAMSupport.STLSupportView: Ansys.Mechanical.DataModel.Enums.STLSupportViewType | None#

Gets or sets the STLSupportView.

property STLAMSupport.ShearModulusMultipleInXY: float | None#

Gets or sets the ShearModulusMultipleInXY.

property STLAMSupport.ShearModulusMultipleInXZ: float | None#

Gets or sets the ShearModulusMultipleInXZ.

property STLAMSupport.ShearModulusMultipleInYZ: float | None#

Gets or sets the ShearModulusMultipleInYZ.

property STLAMSupport.Source: Ansys.Mechanical.DataModel.Enums.AMStlSource | None#

Gets or sets the Source.

property STLAMSupport.StlWallThickness: Ansys.Core.Units.Quantity | None#

Gets or sets the StlWallThickness.

property STLAMSupport.SubsampleRate: int | None#

Gets or sets the SubsampleRate.

property STLAMSupport.SupportType: Ansys.Mechanical.DataModel.Enums.AMSupportType | None#

Gets or sets the SupportType.

property STLAMSupport.ThermalConductivityMultipleInX: float | None#

Gets or sets the ThermalConductivityMultipleInX.

property STLAMSupport.ThermalConductivityMultipleInY: float | None#

Gets or sets the ThermalConductivityMultipleInY.

property STLAMSupport.ThermalConductivityMultipleInZ: float | None#

Gets or sets the ThermalConductivityMultipleInZ.

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

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

property STLAMSupport.Volume: Ansys.Core.Units.Quantity | None#

Gets or sets the Volume.

property STLAMSupport.VoxelSize: Ansys.Core.Units.Quantity | None#

Gets the VoxelSize.

property STLAMSupport.WallSpacing: Ansys.Core.Units.Quantity | None#

Gets or sets the WallSpacing.

property STLAMSupport.WallThickness: Ansys.Core.Units.Quantity | None#

Gets or sets the WallThickness.

Method detail#

STLAMSupport.Activate() None#

Activate the current object.

STLAMSupport.AddCommandSnippet() Ansys.ACT.Automation.Mechanical.CommandSnippet#

Creates a new CommandSnippet

STLAMSupport.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

STLAMSupport.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

STLAMSupport.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.
STLAMSupport.ClearGeneratedData() None#

Run the ClearGeneratedData action.

STLAMSupport.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

STLAMSupport.CreateNamedSelectionOfExternalElementFaces() Iterable[Ansys.ACT.Automation.Mechanical.NamedSelection]#

Create a named selection of the generated exterior element faces.

STLAMSupport.CreateNamedSelectionOfGeneratedElements() Iterable[Ansys.ACT.Automation.Mechanical.NamedSelection]#

Create a named selection of the generated elements.

STLAMSupport.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

STLAMSupport.Delete() None#

Run the Delete action.

STLAMSupport.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

STLAMSupport.ExportStl(filename: str, progress: Ansys.Mechanical.Application.Progress) None#

Export STL data.

STLAMSupport.GenerateSupportBodies(progress: Ansys.Mechanical.Application.Progress) None#

Generate Support Bodies.

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

Gets the list of children, filtered by type.

STLAMSupport.GetGeneratedBody() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Returns the generated body object

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

Gets the parameter corresponding to the given property.

STLAMSupport.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

STLAMSupport.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

STLAMSupport.ImportSTL() None#

Run the ImportSTL action.

STLAMSupport.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.
STLAMSupport.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

STLAMSupport.RemoveParameter(propName: str) None#

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