STLAMSupport#

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

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.

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.

ExportStl

Export STL data.

GenerateSupportBodies

Generate Support Bodies.

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

GetGeneratedBody

Returns the generated body object

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.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

ImportSTL

Run the ImportSTL action.

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.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

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.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

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.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

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.

State

State property.

StlWallThickness

Gets or sets the StlWallThickness.

SubsampleRate

Gets or sets the SubsampleRate.

SupportType

Gets or sets the SupportType.

Suppressed

Gets or sets the Suppressed state.

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

AttachedRefs property.

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

Gets the list of children.

property STLAMSupport.ClsId: int | None#

ClsId property.

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

GroupingFolder property.

property STLAMSupport.IconName: str | None#

IconName property.

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

Name property.

property STLAMSupport.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

State property.

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.Suppressed: bool | None#

Gets or sets the Suppressed state.

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

CreateObjRef method.

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

Equals method.

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.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

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

Returns the generated body object

STLAMSupport.GetHashCode() int#

GetHashCode method.

STLAMSupport.GetIconFile() System.Byte#

GetIconFile method.

STLAMSupport.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

STLAMSupport.GetPath() str#

GetPath method.

STLAMSupport.GetPropertyName(dispId: int) str#

GetPropertyName method.

STLAMSupport.GetPropertyValue(name: str) Any#

GetPropertyValue method.

STLAMSupport.GetType() type#

GetType method.

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

GetVisibleProperties method.

STLAMSupport.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

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

InitializeLifetimeService method.

STLAMSupport.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

STLAMSupport.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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.

STLAMSupport.ToString() str#

ToString method.