.. vale off :class:`InitialCondition` ========================= .. py:class:: ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.InitialCondition Bases: :py:obj:`object` Defines a InitialCondition. .. !! processed by numpydoc !! .. py:currentmodule:: InitialCondition Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~AddCommandSnippet` - Creates a new child CommandSnippet. * - :py:attr:`~Delete` - Run the Delete action. * - :py:attr:`~GetChildren` - Gets the list of children, filtered by type. * - :py:attr:`~GetChildren` - Gets the list of children, filtered by type. * - :py:attr:`~AddComment` - Creates a new child Comment. * - :py:attr:`~AddFigure` - Creates a new child Figure. * - :py:attr:`~AddImage` - Creates a new child Image. * - :py:attr:`~Activate` - Activate the current object. * - :py:attr:`~CopyTo` - Copies all visible properties from this object to another. * - :py:attr:`~Duplicate` - Creates a copy of the current DataModelObject. * - :py:attr:`~GroupAllSimilarChildren` - Run the GroupAllSimilarChildren action. * - :py:attr:`~GroupSimilarObjects` - Run the GroupSimilarObjects action. * - :py:attr:`~PropertyByName` - Get a property by its unique name. * - :py:attr:`~PropertyByAPIName` - Get a property by its API name. * - :py:attr:`~CreateParameter` - Creates a new parameter for a Property. * - :py:attr:`~GetParameter` - Gets the parameter corresponding to the given property. * - :py:attr:`~RemoveParameter` - Removes the parameter from the parameter set corresponding to the given property. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Direction` - Gets or sets the Direction. * - :py:attr:`~TotalMagnitude` - Gets or sets the Magnitude. * - :py:attr:`~InitialEnvironment` - Gets or sets the InitialEnvironment. * - :py:attr:`~PreStressEnvironmentModalIC` - Gets or sets the PreStressEnvironmentModalIC. * - :py:attr:`~ModalEnvironmentRSIC` - Gets or sets the ModalEnvironmentRSIC. * - :py:attr:`~ModalEnvironmentPSDIC` - Gets or sets the ModalEnvironmentPSDIC. * - :py:attr:`~PreStressEnvironmentHarmonicIC` - Gets or sets the PreStressEnvironmentHarmonicIC. * - :py:attr:`~ModalEnvironmentHarmonicIC` - Gets or sets the ModalEnvironmentHarmonicIC. * - :py:attr:`~PreStressEnvironmentTransientIC` - Gets or sets the PreStressEnvironmentTransientIC. * - :py:attr:`~ModalEnvironmentTransientMSUPIC` - Gets or sets the ModalEnvironmentTransientMSUPIC. * - :py:attr:`~ModalICEnvironment` - Gets or sets the ModalICEnvironment. * - :py:attr:`~PreStressICEnvironment` - Gets or sets the PreStressICEnvironment. * - :py:attr:`~InternalObject` - Gets the internal object. For advanced usage only. * - :py:attr:`~ReportedLoadStep` - Gets the ReportedLoadStep. * - :py:attr:`~ReportedSubStep` - Gets the ReportedSubStep. * - :py:attr:`~ReportedTime` - Gets the ReportedTime. * - :py:attr:`~TimeStepFactor` - Gets or sets the TimeStepFactor. * - :py:attr:`~PreStressLoadStep` - Gets or sets the PreStressLoadStep. * - :py:attr:`~DropHeight` - Gets or sets the DropHeight. * - :py:attr:`~ImpactVelocity` - Gets or sets the ImpactVelocity. * - :py:attr:`~Time` - Gets or sets the Time. * - :py:attr:`~InitialTemperatureValue` - Gets or sets the InitialTemperatureValue. * - :py:attr:`~ExplicitPreStressTime` - Gets or sets the ExplicitPreStressTime. * - :py:attr:`~PreStressTime` - Gets or sets the PreStressTime. * - :py:attr:`~ReferenceTemperature` - Gets or sets the ReferenceTemperature. * - :py:attr:`~XComponent` - Gets or sets the XComponent. * - :py:attr:`~YComponent` - Gets or sets the YComponent. * - :py:attr:`~ZComponent` - Gets or sets the ZComponent. * - :py:attr:`~DropTestDefineBy` - Gets or sets the DropTestDefineBy. * - :py:attr:`~DropDirection` - Gets or sets the DropDirection. * - :py:attr:`~InitialTemperature` - Gets or sets the InitialTemperature. * - :py:attr:`~PressureInitialization` - Gets or sets the PressureInitialization. * - :py:attr:`~ContactStatus` - Gets or sets the ContactStatus. * - :py:attr:`~LoadControl` - Gets or sets the LoadControl. * - :py:attr:`~Mode` - Gets or sets the Mode. * - :py:attr:`~NewtonRaphsonOption` - Gets the NewtonRaphsonOption. * - :py:attr:`~PreStressDefineBy` - Gets or sets the PreStressDefineBy. * - :py:attr:`~InputType` - Gets or sets the InputType. * - :py:attr:`~DefineBy` - Gets or sets the DefineBy. * - :py:attr:`~Suppressed` - Gets or sets the Suppressed. * - :py:attr:`~PreStressEnvironmentHarmonicMSUPModal` - Gets the PreStressEnvironmentHarmonicMSUPModal. * - :py:attr:`~CoordinateSystem` - Gets or sets the CoordinateSystem. * - :py:attr:`~PreStressEnvironmentTransientMSUPModal` - Gets the PreStressEnvironmentTransientMSUPModal. * - :py:attr:`~Location` - Gets or sets the Location. * - :py:attr:`~DataModelObjectCategory` - Gets the current DataModelObject's category. * - :py:attr:`~Children` - Gets the list of children. * - :py:attr:`~Comments` - Gets the list of associated comments. * - :py:attr:`~Figures` - Gets the list of associated figures. * - :py:attr:`~Images` - Gets the list of associated images. * - :py:attr:`~InternalObject` - Gets the internal object. For advanced usage only. * - :py:attr:`~Properties` - Gets the list of properties for this object. * - :py:attr:`~VisibleProperties` - Gets the list of properties that are visible for this object. Property detail --------------- .. py:property:: Direction :no-index: :type: Optional[Ansys.ACT.Math.Vector3D] Gets or sets the Direction. .. !! processed by numpydoc !! .. py:property:: TotalMagnitude :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the Magnitude. .. !! processed by numpydoc !! .. py:property:: InitialEnvironment :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the InitialEnvironment. .. !! processed by numpydoc !! .. py:property:: PreStressEnvironmentModalIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the PreStressEnvironmentModalIC. .. !! processed by numpydoc !! .. py:property:: ModalEnvironmentRSIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the ModalEnvironmentRSIC. .. !! processed by numpydoc !! .. py:property:: ModalEnvironmentPSDIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the ModalEnvironmentPSDIC. .. !! processed by numpydoc !! .. py:property:: PreStressEnvironmentHarmonicIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the PreStressEnvironmentHarmonicIC. .. !! processed by numpydoc !! .. py:property:: ModalEnvironmentHarmonicIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the ModalEnvironmentHarmonicIC. .. !! processed by numpydoc !! .. py:property:: PreStressEnvironmentTransientIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the PreStressEnvironmentTransientIC. .. !! processed by numpydoc !! .. py:property:: ModalEnvironmentTransientMSUPIC :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the ModalEnvironmentTransientMSUPIC. .. !! processed by numpydoc !! .. py:property:: ModalICEnvironment :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the ModalICEnvironment. .. !! processed by numpydoc !! .. py:property:: PreStressICEnvironment :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets or sets the PreStressICEnvironment. .. !! processed by numpydoc !! .. py:property:: InternalObject :no-index: :type: Optional[Ansys.Common.Interop.DSObjectsAuto.IDSInitialConditionsAuto] Gets the internal object. For advanced usage only. .. !! processed by numpydoc !! .. py:property:: ReportedLoadStep :no-index: :type: Optional[System.Int32] Gets the ReportedLoadStep. .. !! processed by numpydoc !! .. py:property:: ReportedSubStep :no-index: :type: Optional[System.Int32] Gets the ReportedSubStep. .. !! processed by numpydoc !! .. py:property:: ReportedTime :no-index: :type: Optional[System.Double] Gets the ReportedTime. .. !! processed by numpydoc !! .. py:property:: TimeStepFactor :no-index: :type: Optional[System.Double] Gets or sets the TimeStepFactor. .. !! processed by numpydoc !! .. py:property:: PreStressLoadStep :no-index: :type: Optional[System.Double] Gets or sets the PreStressLoadStep. .. !! processed by numpydoc !! .. py:property:: DropHeight :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the DropHeight. .. !! processed by numpydoc !! .. py:property:: ImpactVelocity :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the ImpactVelocity. .. !! processed by numpydoc !! .. py:property:: Time :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the Time. .. !! processed by numpydoc !! .. py:property:: InitialTemperatureValue :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the InitialTemperatureValue. .. !! processed by numpydoc !! .. py:property:: ExplicitPreStressTime :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the ExplicitPreStressTime. .. !! processed by numpydoc !! .. py:property:: PreStressTime :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the PreStressTime. .. !! processed by numpydoc !! .. py:property:: ReferenceTemperature :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the ReferenceTemperature. .. !! processed by numpydoc !! .. py:property:: XComponent :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the XComponent. .. !! processed by numpydoc !! .. py:property:: YComponent :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the YComponent. .. !! processed by numpydoc !! .. py:property:: ZComponent :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the ZComponent. .. !! processed by numpydoc !! .. py:property:: DropTestDefineBy :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.DropTestDefineBy] Gets or sets the DropTestDefineBy. .. !! processed by numpydoc !! .. py:property:: DropDirection :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.DropDirection] Gets or sets the DropDirection. .. !! processed by numpydoc !! .. py:property:: InitialTemperature :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.InitialTemperatureType] Gets or sets the InitialTemperature. .. !! processed by numpydoc !! .. py:property:: PressureInitialization :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.PressureInitializationType] Gets or sets the PressureInitialization. .. !! processed by numpydoc !! .. py:property:: ContactStatus :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.PreStressContactStatus] Gets or sets the ContactStatus. .. !! processed by numpydoc !! .. py:property:: LoadControl :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.PreStressLoadControl] Gets or sets the LoadControl. .. !! processed by numpydoc !! .. py:property:: Mode :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.PreStressMode] Gets or sets the Mode. .. !! processed by numpydoc !! .. py:property:: NewtonRaphsonOption :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.NewtonRaphsonType] Gets the NewtonRaphsonOption. .. !! processed by numpydoc !! .. py:property:: PreStressDefineBy :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.PreStressStateType] Gets or sets the PreStressDefineBy. .. !! processed by numpydoc !! .. py:property:: InputType :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.InitialConditionsType] Gets or sets the InputType. .. !! processed by numpydoc !! .. py:property:: DefineBy :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.LoadDefineBy] Gets or sets the DefineBy. .. !! processed by numpydoc !! .. py:property:: Suppressed :no-index: :type: Optional[System.Boolean] Gets or sets the Suppressed. .. !! processed by numpydoc !! .. py:property:: PreStressEnvironmentHarmonicMSUPModal :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets the PreStressEnvironmentHarmonicMSUPModal. .. !! processed by numpydoc !! .. py:property:: CoordinateSystem :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.CoordinateSystem] Gets or sets the CoordinateSystem. .. !! processed by numpydoc !! .. py:property:: PreStressEnvironmentTransientMSUPModal :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.Analysis] Gets the PreStressEnvironmentTransientMSUPModal. .. !! processed by numpydoc !! .. py:property:: Location :no-index: :type: Optional[Ansys.ACT.Interfaces.Common.ISelectionInfo] Gets or sets the Location. .. !! processed by numpydoc !! .. py:property:: DataModelObjectCategory :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory] Gets the current DataModelObject's category. .. !! processed by numpydoc !! .. py:property:: Children :no-index: :type: Optional[System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]] Gets the list of children. .. !! processed by numpydoc !! .. py:property:: Comments :no-index: :type: Optional[System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment]] Gets the list of associated comments. .. !! processed by numpydoc !! .. py:property:: Figures :no-index: :type: Optional[System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure]] Gets the list of associated figures. .. !! processed by numpydoc !! .. py:property:: Images :no-index: :type: Optional[System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image]] Gets the list of associated images. .. !! processed by numpydoc !! .. py:property:: InternalObject :no-index: :type: Optional[System.Object] Gets the internal object. For advanced usage only. .. !! processed by numpydoc !! .. py:property:: Properties :no-index: :type: Optional[System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property]] Gets the list of properties for this object. .. !! processed by numpydoc !! .. py:property:: VisibleProperties :no-index: :type: Optional[System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property]] Gets the list of properties that are visible for this object. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: AddCommandSnippet() -> Ansys.ACT.Automation.Mechanical.CommandSnippet :no-index: Creates a new child CommandSnippet. .. !! processed by numpydoc !! .. py:method:: Delete() -> System.Void :no-index: Run the Delete action. .. !! processed by numpydoc !! .. py:method:: GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) -> System.Collections.Generic.IList[ChildrenType] :no-index: Gets the list of children, filtered by type. .. !! processed by numpydoc !! .. py:method:: GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) -> System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] :no-index: Gets the list of children, filtered by type. .. !! processed by numpydoc !! .. py:method:: AddComment() -> Ansys.ACT.Automation.Mechanical.Comment :no-index: Creates a new child Comment. .. !! processed by numpydoc !! .. py:method:: AddFigure() -> Ansys.ACT.Automation.Mechanical.Figure :no-index: Creates a new child Figure. .. !! processed by numpydoc !! .. py:method:: AddImage(filePath: System.String) -> Ansys.ACT.Automation.Mechanical.Image :no-index: .. code-block:: text 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. .. !! processed by numpydoc !! .. py:method:: Activate() -> System.Void :no-index: Activate the current object. .. !! processed by numpydoc !! .. py:method:: CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) -> System.Void :no-index: Copies all visible properties from this object to another. .. !! processed by numpydoc !! .. py:method:: Duplicate() -> Ansys.Mechanical.DataModel.Interfaces.IDataModelObject :no-index: Creates a copy of the current DataModelObject. .. !! processed by numpydoc !! .. py:method:: GroupAllSimilarChildren() -> System.Void :no-index: Run the GroupAllSimilarChildren action. .. !! processed by numpydoc !! .. py:method:: GroupSimilarObjects() -> Ansys.ACT.Automation.Mechanical.TreeGroupingFolder :no-index: Run the GroupSimilarObjects action. .. !! processed by numpydoc !! .. py:method:: PropertyByName(name: System.String) -> Ansys.ACT.Automation.Mechanical.Property :no-index: Get a property by its unique name. .. !! processed by numpydoc !! .. py:method:: PropertyByAPIName(name: System.String) -> Ansys.ACT.Automation.Mechanical.Property :no-index: .. code-block:: text 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. .. !! processed by numpydoc !! .. py:method:: CreateParameter(propName: System.String) -> Ansys.ACT.Interfaces.Mechanical.IParameter :no-index: Creates a new parameter for a Property. .. !! processed by numpydoc !! .. py:method:: GetParameter(propName: System.String) -> Ansys.ACT.Interfaces.Mechanical.IParameter :no-index: Gets the parameter corresponding to the given property. .. !! processed by numpydoc !! .. py:method:: RemoveParameter(propName: System.String) -> System.Void :no-index: Removes the parameter from the parameter set corresponding to the given property. .. !! processed by numpydoc !! .. vale on