Bearing#

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

Bases: object

Defines a Bearing.

Overview#

Activate

Activate the current object.

AddCommandSnippet

Creates a new CommandSnippet

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.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

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.

PromoteToRemotePoint

Run the PromoteToRemotePoint 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.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

ToString

ToString method.

AnsBCType

Gets the AnsBCType.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

ConnectionType

Gets or sets the ConnectionType.

DampingC11

Gets the DampingC11.

DampingC12

Gets the DampingC12.

DampingC21

Gets the DampingC21.

DampingC22

Gets the DampingC22.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

InternalObject

Gets the internal object. For advanced usage only.

MobileBeamCoincidentLengthFactor

Gets or sets the Coincident Length Factor on mobile side that scales the stiffness of the connection between the beam elements and the remote point. This property is applicable when the Behavior property is set to “Beam”. Default: 1.

MobileBeamMaterial

Gets or sets the MobileBeamMaterial.

MobileBeamRadius

Gets or sets the MobileBeamRadius.

MobileBehavior

Gets or sets the MobileBehavior.

MobileBody

Gets the MobileBody.

MobileCoordinateSystem

Gets or sets the MobileCoordinateSystem.

MobileLocation

Gets or sets the MobileLocation.

MobilePinballSize

Gets or sets the MobilePinballSize.

MobileXCoordinate

Gets or sets the MobileXCoordinate.

MobileYCoordinate

Gets or sets the MobileYCoordinate.

MobileZCoordinate

Gets or sets the MobileZCoordinate.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

ReadOnly

Gets or sets the ReadOnly.

ReferenceBeamCoincidentLengthFactor

Gets or sets the Coincident Length Factor on reference side that scales the stiffness of the connection between the beam elements and the remote point. This property is applicable when the Behavior property is set to “Beam”. Default: 1.

ReferenceBeamMaterial

Gets or sets the ReferenceBeamMaterial.

ReferenceBeamRadius

Gets or sets the ReferenceBeamRadius.

ReferenceBehavior

Gets or sets the ReferenceBehavior.

ReferenceBodyName

Gets the ReferenceBodyName.

ReferenceCoordinateSystem

Gets or sets the ReferenceCoordinateSystem.

ReferenceLocation

Gets or sets the ReferenceLocation.

ReferencePinballRegion

Gets or sets the ReferencePinballRegion.

ReferenceRotationPlane

Gets or sets the ReferenceRotationPlane.

ReferenceSet

Gets the ReferenceSet.

ReferenceXCoordinate

Gets or sets the ReferenceXCoordinate.

ReferenceYCoordinate

Gets or sets the ReferenceYCoordinate.

ReferenceZCoordinate

Gets or sets the ReferenceZCoordinate.

State

State property.

StiffnessK11

Gets the StiffnessK11.

StiffnessK12

Gets the StiffnessK12.

StiffnessK21

Gets the StiffnessK21.

StiffnessK22

Gets the StiffnessK22.

Suppressed

Gets or sets the Suppressed.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

Property detail#

property Bearing.AnsBCType: int | None#

Gets the AnsBCType.

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

AttachedRefs property.

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

Gets the list of children.

property Bearing.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property Bearing.ConnectionType: Ansys.Mechanical.DataModel.Enums.ConnectionScopingType | None#

Gets or sets the ConnectionType.

property Bearing.DampingC11: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the DampingC11.

property Bearing.DampingC12: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the DampingC12.

property Bearing.DampingC21: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the DampingC21.

property Bearing.DampingC22: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the DampingC22.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property Bearing.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property Bearing.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

property Bearing.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSBearingAuto | None#

Gets the internal object. For advanced usage only.

property Bearing.MobileBeamCoincidentLengthFactor: float | None#

Gets or sets the Coincident Length Factor on mobile side that scales the stiffness of the connection between the beam elements and the remote point. This property is applicable when the Behavior property is set to “Beam”. Default: 1.

property Bearing.MobileBeamMaterial: str | None#

Gets or sets the MobileBeamMaterial.

property Bearing.MobileBeamRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the MobileBeamRadius.

property Bearing.MobileBehavior: Ansys.Mechanical.DataModel.Enums.LoadBehavior | None#

Gets or sets the MobileBehavior.

property Bearing.MobileBody: str | None#

Gets the MobileBody.

property Bearing.MobileCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the MobileCoordinateSystem.

property Bearing.MobileLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the MobileLocation.

property Bearing.MobilePinballSize: Ansys.Core.Units.Quantity | None#

Gets or sets the MobilePinballSize.

property Bearing.MobileXCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the MobileXCoordinate.

property Bearing.MobileYCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the MobileYCoordinate.

property Bearing.MobileZCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the MobileZCoordinate.

property Bearing.Name: str | None#

Name property.

property Bearing.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property Bearing.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property Bearing.ReferenceBeamCoincidentLengthFactor: float | None#

Gets or sets the Coincident Length Factor on reference side that scales the stiffness of the connection between the beam elements and the remote point. This property is applicable when the Behavior property is set to “Beam”. Default: 1.

property Bearing.ReferenceBeamMaterial: str | None#

Gets or sets the ReferenceBeamMaterial.

property Bearing.ReferenceBeamRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferenceBeamRadius.

property Bearing.ReferenceBehavior: Ansys.Mechanical.DataModel.Enums.LoadBehavior | None#

Gets or sets the ReferenceBehavior.

property Bearing.ReferenceBodyName: str | None#

Gets the ReferenceBodyName.

property Bearing.ReferenceCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the ReferenceCoordinateSystem.

property Bearing.ReferenceLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the ReferenceLocation.

property Bearing.ReferencePinballRegion: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferencePinballRegion.

property Bearing.ReferenceRotationPlane: Ansys.Mechanical.DataModel.Enums.RotationPlane | None#

Gets or sets the ReferenceRotationPlane.

property Bearing.ReferenceSet: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets the ReferenceSet.

property Bearing.ReferenceXCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferenceXCoordinate.

property Bearing.ReferenceYCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferenceYCoordinate.

property Bearing.ReferenceZCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferenceZCoordinate.

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

State property.

property Bearing.StiffnessK11: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the StiffnessK11.

property Bearing.StiffnessK12: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the StiffnessK12.

property Bearing.StiffnessK21: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the StiffnessK21.

property Bearing.StiffnessK22: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the StiffnessK22.

property Bearing.Suppressed: bool | None#

Gets or sets the Suppressed.

property Bearing.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

Method detail#

Bearing.Activate() None#

Activate the current object.

Bearing.AddCommandSnippet() Ansys.ACT.Automation.Mechanical.CommandSnippet#

Creates a new CommandSnippet

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

Bearing.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

Bearing.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

Bearing.GetHashCode() int#

GetHashCode method.

Bearing.GetIconFile() System.Byte#

GetIconFile method.

Bearing.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

Bearing.GetPath() str#

GetPath method.

Bearing.GetPropertyName(dispId: int) str#

GetPropertyName method.

Bearing.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Bearing.GetType() type#

GetType method.

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

GetVisibleProperties method.

Bearing.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Bearing.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Bearing.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Bearing.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Bearing.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

Run the PromoteToNamedSelection action.

Bearing.PromoteToRemotePoint() Iterable[Ansys.ACT.Automation.Mechanical.RemotePoint]#

Run the PromoteToRemotePoint action.

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

PropertyById method.

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

Get a property by its unique name.

Bearing.RemoveParameter(propName: str) None#

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

Bearing.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

Bearing.ToString() str#

ToString method.