Convection#

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

Bases: object

Defines a Convection.

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 convection 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.

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 convection is active at the specified load step.

SetComponentActivateAtLoadStep

SetComponentActivateAtLoadStep method.

ToString

ToString method.

AmbientTemperature

Property used to get and set the ambient temperature data

AmbientTemperatureCoordinateSystem

The coordinate system id used currently to determinine the position of the points of the ambient temperature variable

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

CoefficientType

Gets or sets the CoefficientType.

Comments

Gets the list of associated comments.

ConvectionCoefficientCoordinateSystem

The coordinate system id used currently to determinine the position of the points of the convection coefficient variable

ConvectionMatrix

Gets or sets the ConvectionMatrix.

DataModelObjectCategory

Gets the current DataModelObject's category.

DisplayConnectionLines

Gets or sets the DisplayConnectionLines.

EditDataFor

Gets or sets the EditDataFor.

ElementAPDLName

Gets or Sets the ElementAPDLName which stores the element type number of the convection load. This you can reference and use in Command Snippets.

Figures

Gets the list of associated figures.

FilmCoefficient

Property used to get and set the film coefficient data

FluidFlowEdge

Gets or sets the FluidFlowEdge.

FluidFlowSelection

Gets or sets the FluidFlowSelection.

GraphControlsXAxis

Gets or sets the GraphControlsXAxis.

GroupingFolder

GroupingFolder property.

HasFluidFlow

Gets or sets the HasFluidFlow.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

IndependentVariable

Gets or sets the IndependentVariable.

InternalObject

InternalObject property.

Location

Gets or sets the Location.

Name

Name property.

NumberOfSegments

Gets or sets the NumberOfSegments.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

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.

XYZFunctionCoordinateSystem

Gets or sets the XYZFunctionCoordinateSystem.

Property detail#

property Convection.AmbientTemperature: Any | None#

Property used to get and set the ambient temperature data The setter allows the use of a table object, an expression contained in a string or a quantity object as a data source. Depending on the representation type, the getter return type is a field object or an object which type depends on the source of the ambient temperature data: - On table assignment mode, it returns the source table object. - On function mode, it returns a string containing the expression evaluated to obtain the data. - On constant mode, it returns a quantity object containing the value and the units currently assigned to the ambient temperature. - On tabular mode, it returns a tabularDataTable object.

property Convection.AmbientTemperatureCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

The coordinate system id used currently to determinine the position of the points of the ambient temperature variable

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

AttachedRefs property.

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

Gets the list of children.

property Convection.ClsId: int | None#

ClsId property.

property Convection.CoefficientType: Ansys.Mechanical.DataModel.Enums.LoadVariationSubOption | None#

Gets or sets the CoefficientType.

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

Gets the list of associated comments.

property Convection.ConvectionCoefficientCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

The coordinate system id used currently to determinine the position of the points of the convection coefficient variable

property Convection.ConvectionMatrix: Ansys.Mechanical.DataModel.Enums.DiagonalOrConsistent | None#

Gets or sets the ConvectionMatrix.

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

Gets the current DataModelObject's category.

property Convection.DisplayConnectionLines: bool | None#

Gets or sets the DisplayConnectionLines.

property Convection.EditDataFor: Ansys.Mechanical.DataModel.Enums.ConvectionTableSelection | None#

Gets or sets the EditDataFor.

property Convection.ElementAPDLName: str | None#

Gets or Sets the ElementAPDLName which stores the element type number of the convection load. This you can reference and use in Command Snippets.

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

Gets the list of associated figures.

property Convection.FilmCoefficient: Any | None#

Property used to get and set the film coefficient data The setter allows the use of a table object, an expression contained in a string or a quantity object as a data source. Depending on the representation type, the getter return type is a field object or an object which type depends on the source of the film coefficient data: - On table assignment mode, it returns the source table object. - On function mode, it returns a string containing the expression evaluated to obtain the data. - On constant mode, it returns a quantity object containing the value and the units currently assigned to the film coefficient. - On tabular mode, it returns a tabularDataTable object.

property Convection.FluidFlowEdge: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the FluidFlowEdge.

property Convection.FluidFlowSelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the FluidFlowSelection.

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

Gets or sets the GraphControlsXAxis.

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

GroupingFolder property.

property Convection.HasFluidFlow: bool | None#

Gets or sets the HasFluidFlow.

property Convection.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property Convection.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

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

Gets or sets the IndependentVariable.

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

InternalObject property.

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

Gets or sets the Location.

property Convection.Name: str | None#

Name property.

property Convection.NumberOfSegments: int | None#

Gets or sets the NumberOfSegments.

property Convection.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

Gets or sets the RangeMaximum.

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

Gets or sets the RangeMinimum.

property Convection.ReadOnly: bool | None#

Gets or sets the ReadOnly.

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

Gets or sets the SharedRefBody.

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

State property.

property Convection.Suppressed: bool | None#

Gets or sets the Suppressed.

property Convection.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

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

Gets or sets the XYZFunctionCoordinateSystem.

Method detail#

Convection.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

Convection.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

Convection.GetAPIName(dispId: int) str#

Property name bound to dispId.

Convection.GetActivateAtLoadStep(stepNumber: int) bool#

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

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetComponentActivateAtLoadStep method.

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

GetDetailsView method.

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

Enum name bound to value

Convection.GetHashCode() int#

GetHashCode method.

Convection.GetIconFile() System.Byte#

GetIconFile method.

Convection.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

Convection.GetPath() str#

GetPath method.

Convection.GetPropertyName(dispId: int) str#

GetPropertyName method.

Convection.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Convection.GetType() type#

GetType method.

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

GetVisibleProperties method.

Convection.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Convection.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Convection.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Convection.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Convection.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

Run the PromoteToNamedSelection action.

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

PropertyById method.

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

Get a property by its unique name.

Convection.RemoveParameter(propName: str) None#

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

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

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

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

SetComponentActivateAtLoadStep method.

Convection.ToString() str#

ToString method.