HydrostaticPressure#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.BoundaryConditions.HydrostaticPressure#

Bases: object

Defines a HydrostaticPressure.

Overview#

GetActivateAtLoadStep

GetActivateAtLoadStep method.

SetActivateAtLoadStep

SetActivateAtLoadStep method.

GetComponentActivateAtLoadStep

GetComponentActivateAtLoadStep method.

SetComponentActivateAtLoadStep

SetComponentActivateAtLoadStep method.

PromoteToNamedSelection

Run the PromoteToNamedSelection action.

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

Direction

Gets or sets the Direction.

InternalObject

Gets the internal object. For advanced usage only.

XComponent

Gets the XComponent.

YComponent

Gets the YComponent.

ZComponent

Gets the ZComponent.

Magnitude

Gets the Magnitude.

FluidDensity

Gets or sets the FluidDensity.

XCoordinate

Gets or sets the XCoordinate.

YCoordinate

Gets or sets the YCoordinate.

ZCoordinate

Gets or sets the ZCoordinate.

AppliedBy

Gets or sets the AppliedBy.

DefineBy

Gets or sets the DefineBy.

ShellFace

Gets or sets the ShellFace.

CoordinateSystem

Gets or sets the CoordinateSystem.

Location

Gets or sets the Location.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Suppressed

Gets or sets the Suppressed.

SharedRefBody

Gets or sets the SharedRefBody.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

ReadOnly

Gets or sets the ReadOnly.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

property HydrostaticPressure.Direction: Ansys.ACT.Math.Vector3D | None

Gets or sets the Direction.

property HydrostaticPressure.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSLoadAuto | None

Gets the internal object. For advanced usage only.

property HydrostaticPressure.XComponent: Ansys.ACT.Mechanical.Fields.Field | None

Gets the XComponent.

property HydrostaticPressure.YComponent: Ansys.ACT.Mechanical.Fields.Field | None

Gets the YComponent.

property HydrostaticPressure.ZComponent: Ansys.ACT.Mechanical.Fields.Field | None

Gets the ZComponent.

property HydrostaticPressure.Magnitude: Ansys.ACT.Mechanical.Fields.Field | None

Gets the Magnitude.

property HydrostaticPressure.FluidDensity: Ansys.Core.Units.Quantity | None

Gets or sets the FluidDensity.

property HydrostaticPressure.XCoordinate: Ansys.Core.Units.Quantity | None

Gets or sets the XCoordinate.

property HydrostaticPressure.YCoordinate: Ansys.Core.Units.Quantity | None

Gets or sets the YCoordinate.

property HydrostaticPressure.ZCoordinate: Ansys.Core.Units.Quantity | None

Gets or sets the ZCoordinate.

property HydrostaticPressure.AppliedBy: Ansys.Mechanical.DataModel.Enums.LoadAppliedBy | None

Gets or sets the AppliedBy.

property HydrostaticPressure.DefineBy: Ansys.Mechanical.DataModel.Enums.LoadDefineBy | None

Gets or sets the DefineBy.

property HydrostaticPressure.ShellFace: Ansys.Mechanical.DataModel.Enums.ShellFaceType | None

Gets or sets the ShellFace.

property HydrostaticPressure.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the CoordinateSystem.

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

Gets or sets the Location.

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

Gets the current DataModelObject’s category.

property HydrostaticPressure.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

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

Gets or sets the SharedRefBody.

property HydrostaticPressure.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property HydrostaticPressure.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property HydrostaticPressure.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property HydrostaticPressure.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property HydrostaticPressure.ReadOnly: System.Boolean | None

Gets or sets the ReadOnly.

property HydrostaticPressure.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property HydrostaticPressure.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property HydrostaticPressure.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

HydrostaticPressure.GetActivateAtLoadStep(stepNumber: System.UInt32) System.Boolean

GetActivateAtLoadStep method.

HydrostaticPressure.SetActivateAtLoadStep(stepNumber: System.UInt32, bActive: System.Boolean) System.Void

SetActivateAtLoadStep method.

HydrostaticPressure.GetComponentActivateAtLoadStep(component: System.String, stepNumber: System.UInt32) System.Boolean

GetComponentActivateAtLoadStep method.

HydrostaticPressure.SetComponentActivateAtLoadStep(component: System.String, stepNumber: System.UInt32, bActive: System.Boolean) System.Void

SetComponentActivateAtLoadStep method.

HydrostaticPressure.PromoteToNamedSelection() System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.NamedSelection]

Run the PromoteToNamedSelection action.

HydrostaticPressure.Delete() System.Void

Run the Delete action.

HydrostaticPressure.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

HydrostaticPressure.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]

Gets the list of children, filtered by type.

HydrostaticPressure.AddComment() Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

HydrostaticPressure.AddFigure() Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

HydrostaticPressure.AddImage(filePath: System.String) 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.
HydrostaticPressure.Activate() System.Void

Activate the current object.

HydrostaticPressure.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

HydrostaticPressure.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

HydrostaticPressure.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

HydrostaticPressure.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

HydrostaticPressure.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

HydrostaticPressure.PropertyByAPIName(name: System.String) 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.
HydrostaticPressure.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

HydrostaticPressure.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

HydrostaticPressure.RemoveParameter(propName: System.String) System.Void

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