ContactStepControl#

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

Bases: object

Defines a ContactStepControl.

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

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

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.

SetActivateAtLoadStep

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

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

ContactSelection

Gets or sets the ContactSelection.

CurrentStep

Gets or sets the CurrentStep.

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.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

NormalStiffness

Gets or sets the NormalStiffnessValueType.

NormalStiffnessFactor

Gets or sets the NormalStiffnessFactor.

NormalStiffnessValue

Gets or sets the NormalStiffnessValue.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

State

State property.

Status

Gets or sets the Status.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property ContactStepControl.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property ContactStepControl.ContactSelection: Ansys.ACT.Automation.Mechanical.Connections.ContactRegion | None#

Gets or sets the ContactSelection.

property ContactStepControl.CurrentStep: int | None#

Gets or sets the CurrentStep.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property ContactStepControl.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property ContactStepControl.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSElementControlsAuto | None#

Gets the internal object. For advanced usage only.

property ContactStepControl.Name: str | None#

Name property.

property ContactStepControl.NormalStiffness: Ansys.Mechanical.DataModel.Enums.ElementControlsNormalStiffnessType | None#

Gets or sets the NormalStiffnessValueType.

property ContactStepControl.NormalStiffnessFactor: float | None#

Gets or sets the NormalStiffnessFactor.

property ContactStepControl.NormalStiffnessValue: Ansys.Core.Units.Quantity | None#

Gets or sets the NormalStiffnessValue.

property ContactStepControl.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

State property.

property ContactStepControl.Status: Ansys.Mechanical.DataModel.Enums.ElementControlsStatus | None#

Gets or sets the Status.

property ContactStepControl.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

Method detail#

ContactStepControl.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

ContactStepControl.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ContactStepControl.GetAPIName(dispId: int) str#

Property name bound to dispId.

ContactStepControl.GetActivateAtLoadStep(stepNumber: int) bool#

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

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

GetHashCode method.

ContactStepControl.GetIconFile() System.Byte#

GetIconFile method.

ContactStepControl.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ContactStepControl.GetPath() str#

GetPath method.

ContactStepControl.GetPropertyName(dispId: int) str#

GetPropertyName method.

ContactStepControl.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ContactStepControl.GetType() type#

GetType method.

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

GetVisibleProperties method.

ContactStepControl.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ContactStepControl.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ContactStepControl.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ContactStepControl.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ContactStepControl.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

ContactStepControl.RemoveParameter(propName: str) None#

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

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

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

ContactStepControl.ToString() str#

ToString method.