Skip to main content

Mechanical scripting interface

ImportedTrace

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.ImportedLoads.ImportedTrace

Bases: object

Defines a ImportedTrace.

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.
AddMappingValidation Creates a new MappingValidation
ClearGeneratedData Run the ClearGeneratedData action.
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.
ExportToTextFile Run the ExportToTextFile action.
GetActivateAtLoadStep GetActivateAtLoadStep method.
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.
Import Import.
ImportLoad Run the ImportLoad action.
PropertyByAPIName Get a property by its API name.
PropertyByName Get a property by its unique name.
ReloadConfiguration Reload the Imported Load’s setup from its associated configuration file (if available).
RemoveParameter Removes the parameter from the parameter set corresponding to the given property.
SetActivateAtLoadStep SetActivateAtLoadStep method.

Properties

Name Description
Algorithm Algorithm property.
ApplyAs This controls how the imported load is applied, either as a boundary condition or an initial condition.
BoundingBoxTolerance BoundingBoxTolerance property.
Children Gets the list of children.
Comments Gets the list of associated comments.
CreateNameSelectionForMappedNodes CreateNameSelectionForMappedNodes property.
CreateNameSelectionForOutsideNodes CreateNameSelectionForOutsideNodes property.
CreateNameSelectionForUnmappedNodes CreateNameSelectionForUnmappedNodes property.
DataModelObjectCategory Gets the current DataModelObject’s category.
DisplayInteriorPoints DisplayInteriorPoints property.
DisplayProjectionPlane DisplayProjectionPlane property.
DisplaySourcePointIds DisplaySourcePointIds property.
DisplaySourcePoints DisplaySourcePoints property.
ExtrapolationTolerancePercent ExtrapolationTolerancePercent property.
Figures Gets the list of associated figures.
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
Interpolation Interpolation property.
KrigingCorrelationFunction KrigingCorrelationFunction property.
KrigingPolynom KrigingPolynom property.
Layers Layers property.
Limit Limit property.
Location Gets or sets the Location.
MappedNodesName MappedNodesName property.
Mapping Mapping property.
MappingControl MappingControl property.
MaxOutsideDistance MaxOutsideDistance property.
Method Method property.
NumberOfPoints NumberOfPoints property.
OrientationRealignment OrientationRealignment property.
OutsideDistanceCheck OutsideDistanceCheck property.
OutsideNodesName OutsideNodesName property.
OutsideOption OutsideOption property.
Pinball Pinball property.
Projection Projection property.
Properties Gets the list of properties for this object.
RigidBodyTransformationType RigidBodyTransformationType property.
RigidTransformSourceCoordinateSystem RigidTransformSourceCoordinateSystem property.
RigidTransformTargetCoordinateSystem RigidTransformTargetCoordinateSystem property.
SharedRefBody Gets or sets the SharedRefBody.
ShellThicknessFactor ShellThicknessFactor property.
SourceMaximum SourceMaximum property.
SourceMinimum SourceMinimum property.
Suppressed Gets or sets the Suppressed.
UnmappedNodesName UnmappedNodesName property.
VariableType VariableType property.
Vias Vias property.
VisibleProperties Gets the list of properties that are visible for this object.
Weighting Weighting property.

Property detail

property ImportedTrace.Algorithm : Ansys.Mechanical.DataModel.Enums.MappingAlgorithm | None

Algorithm property.

property ImportedTrace.ApplyAs : Ansys.Mechanical.DataModel.Enums.ExternalLoadApplicationType | None

This controls how the imported load is applied, either as a boundary condition or an initial condition.

property ImportedTrace.BoundingBoxTolerance : Ansys.Core.Units.Quantity | None

BoundingBoxTolerance property.

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

Gets the list of children.

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

Gets the list of associated comments.

property ImportedTrace.CreateNameSelectionForMappedNodes : bool | None

CreateNameSelectionForMappedNodes property.

property ImportedTrace.CreateNameSelectionForOutsideNodes : bool | None

CreateNameSelectionForOutsideNodes property.

property ImportedTrace.CreateNameSelectionForUnmappedNodes : bool | None

CreateNameSelectionForUnmappedNodes property.

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

Gets the current DataModelObject’s category.

property ImportedTrace.DisplayInteriorPoints : bool | None

DisplayInteriorPoints property.

property ImportedTrace.DisplayProjectionPlane : bool | None

DisplayProjectionPlane property.

property ImportedTrace.DisplaySourcePointIds : bool | None

DisplaySourcePointIds property.

property ImportedTrace.DisplaySourcePoints : bool | None

DisplaySourcePoints property.

property ImportedTrace.ExtrapolationTolerancePercent : float | None

ExtrapolationTolerancePercent property.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property ImportedTrace.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSExternalLoadAuto | None

Gets the internal object. For advanced usage only.

property ImportedTrace.Interpolation : Ansys.Mechanical.DataModel.Enums.InterpolationType | None

Interpolation property.

property ImportedTrace.KrigingCorrelationFunction : Ansys.Mechanical.DataModel.Enums.KrigingCorrFuncType | None

KrigingCorrelationFunction property.

property ImportedTrace.KrigingPolynom : Ansys.Mechanical.DataModel.Enums.KrigingPolynomType | None

KrigingPolynom property.

property ImportedTrace.Layers : Iterable[Ansys.ACT.Automation.Mechanical.WorksheetRow] | None

Layers property.

property ImportedTrace.Limit : int | None

Limit property.

property ImportedTrace.Location : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Location.

property ImportedTrace.MappedNodesName : str | None

MappedNodesName property.

property ImportedTrace.Mapping : Ansys.Mechanical.DataModel.Enums.MappingInterpolationType | None

Mapping property.

property ImportedTrace.MappingControl : Ansys.Mechanical.DataModel.Enums.MappingControlType | None

MappingControl property.

property ImportedTrace.MaxOutsideDistance : Ansys.Core.Units.Quantity | None

MaxOutsideDistance property.

property ImportedTrace.Method : Ansys.Mechanical.DataModel.Enums.MappingMethod | None

Method property.

property ImportedTrace.NumberOfPoints : int | None

NumberOfPoints property.

property ImportedTrace.OrientationRealignment : bool | None

OrientationRealignment property.

property ImportedTrace.OutsideDistanceCheck : bool | None

OutsideDistanceCheck property.

property ImportedTrace.OutsideNodesName : str | None

OutsideNodesName property.

property ImportedTrace.OutsideOption : Ansys.Mechanical.DataModel.Enums.MappingOutsideOption | None

OutsideOption property.

property ImportedTrace.Pinball : Ansys.Core.Units.Quantity | None

Pinball property.

property ImportedTrace.Projection : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Projection property.

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

Gets the list of properties for this object.

property ImportedTrace.RigidBodyTransformationType : Ansys.Mechanical.DataModel.Enums.RigidBodyTransformationType | None

RigidBodyTransformationType property.

property ImportedTrace.RigidTransformSourceCoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

RigidTransformSourceCoordinateSystem property.

property ImportedTrace.RigidTransformTargetCoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

RigidTransformTargetCoordinateSystem property.

property ImportedTrace.SharedRefBody : Ansys.ACT.Automation.Mechanical.Body | None

Gets or sets the SharedRefBody.

property ImportedTrace.ShellThicknessFactor : float | None

ShellThicknessFactor property.

property ImportedTrace.SourceMaximum : Ansys.Core.Units.Quantity | None

SourceMaximum property.

property ImportedTrace.SourceMinimum : Ansys.Core.Units.Quantity | None

SourceMinimum property.

property ImportedTrace.Suppressed : bool | None

Gets or sets the Suppressed.

property ImportedTrace.UnmappedNodesName : str | None

UnmappedNodesName property.

property ImportedTrace.VariableType : Ansys.Mechanical.DataModel.Enums.MappingVariableType | None

VariableType property.

property ImportedTrace.Vias : Iterable[Ansys.ACT.Automation.Mechanical.WorksheetRow] | None

Vias property.

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

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

property ImportedTrace.Weighting : Ansys.Mechanical.DataModel.Enums.WeightingType | None

Weighting property.

Method detail

ImportedTrace.Activate()

Activate the current object.

ImportedTrace.AddComment()

Creates a new child Comment.

ImportedTrace.AddFigure()

Creates a new child Figure.

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

ImportedTrace.AddMappingValidation()

Creates a new MappingValidation

ImportedTrace.ClearGeneratedData()

Run the ClearGeneratedData action.

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

Copies all visible properties from this object to another.

ImportedTrace.CreateParameter(propName: str)

Creates a new parameter for a Property.

ImportedTrace.Delete()

Run the Delete action.

ImportedTrace.Duplicate()

Creates a copy of the current DataModelObject.

ImportedTrace.ExportToTextFile(filePath: str)

Run the ExportToTextFile action.

ImportedTrace.GetActivateAtLoadStep(stepNumber: int)

GetActivateAtLoadStep method.

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

Gets the list of children, filtered by type.

ImportedTrace.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

ImportedTrace.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

ImportedTrace.GroupSimilarObjects()

Run the GroupSimilarObjects action.

ImportedTrace.Import()

Import.

ImportedTrace.ImportLoad()

Run the ImportLoad action.

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

ImportedTrace.PropertyByName(name: str)

Get a property by its unique name.

ImportedTrace.ReloadConfiguration()

Reload the Imported Load’s setup from its associated configuration file (if available).

ImportedTrace.RemoveParameter(propName: str)

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

ImportedTrace.SetActivateAtLoadStep(stepNumber: int, bActive: bool)

SetActivateAtLoadStep method.