Skip to main content

Mechanical scripting interface

ImportedDisplacement

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.ImportedLoads.ImportedDisplacement

Bases: object

Defines a ImportedDisplacement.

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 Gets whether the imported displacement is active at the specified load step.
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 Sets whether the imported displacement is active at the specified load step.

Properties

Name Description
Algorithm Algorithm property.
ApplyAs This controls how the imported load is applied, either as a boundary condition or an initial condition.
ApplyToInitialMesh Gets or sets the ApplyToInitialMesh.
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.
DisplacementType Gets or sets the DisplacementType.
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.
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.
VisibleProperties Gets the list of properties that are visible for this object.
Weighting Weighting property.

Property detail

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

Algorithm property.

property ImportedDisplacement.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 ImportedDisplacement.ApplyToInitialMesh : bool | None

Gets or sets the ApplyToInitialMesh.

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

BoundingBoxTolerance property.

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

Gets the list of children.

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

Gets the list of associated comments.

property ImportedDisplacement.CreateNameSelectionForMappedNodes : bool | None

CreateNameSelectionForMappedNodes property.

property ImportedDisplacement.CreateNameSelectionForOutsideNodes : bool | None

CreateNameSelectionForOutsideNodes property.

property ImportedDisplacement.CreateNameSelectionForUnmappedNodes : bool | None

CreateNameSelectionForUnmappedNodes property.

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

Gets the current DataModelObject’s category.

property ImportedDisplacement.DisplacementType : Ansys.Mechanical.DataModel.Enums.ExternalLoadDisplacementType | None

Gets or sets the DisplacementType.

property ImportedDisplacement.DisplayInteriorPoints : bool | None

DisplayInteriorPoints property.

property ImportedDisplacement.DisplayProjectionPlane : bool | None

DisplayProjectionPlane property.

property ImportedDisplacement.DisplaySourcePointIds : bool | None

DisplaySourcePointIds property.

property ImportedDisplacement.DisplaySourcePoints : bool | None

DisplaySourcePoints property.

property ImportedDisplacement.ExtrapolationTolerancePercent : float | None

ExtrapolationTolerancePercent property.

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

Gets the list of associated figures.

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

Gets the list of associated images.

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

Gets the internal object. For advanced usage only.

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

Interpolation property.

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

KrigingCorrelationFunction property.

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

KrigingPolynom property.

property ImportedDisplacement.Limit : int | None

Limit property.

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

Gets or sets the Location.

property ImportedDisplacement.MappedNodesName : str | None

MappedNodesName property.

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

Mapping property.

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

MappingControl property.

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

MaxOutsideDistance property.

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

Method property.

property ImportedDisplacement.NumberOfPoints : int | None

NumberOfPoints property.

property ImportedDisplacement.OrientationRealignment : bool | None

OrientationRealignment property.

property ImportedDisplacement.OutsideDistanceCheck : bool | None

OutsideDistanceCheck property.

property ImportedDisplacement.OutsideNodesName : str | None

OutsideNodesName property.

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

OutsideOption property.

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

Pinball property.

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

Projection property.

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

Gets the list of properties for this object.

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

RigidBodyTransformationType property.

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

RigidTransformSourceCoordinateSystem property.

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

RigidTransformTargetCoordinateSystem property.

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

Gets or sets the SharedRefBody.

property ImportedDisplacement.ShellThicknessFactor : float | None

ShellThicknessFactor property.

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

SourceMaximum property.

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

SourceMinimum property.

property ImportedDisplacement.Suppressed : bool | None

Gets or sets the Suppressed.

property ImportedDisplacement.UnmappedNodesName : str | None

UnmappedNodesName property.

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

VariableType property.

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

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

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

Weighting property.

Method detail

ImportedDisplacement.Activate()

Activate the current object.

ImportedDisplacement.AddComment()

Creates a new child Comment.

ImportedDisplacement.AddFigure()

Creates a new child Figure.

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

ImportedDisplacement.AddMappingValidation()

Creates a new MappingValidation

ImportedDisplacement.ClearGeneratedData()

Run the ClearGeneratedData action.

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

Copies all visible properties from this object to another.

ImportedDisplacement.CreateParameter(propName: str)

Creates a new parameter for a Property.

ImportedDisplacement.Delete()

Run the Delete action.

ImportedDisplacement.Duplicate()

Creates a copy of the current DataModelObject.

ImportedDisplacement.ExportToTextFile(filePath: str)

Run the ExportToTextFile action.

ImportedDisplacement.GetActivateAtLoadStep(stepNumber: int)

Gets whether the imported displacement is active at the specified load step.

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

Gets the list of children, filtered by type.

ImportedDisplacement.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

ImportedDisplacement.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

ImportedDisplacement.GroupSimilarObjects()

Run the GroupSimilarObjects action.

ImportedDisplacement.Import()

Import.

ImportedDisplacement.ImportLoad()

Run the ImportLoad action.

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

ImportedDisplacement.PropertyByName(name: str)

Get a property by its unique name.

ImportedDisplacement.ReloadConfiguration()

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

ImportedDisplacement.RemoveParameter(propName: str)

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

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

Sets whether the imported displacement is active at the specified load step.