LinePressure#

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

Bases: object

Defines a LinePressure.

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

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.

GetActivateAtLoadStep

Gets whether the line 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

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

SetActivateAtLoadStep

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

SetComponentActivateAtLoadStep

SetComponentActivateAtLoadStep method.

ToString

ToString method.

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.

DataModelObjectCategory

Gets the current DataModelObject's category.

DefineBy

Gets or sets the DefineBy.

Direction

Gets or sets the Direction.

Figures

Gets the list of associated figures.

GraphControlsXAxis

Gets or sets the GraphControlsXAxis.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

IndependentVariable

Gets or sets the IndependentVariable.

InternalObject

Gets the internal object. For advanced usage only.

LoadVectorAssignment

LoadVectorNumber

LoadVectorNumberImaginary

LoadVectorNumberX

LoadVectorNumberXImaginary

LoadVectorNumberY

LoadVectorNumberYImaginary

LoadVectorNumberZ

LoadVectorNumberZImaginary

Location

Gets or sets the Location.

Magnitude

Gets the Magnitude.

Name

Name property.

NumberOfSegments

Gets or sets the NumberOfSegments.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PhaseAngle

Gets or sets 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.

SharedRefBody

Gets or sets the SharedRefBody.

State

State property.

Suppressed

Gets or sets the Suppressed.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

XComponent

Gets the XComponent.

XYZFunctionCoordinateSystem

Gets or sets the XYZFunctionCoordinateSystem.

YComponent

Gets the YComponent.

ZComponent

Gets the ZComponent.

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property LinePressure.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets or sets the CoordinateSystem.

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

Gets the current DataModelObject's category.

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

Gets or sets the DefineBy.

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

Gets or sets the Direction.

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

Gets the list of associated figures.

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

Gets or sets the GraphControlsXAxis.

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

GroupingFolder property.

property LinePressure.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property LinePressure.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

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

Gets or sets the IndependentVariable.

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

Gets the internal object. For advanced usage only.

property LinePressure.LoadVectorAssignment: Ansys.Mechanical.DataModel.Enums.LoadVectorAssignment | None#
property LinePressure.LoadVectorNumber: int | None#
property LinePressure.LoadVectorNumberImaginary: int | None#
property LinePressure.LoadVectorNumberX: int | None#
property LinePressure.LoadVectorNumberXImaginary: int | None#
property LinePressure.LoadVectorNumberY: int | None#
property LinePressure.LoadVectorNumberYImaginary: int | None#
property LinePressure.LoadVectorNumberZ: int | None#
property LinePressure.LoadVectorNumberZImaginary: int | None#
property LinePressure.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the Location.

property LinePressure.Magnitude: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the Magnitude.

property LinePressure.Name: str | None#

Name property.

property LinePressure.NumberOfSegments: int | None#

Gets or sets the NumberOfSegments.

property LinePressure.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property LinePressure.PhaseAngle: Ansys.Core.Units.Quantity | None#

Gets or sets the PhaseAngle.

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

Gets the list of properties for this object.

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

Gets or sets the RangeMaximum.

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

Gets or sets the RangeMinimum.

property LinePressure.ReadOnly: bool | None#

Gets or sets the ReadOnly.

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

Gets or sets the SharedRefBody.

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

State property.

property LinePressure.Suppressed: bool | None#

Gets or sets the Suppressed.

property LinePressure.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

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

Gets the XComponent.

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

Gets or sets the XYZFunctionCoordinateSystem.

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

Gets the YComponent.

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

Gets the ZComponent.

Method detail#

LinePressure.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

LinePressure.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

LinePressure.GetAPIName(dispId: int) str#

Property name bound to dispId.

LinePressure.GetActivateAtLoadStep(stepNumber: int) bool#

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

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetComponentActivateAtLoadStep method.

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

GetDetailsView method.

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

Enum name bound to value

LinePressure.GetHashCode() int#

GetHashCode method.

LinePressure.GetIconFile() System.Byte#

GetIconFile method.

LinePressure.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

LinePressure.GetPath() str#

GetPath method.

LinePressure.GetPropertyName(dispId: int) str#

GetPropertyName method.

LinePressure.GetPropertyValue(name: str) Any#

GetPropertyValue method.

LinePressure.GetQuantityName() str#

GetQuantityName method.

LinePressure.GetType() type#

GetType method.

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

GetVisibleProperties method.

LinePressure.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

LinePressure.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

LinePressure.InitializeLifetimeService() Any#

InitializeLifetimeService method.

LinePressure.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

LinePressure.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

Run the PromoteToNamedSelection action.

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

PropertyById method.

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

Get a property by its unique name.

LinePressure.RemoveParameter(propName: str) None#

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

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

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

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

SetComponentActivateAtLoadStep method.

LinePressure.ToString() str#

ToString method.