DynamicComplianceConstraint#

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

Bases: object

Defines a DynamicComplianceConstraint.

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.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

ComplianceLimit

Gets or sets the ComplianceLimit.

DataModelObjectCategory

Gets the current DataModelObject's category.

EnvironmentSelection

Gets or Sets the EnvironmentSelection to an Analysis object or TopoEnvironmentType enum.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

InternalObject

Gets the internal object. For advanced usage only.

MaximumValue

Gets or sets the MaximumValue.

MinimumValue

Gets or sets the MinimumValue.

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 DynamicComplianceConstraint.AttachedRefs: List[int] | None#

AttachedRefs property.

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

Gets the list of children.

property DynamicComplianceConstraint.ClsId: int | None#

ClsId property.

property DynamicComplianceConstraint.ComplianceLimit: Ansys.ACT.Mechanical.Fields.Field | None#

Gets or sets the ComplianceLimit.

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

Gets the current DataModelObject's category.

property DynamicComplianceConstraint.EnvironmentSelection: Any | None#

Gets or Sets the EnvironmentSelection to an Analysis object or TopoEnvironmentType enum.

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

GroupingFolder property.

property DynamicComplianceConstraint.IconName: str | None#

IconName property.

property DynamicComplianceConstraint.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSTopoConstraintAuto | None#

Gets the internal object. For advanced usage only.

property DynamicComplianceConstraint.MaximumValue: Ansys.Core.Units.Quantity | None#

Gets or sets the MaximumValue.

property DynamicComplianceConstraint.MinimumValue: Ansys.Core.Units.Quantity | None#

Gets or sets the MinimumValue.

property DynamicComplianceConstraint.Name: str | None#

Name property.

property DynamicComplianceConstraint.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

State property.

property DynamicComplianceConstraint.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

Method detail#

DynamicComplianceConstraint.Activate() None#

Activate the current object.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

DynamicComplianceConstraint.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

DynamicComplianceConstraint.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

DynamicComplianceConstraint.GetHashCode() int#

GetHashCode method.

DynamicComplianceConstraint.GetIconFile() System.Byte#

GetIconFile method.

DynamicComplianceConstraint.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

DynamicComplianceConstraint.GetPath() str#

GetPath method.

DynamicComplianceConstraint.GetPropertyName(dispId: int) str#

GetPropertyName method.

DynamicComplianceConstraint.GetPropertyValue(name: str) Any#

GetPropertyValue method.

DynamicComplianceConstraint.GetType() type#

GetType method.

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

GetVisibleProperties method.

DynamicComplianceConstraint.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

DynamicComplianceConstraint.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

DynamicComplianceConstraint.InitializeLifetimeService() Any#

InitializeLifetimeService method.

DynamicComplianceConstraint.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

DynamicComplianceConstraint.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

DynamicComplianceConstraint.RemoveParameter(propName: str) None#

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

DynamicComplianceConstraint.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

DynamicComplianceConstraint.ToString() str#

ToString method.