Pressure#

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

Bases: object

Defines a Pressure.

Overview#

Activate

Activate the current object.

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

CreateParameter method.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

GetAPIName

Property name bound to dispId.

GetActivateAtLoadStep

Gets whether the pressure is active at the specified load step.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetComponentActivateAtLoadStep

GetComponentActivateAtLoadStep method.

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.

PromoteToNamedSelection

Run the PromoteToNamedSelection action.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

RemoveParameter method.

SetActivateAtLoadStep

Sets whether the pressure is active at the specified load step.

SetComponentActivateAtLoadStep

SetComponentActivateAtLoadStep method.

ToString

ToString method.

AppliedBy

Gets or sets the AppliedBy.

ApplyTo

Gets or Sets the Pressure ApplyTo type.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

CoordinateSystem

Gets or sets the CoordinateSystem.

CrackGrowth

Gets or Sets the SMART CrackGrowthSelection.

DataModelObjectCategory

Gets the current DataModelObject's category.

DefineBy

Gets or sets the DefineBy.

Direction

Gets or sets the Direction.

DynamicRelaxationBehavior

Gets or sets the DynamicRelaxationBehavior.

Figures

Gets the list of associated figures.

GraphControlsXAxis

Gets or sets the GraphControlsXAxis.

GroupingFolder

GroupingFolder property.

HarmonicIndex

Gets or sets the HarmonicIndex.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

IndependentVariable

Gets or sets the IndependentVariable.

InternalObject

InternalObject property.

LoadVectorAssignment

Gets or sets the LoadVectorAssignment.

LoadVectorNumber

Gets or sets the LoadVectorNumber.

LoadVectorNumberImaginary

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure.

LoadVectorNumberX

Gets or sets the load vector number assigned to the load vector generated for the real part of the pressure in the X direction.

LoadVectorNumberXImaginary

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure in the X direction.

LoadVectorNumberY

Gets or sets the load vector number assigned to the load vector generated for the real part of the pressure in the Y direction.

LoadVectorNumberYImaginary

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure in the Y direction.

LoadVectorNumberZ

Gets or sets the load vector number assigned to the load vector generated for the real part of the pressure in the Z direction.

LoadVectorNumberZImaginary

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure in the Z direction.

LoadedArea

Gets or sets the LoadedArea.

Location

Gets or sets the Location.

Magnitude

Gets or sets the Magnitude.

MagnitudeImag

Gets the MagnitudeImag.

Name

Name property.

NonCyclicLoadingType

Gets or sets the NonCyclicLoadingType.

NumberOfSegments

Gets or sets the NumberOfSegments.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PhaseAngle

Gets the PhaseAngle.

Properties

Gets the list of properties for this object.

RangeMaximum

Gets or sets the RangeMaximum.

RangeMinimum

Gets or sets the RangeMinimum.

ReadOnly

Gets or sets the ReadOnly.

ScopingMethod

Gets or sets the ScopingMethod.

SectorNumber

Gets or sets the SectorNumber.

SharedRefBody

Gets or sets the SharedRefBody.

State

State property.

Suppressed

Gets or sets the Suppressed.

TableAssignment

Gets or sets the TableAssignment.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

XComponent

Gets the XComponent.

XComponentImag

Gets the XComponentImag.

XPhaseAngle

Gets the XPhaseAngle.

XYZFunctionCoordinateSystem

Gets or sets the XYZFunctionCoordinateSystem.

YComponent

Gets the YComponent.

YComponentImag

Gets the YComponentImag.

YPhaseAngle

Gets the YPhaseAngle.

ZComponent

Gets the ZComponent.

ZComponentImag

Gets the ZComponentImag.

ZPhaseAngle

Gets the ZPhaseAngle.

Property detail#

property Pressure.AppliedBy: Ansys.Mechanical.DataModel.Enums.LoadAppliedBy | None#

Gets or sets the AppliedBy.

property Pressure.ApplyTo: Ansys.Mechanical.DataModel.Enums.CrackSurfaceLoadApplyTo | None#

Gets or Sets the Pressure ApplyTo type.

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

AttachedRefs property.

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

Gets the list of children.

property Pressure.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets or sets the CoordinateSystem.

property Pressure.CrackGrowth: Ansys.ACT.Automation.Mechanical.SMARTCrackGrowth | None#

Gets or Sets the SMART CrackGrowthSelection.

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

Gets the current DataModelObject's category.

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

Gets or sets the DefineBy.

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

Gets or sets the Direction.

property Pressure.DynamicRelaxationBehavior: Ansys.Mechanical.DataModel.Enums.DynamicRelaxationBehaviorType | None#

Gets or sets the DynamicRelaxationBehavior.

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

Gets the list of associated figures.

property Pressure.GraphControlsXAxis: Ansys.Mechanical.DataModel.Enums.LoadVariableVariationType | None#

Gets or sets the GraphControlsXAxis.

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

GroupingFolder property.

property Pressure.HarmonicIndex: Ansys.ACT.Mechanical.Fields.Field | None#

Gets or sets the HarmonicIndex.

property Pressure.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property Pressure.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

property Pressure.IndependentVariable: Ansys.Mechanical.DataModel.Enums.LoadVariableVariationType | None#

Gets or sets the IndependentVariable.

property Pressure.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSLoadAuto | None#

InternalObject property.

property Pressure.LoadVectorAssignment: Ansys.Mechanical.DataModel.Enums.LoadVectorAssignment | None#

Gets or sets the LoadVectorAssignment.

property Pressure.LoadVectorNumber: int | None#

Gets or sets the LoadVectorNumber.

property Pressure.LoadVectorNumberImaginary: int | None#

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadVectorNumberX: int | None#

Gets or sets the load vector number assigned to the load vector generated for the real part of the pressure in the X direction. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadVectorNumberXImaginary: int | None#

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure in the X direction. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadVectorNumberY: int | None#

Gets or sets the load vector number assigned to the load vector generated for the real part of the pressure in the Y direction. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadVectorNumberYImaginary: int | None#

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure in the Y direction. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadVectorNumberZ: int | None#

Gets or sets the load vector number assigned to the load vector generated for the real part of the pressure in the Z direction. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadVectorNumberZImaginary: int | None#

Gets or sets the load vector number assigned to the load vector generated for the imaginary part of the pressure in the Z direction. When Load Vector Assignment is set to Manual, the default value of '0' represents an invalid value that must be changed to a positive integer.

property Pressure.LoadedArea: Ansys.Mechanical.DataModel.Enums.LoadedArea | None#

Gets or sets the LoadedArea.

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

Gets or sets the Location.

property Pressure.Magnitude: Any | None#

Gets or sets the Magnitude.

property Pressure.MagnitudeImag: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the MagnitudeImag.

property Pressure.Name: str | None#

Name property.

property Pressure.NonCyclicLoadingType: Ansys.Mechanical.DataModel.Enums.NonCyclicLoadingType | None#

Gets or sets the NonCyclicLoadingType.

property Pressure.NumberOfSegments: int | None#

Gets or sets the NumberOfSegments.

property Pressure.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property Pressure.PhaseAngle: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the PhaseAngle.

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

Gets the list of properties for this object.

property Pressure.RangeMaximum: Ansys.Core.Units.Quantity | None#

Gets or sets the RangeMaximum.

property Pressure.RangeMinimum: Ansys.Core.Units.Quantity | None#

Gets or sets the RangeMinimum.

property Pressure.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property Pressure.ScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ScopingMethod.

property Pressure.SectorNumber: Ansys.ACT.Mechanical.Fields.Field | None#

Gets or sets the SectorNumber.

property Pressure.SharedRefBody: Ansys.ACT.Automation.Mechanical.Body | None#

Gets or sets the SharedRefBody.

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

State property.

property Pressure.Suppressed: bool | None#

Gets or sets the Suppressed.

property Pressure.TableAssignment: Ansys.ACT.Automation.Mechanical.Table | None#

Gets or sets the TableAssignment.

property Pressure.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

property Pressure.XComponent: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the XComponent.

property Pressure.XComponentImag: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the XComponentImag.

property Pressure.XPhaseAngle: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the XPhaseAngle.

property Pressure.XYZFunctionCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the XYZFunctionCoordinateSystem.

property Pressure.YComponent: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the YComponent.

property Pressure.YComponentImag: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the YComponentImag.

property Pressure.YPhaseAngle: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the YPhaseAngle.

property Pressure.ZComponent: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the ZComponent.

property Pressure.ZComponentImag: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the ZComponentImag.

property Pressure.ZPhaseAngle: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the ZPhaseAngle.

Method detail#

Pressure.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

CreateParameter method.

Pressure.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

Pressure.GetAPIName(dispId: int) str#

Property name bound to dispId.

Pressure.GetActivateAtLoadStep(stepNumber: int) bool#

Gets whether the pressure is active at the specified load step.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

Pressure.GetComponentActivateAtLoadStep(component: str, stepNumber: int) bool#

GetComponentActivateAtLoadStep method.

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

GetDetailsView method.

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

Enum name bound to value

Pressure.GetHashCode() int#

GetHashCode method.

Pressure.GetIconFile() System.Byte#

GetIconFile method.

Pressure.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

Pressure.GetPath() str#

GetPath method.

Pressure.GetPropertyName(dispId: int) str#

GetPropertyName method.

Pressure.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Pressure.GetQuantityName() str#

GetQuantityName method.

Pressure.GetType() type#

GetType method.

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

GetVisibleProperties method.

Pressure.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Pressure.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Pressure.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Pressure.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Pressure.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

Pressure.PromoteToNamedSelection() Iterable[Ansys.ACT.Automation.Mechanical.NamedSelection]#

Run the PromoteToNamedSelection action.

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

PropertyById method.

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

Get a property by its unique name.

Pressure.RemoveParameter(propName: str) None#

RemoveParameter method.

Pressure.SetActivateAtLoadStep(stepNumber: int, bActive: bool) None#

Sets whether the pressure is active at the specified load step.

Pressure.SetComponentActivateAtLoadStep(component: str, stepNumber: int, bActive: bool) None#

SetComponentActivateAtLoadStep method.

Pressure.ToString() str#

ToString method.