CoSimulationPin#

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

Bases: object

Defines a CoSimulationPin.

Overview#

Activate

Activate the current object.

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.

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.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

DOF

Gets or sets the DOF.

DataModelObjectCategory

Gets the current DataModelObject's category.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

InternalObject

Gets the internal object. For advanced usage only.

JointType

Gets or sets the Joint Type.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

PinBehavior

Gets or sets the Pin Behavior.

PinNature

Gets or sets the Pin Nature.

Properties

Gets the list of properties for this object.

Scope

Gets or sets the Joint through Scope.

State

State property.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property CoSimulationPin.ClsId: int | None#

ClsId property.

property CoSimulationPin.DOF: Ansys.Mechanical.DataModel.Enums.KinematicDOF | None#

Gets or sets the DOF.

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

Gets the current DataModelObject's category.

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

GroupingFolder property.

property CoSimulationPin.IconName: str | None#

IconName property.

property CoSimulationPin.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSSimplorerPinAuto | None#

Gets the internal object. For advanced usage only.

property CoSimulationPin.JointType: Ansys.Mechanical.DataModel.Enums.JointType | None#

Gets or sets the Joint Type.

property CoSimulationPin.Name: str | None#

Name property.

property CoSimulationPin.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property CoSimulationPin.PinBehavior: Ansys.Mechanical.DataModel.Enums.PinBehavior | None#

Gets or sets the Pin Behavior.

property CoSimulationPin.PinNature: Ansys.Mechanical.DataModel.Enums.PinNature | None#

Gets or sets the Pin Nature.

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

Gets the list of properties for this object.

property CoSimulationPin.Scope: Ansys.ACT.Automation.Mechanical.Connections.Joint | None#

Gets or sets the Joint through Scope.

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

State property.

property CoSimulationPin.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

Method detail#

CoSimulationPin.Activate() None#

Activate the current object.

CoSimulationPin.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

CoSimulationPin.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

CoSimulationPin.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

CoSimulationPin.GetHashCode() int#

GetHashCode method.

CoSimulationPin.GetIconFile() System.Byte#

GetIconFile method.

CoSimulationPin.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

CoSimulationPin.GetPath() str#

GetPath method.

CoSimulationPin.GetPropertyName(dispId: int) str#

GetPropertyName method.

CoSimulationPin.GetPropertyValue(name: str) Any#

GetPropertyValue method.

CoSimulationPin.GetType() type#

GetType method.

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

GetVisibleProperties method.

CoSimulationPin.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

CoSimulationPin.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

CoSimulationPin.InitializeLifetimeService() Any#

InitializeLifetimeService method.

CoSimulationPin.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

CoSimulationPin.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

CoSimulationPin.RemoveParameter(propName: str) None#

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

CoSimulationPin.ToString() str#

ToString method.