Skip to main content

Mechanical scripting interface

ImportedInitialStrain

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.ImportedLoads.ImportedInitialStrain

Bases: object

Defines a ImportedInitialStrain.

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.
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 ImportedInitialStrain.Algorithm : Ansys.Mechanical.DataModel.Enums.MappingAlgorithm | None

Algorithm property.

property ImportedInitialStrain.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 ImportedInitialStrain.BoundingBoxTolerance : Ansys.Core.Units.Quantity | None

BoundingBoxTolerance property.

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

Gets the list of children.

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

Gets the list of associated comments.

property ImportedInitialStrain.CreateNameSelectionForMappedNodes : bool | None

CreateNameSelectionForMappedNodes property.

property ImportedInitialStrain.CreateNameSelectionForOutsideNodes : bool | None

CreateNameSelectionForOutsideNodes property.

property ImportedInitialStrain.CreateNameSelectionForUnmappedNodes : bool | None

CreateNameSelectionForUnmappedNodes property.

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

Gets the current DataModelObject’s category.

property ImportedInitialStrain.DisplayInteriorPoints : bool | None

DisplayInteriorPoints property.

property ImportedInitialStrain.DisplayProjectionPlane : bool | None

DisplayProjectionPlane property.

property ImportedInitialStrain.DisplaySourcePointIds : bool | None

DisplaySourcePointIds property.

property ImportedInitialStrain.DisplaySourcePoints : bool | None

DisplaySourcePoints property.

property ImportedInitialStrain.ExtrapolationTolerancePercent : float | None

ExtrapolationTolerancePercent property.

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

Gets the list of associated figures.

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

Gets the list of associated images.

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

Gets the internal object. For advanced usage only.

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

Interpolation property.

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

KrigingCorrelationFunction property.

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

KrigingPolynom property.

property ImportedInitialStrain.Limit : int | None

Limit property.

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

Gets or sets the Location.

property ImportedInitialStrain.MappedNodesName : str | None

MappedNodesName property.

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

Mapping property.

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

MappingControl property.

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

MaxOutsideDistance property.

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

Method property.

property ImportedInitialStrain.NumberOfPoints : int | None

NumberOfPoints property.

property ImportedInitialStrain.OrientationRealignment : bool | None

OrientationRealignment property.

property ImportedInitialStrain.OutsideDistanceCheck : bool | None

OutsideDistanceCheck property.

property ImportedInitialStrain.OutsideNodesName : str | None

OutsideNodesName property.

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

OutsideOption property.

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

Pinball property.

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

Projection property.

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

Gets the list of properties for this object.

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

RigidBodyTransformationType property.

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

RigidTransformSourceCoordinateSystem property.

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

RigidTransformTargetCoordinateSystem property.

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

Gets or sets the SharedRefBody.

property ImportedInitialStrain.ShellThicknessFactor : float | None

ShellThicknessFactor property.

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

SourceMaximum property.

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

SourceMinimum property.

property ImportedInitialStrain.Suppressed : bool | None

Gets or sets the Suppressed.

property ImportedInitialStrain.UnmappedNodesName : str | None

UnmappedNodesName property.

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

VariableType property.

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

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

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

Weighting property.

Method detail

ImportedInitialStrain.Activate()

Activate the current object.

ImportedInitialStrain.AddComment()

Creates a new child Comment.

ImportedInitialStrain.AddFigure()

Creates a new child Figure.

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

ImportedInitialStrain.AddMappingValidation()

Creates a new MappingValidation

ImportedInitialStrain.ClearGeneratedData()

Run the ClearGeneratedData action.

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

Copies all visible properties from this object to another.

ImportedInitialStrain.CreateParameter(propName: str)

Creates a new parameter for a Property.

ImportedInitialStrain.Delete()

Run the Delete action.

ImportedInitialStrain.Duplicate()

Creates a copy of the current DataModelObject.

ImportedInitialStrain.ExportToTextFile(filePath: str)

Run the ExportToTextFile action.

ImportedInitialStrain.GetActivateAtLoadStep(stepNumber: int)

GetActivateAtLoadStep method.

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

Gets the list of children, filtered by type.

ImportedInitialStrain.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

ImportedInitialStrain.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

ImportedInitialStrain.GroupSimilarObjects()

Run the GroupSimilarObjects action.

ImportedInitialStrain.Import()

Import.

ImportedInitialStrain.ImportLoad()

Run the ImportLoad action.

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

ImportedInitialStrain.PropertyByName(name: str)

Get a property by its unique name.

ImportedInitialStrain.ReloadConfiguration()

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

ImportedInitialStrain.RemoveParameter(propName: str)

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

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

SetActivateAtLoadStep method.