ConstraintEquation#

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

Bases: object

Defines a ConstraintEquation.

Overview#

Activate

Activate the current object.

AddCommandSnippet

Creates a new CommandSnippet

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

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.

GetTable

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

Comments

Gets the list of associated comments.

ConstantValue

ConstantValue property.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

InternalObject

Gets the internal object. For advanced usage only.

JointCondition

JointCondition property.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

State

State property.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property ConstraintEquation.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property ConstraintEquation.ConstantValue: float | None#

ConstantValue property.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property ConstraintEquation.IconName: str | None#

IconName property.

property ConstraintEquation.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSConstraintEquationAuto | None#

Gets the internal object. For advanced usage only.

property ConstraintEquation.JointCondition: Ansys.Mechanical.DataModel.Enums.JointConditionType | None#

JointCondition property.

property ConstraintEquation.Name: str | None#

Name property.

property ConstraintEquation.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

State property.

property ConstraintEquation.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

Method detail#

ConstraintEquation.Activate() None#

Activate the current object.

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

Creates a new CommandSnippet

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

ConstraintEquation.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ConstraintEquation.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

ConstraintEquation.GetHashCode() int#

GetHashCode method.

ConstraintEquation.GetIconFile() System.Byte#

GetIconFile method.

ConstraintEquation.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ConstraintEquation.GetPath() str#

GetPath method.

ConstraintEquation.GetPropertyName(dispId: int) str#

GetPropertyName method.

ConstraintEquation.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ConstraintEquation.GetTable() Ansys.ACT.Automation.Mechanical.BoundaryConditions.ConstraintEquationTable#

GetTable method.

ConstraintEquation.GetType() type#

GetType method.

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

GetVisibleProperties method.

ConstraintEquation.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ConstraintEquation.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ConstraintEquation.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ConstraintEquation.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ConstraintEquation.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

ConstraintEquation.RemoveParameter(propName: str) None#

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

ConstraintEquation.ToString() str#

ToString method.