InitialCondition#

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

Bases: object

Defines a InitialCondition.

Overview#

Activate

Activate the current object.

AddCommandSnippet

Creates a new child CommandSnippet.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

CopyTo

Copies all visible properties from this object to another.

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.

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

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.

GetQuantityName

GetQuantityName method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

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

TransferLoadsFromLinkedModalSystem

Creates Load Applications automatically to transfer and scale base excitations and load vectors generated for the loads under linked Modal analysis.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

ContactStatus

Gets or sets the ContactStatus.

CoordinateSystem

Gets or sets the CoordinateSystem.

DataModelObjectCategory

Gets the current DataModelObject's category.

DefineBy

Gets or sets the DefineBy.

Direction

Gets or sets the Direction.

DropDirection

Gets or sets the DropDirection.

DropHeight

Gets or sets the DropHeight.

DropTestDefineBy

Gets or sets the DropTestDefineBy.

ExplicitPreStressTime

Gets or sets the ExplicitPreStressTime.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImpactVelocity

Gets or sets the ImpactVelocity.

InitialEnvironment

Gets or sets the InitialEnvironment.

InitialTemperature

Gets or sets the InitialTemperature.

InitialTemperatureValue

Gets or sets the InitialTemperatureValue.

InputType

Gets or sets the InputType.

InternalObject

Gets the internal object. For advanced usage only.

LoadControl

Gets or sets the LoadControl.

Location

Gets or sets the Location.

ModalEnvironmentHarmonicIC

Gets or sets the ModalEnvironmentHarmonicIC.

ModalEnvironmentPSDIC

Gets or sets the ModalEnvironmentPSDIC.

ModalEnvironmentRSIC

Gets or sets the ModalEnvironmentRSIC.

ModalEnvironmentTransientMSUPIC

Gets or sets the ModalEnvironmentTransientMSUPIC.

ModalICEnvironment

Gets or sets the ModalICEnvironment.

Mode

Gets or sets the Mode.

Name

Name property.

NewtonRaphsonOption

Gets the NewtonRaphsonOption.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PreStressDefineBy

Gets or sets the PreStressDefineBy.

PreStressEnvironmentHarmonicIC

Gets or sets the PreStressEnvironmentHarmonicIC.

PreStressEnvironmentHarmonicMSUPModal

Gets the PreStressEnvironmentHarmonicMSUPModal.

PreStressEnvironmentModalIC

Gets or sets the PreStressEnvironmentModalIC.

PreStressEnvironmentTransientIC

Gets or sets the PreStressEnvironmentTransientIC.

PreStressEnvironmentTransientMSUPModal

Gets the PreStressEnvironmentTransientMSUPModal.

PreStressICEnvironment

Gets or sets the PreStressICEnvironment.

PreStressLoadStep

Gets or sets the PreStressLoadStep.

PreStressTime

Gets or sets the PreStressTime.

PressureInitialization

Gets or sets the PressureInitialization.

Properties

Gets the list of properties for this object.

ReferenceTemperature

Gets or sets the ReferenceTemperature.

ReportedLoadStep

Gets the ReportedLoadStep.

ReportedSubStep

Gets the ReportedSubStep.

ReportedTime

Gets the ReportedTime.

State

State property.

Suppressed

Gets or sets the Suppressed.

Time

Gets or sets the Time.

TimeStepFactor

Gets or sets the TimeStepFactor.

TotalMagnitude

Gets or sets the Magnitude.

VisibleProperties

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

XComponent

Gets or sets the XComponent.

YComponent

Gets or sets the YComponent.

ZComponent

Gets or sets the ZComponent.

Property detail#

property InitialCondition.AttachedRefs: List[int] | None#

AttachedRefs property.

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

Gets the list of children.

property InitialCondition.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property InitialCondition.ContactStatus: Ansys.Mechanical.DataModel.Enums.PreStressContactStatus | None#

Gets or sets the ContactStatus.

property InitialCondition.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the CoordinateSystem.

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

Gets the current DataModelObject's category.

property InitialCondition.DefineBy: Ansys.Mechanical.DataModel.Enums.LoadDefineBy | None#

Gets or sets the DefineBy.

property InitialCondition.Direction: Ansys.ACT.Math.Vector3D | None#

Gets or sets the Direction.

property InitialCondition.DropDirection: Ansys.Mechanical.DataModel.Enums.DropDirection | None#

Gets or sets the DropDirection.

property InitialCondition.DropHeight: Ansys.Core.Units.Quantity | None#

Gets or sets the DropHeight.

property InitialCondition.DropTestDefineBy: Ansys.Mechanical.DataModel.Enums.DropTestDefineBy | None#

Gets or sets the DropTestDefineBy.

property InitialCondition.ExplicitPreStressTime: Ansys.Core.Units.Quantity | None#

Gets or sets the ExplicitPreStressTime.

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

Gets the list of associated figures.

property InitialCondition.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property InitialCondition.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property InitialCondition.ImpactVelocity: Ansys.Core.Units.Quantity | None#

Gets or sets the ImpactVelocity.

property InitialCondition.InitialEnvironment: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the InitialEnvironment.

property InitialCondition.InitialTemperature: Ansys.Mechanical.DataModel.Enums.InitialTemperatureType | None#

Gets or sets the InitialTemperature.

property InitialCondition.InitialTemperatureValue: Ansys.Core.Units.Quantity | None#

Gets or sets the InitialTemperatureValue.

property InitialCondition.InputType: Ansys.Mechanical.DataModel.Enums.InitialConditionsType | None#

Gets or sets the InputType.

property InitialCondition.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSInitialConditionsAuto | None#

Gets the internal object. For advanced usage only.

property InitialCondition.LoadControl: Ansys.Mechanical.DataModel.Enums.PreStressLoadControl | None#

Gets or sets the LoadControl.

property InitialCondition.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the Location.

property InitialCondition.ModalEnvironmentHarmonicIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the ModalEnvironmentHarmonicIC.

property InitialCondition.ModalEnvironmentPSDIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the ModalEnvironmentPSDIC.

property InitialCondition.ModalEnvironmentRSIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the ModalEnvironmentRSIC.

property InitialCondition.ModalEnvironmentTransientMSUPIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the ModalEnvironmentTransientMSUPIC.

property InitialCondition.ModalICEnvironment: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the ModalICEnvironment.

property InitialCondition.Mode: Ansys.Mechanical.DataModel.Enums.PreStressMode | None#

Gets or sets the Mode.

property InitialCondition.Name: str | None#

Name property.

property InitialCondition.NewtonRaphsonOption: Ansys.Mechanical.DataModel.Enums.NewtonRaphsonType | None#

Gets the NewtonRaphsonOption.

property InitialCondition.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property InitialCondition.PreStressDefineBy: Ansys.Mechanical.DataModel.Enums.PreStressStateType | None#

Gets or sets the PreStressDefineBy.

property InitialCondition.PreStressEnvironmentHarmonicIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the PreStressEnvironmentHarmonicIC.

property InitialCondition.PreStressEnvironmentHarmonicMSUPModal: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets the PreStressEnvironmentHarmonicMSUPModal.

property InitialCondition.PreStressEnvironmentModalIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the PreStressEnvironmentModalIC.

property InitialCondition.PreStressEnvironmentTransientIC: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the PreStressEnvironmentTransientIC.

property InitialCondition.PreStressEnvironmentTransientMSUPModal: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets the PreStressEnvironmentTransientMSUPModal.

property InitialCondition.PreStressICEnvironment: Ansys.ACT.Automation.Mechanical.Analysis | None#

Gets or sets the PreStressICEnvironment.

property InitialCondition.PreStressLoadStep: float | None#

Gets or sets the PreStressLoadStep.

property InitialCondition.PreStressTime: Ansys.Core.Units.Quantity | None#

Gets or sets the PreStressTime.

property InitialCondition.PressureInitialization: Ansys.Mechanical.DataModel.Enums.PressureInitializationType | None#

Gets or sets the PressureInitialization.

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

Gets the list of properties for this object.

property InitialCondition.ReferenceTemperature: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferenceTemperature.

property InitialCondition.ReportedLoadStep: int | None#

Gets the ReportedLoadStep.

property InitialCondition.ReportedSubStep: int | None#

Gets the ReportedSubStep.

property InitialCondition.ReportedTime: float | None#

Gets the ReportedTime.

property InitialCondition.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property InitialCondition.Suppressed: bool | None#

Gets or sets the Suppressed.

property InitialCondition.Time: Ansys.Core.Units.Quantity | None#

Gets or sets the Time.

property InitialCondition.TimeStepFactor: float | None#

Gets or sets the TimeStepFactor.

property InitialCondition.TotalMagnitude: Ansys.Core.Units.Quantity | None#

Gets or sets the Magnitude.

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

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

property InitialCondition.XComponent: Ansys.Core.Units.Quantity | None#

Gets or sets the XComponent.

property InitialCondition.YComponent: Ansys.Core.Units.Quantity | None#

Gets or sets the YComponent.

property InitialCondition.ZComponent: Ansys.Core.Units.Quantity | None#

Gets or sets the ZComponent.

Method detail#

InitialCondition.Activate() None#

Activate the current object.

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

Creates a new child CommandSnippet.

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

Creates a new child Comment.

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

Creates a new child Figure.

InitialCondition.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.
InitialCondition.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

InitialCondition.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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

Creates a new parameter for a Property.

InitialCondition.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

InitialCondition.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

InitialCondition.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

InitialCondition.GetHashCode() int#

GetHashCode method.

InitialCondition.GetIconFile() System.Byte#

GetIconFile method.

InitialCondition.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

InitialCondition.GetPath() str#

GetPath method.

InitialCondition.GetPropertyName(dispId: int) str#

GetPropertyName method.

InitialCondition.GetPropertyValue(name: str) Any#

GetPropertyValue method.

InitialCondition.GetQuantityName(obj: Ansys.Common.Interop.DSObjectsAuto.IDSInitialConditionsAuto) str#

GetQuantityName method.

InitialCondition.GetType() type#

GetType method.

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

GetVisibleProperties method.

InitialCondition.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

InitialCondition.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

InitialCondition.InitializeLifetimeService() Any#

InitializeLifetimeService method.

InitialCondition.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

InitialCondition.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

InitialCondition.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

InitialCondition.RemoveParameter(propName: str) None#

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

InitialCondition.ToString() str#

ToString method.

InitialCondition.TransferLoadsFromLinkedModalSystem() None#

Creates Load Applications automatically to transfer and scale base excitations and load vectors generated for the loads under linked Modal analysis.