    

 ## On this page

  

 

 # `ContactStepControl`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.BoundaryConditions.ContactStepControl"></a>

#### *class* Ansys.ACT.Automation.Mechanical.BoundaryConditions.ContactStepControl

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Defines a ContactStepControl.

<a id="overview"></a>

## Overview

### Methods

NameDescription[`Activate`](#ContactStepControl.Activate)Activate the current object.[`AddComment`](#ContactStepControl.AddComment)Creates a new child Comment.[`AddFigure`](#ContactStepControl.AddFigure)Creates a new child Figure.[`AddImage`](#ContactStepControl.AddImage)Creates a new child Image.[`CopyTo`](#ContactStepControl.CopyTo)Copies all visible properties from this object to another.[`CreateParameter`](#ContactStepControl.CreateParameter)Creates a new parameter for a Property.[`Delete`](#ContactStepControl.Delete)Run the Delete action.[`Duplicate`](#ContactStepControl.Duplicate)Creates a copy of the current DataModelObject.[`GetChildren`](#ContactStepControl.GetChildren)Gets the list of children, filtered by type.[`GetParameter`](#ContactStepControl.GetParameter)Gets the parameter corresponding to the given property.[`GroupAllSimilarChildren`](#ContactStepControl.GroupAllSimilarChildren)Run the GroupAllSimilarChildren action.[`GroupSimilarObjects`](#ContactStepControl.GroupSimilarObjects)Run the GroupSimilarObjects action.[`PropertyByAPIName`](#ContactStepControl.PropertyByAPIName)Get a property by its API name.[`PropertyByName`](#ContactStepControl.PropertyByName)Get a property by its unique name.[`RemoveParameter`](#ContactStepControl.RemoveParameter)Removes the parameter from the parameter set corresponding to the given property.### Properties

NameDescription[`Children`](#ContactStepControl.Children)Gets the list of children.[`Comments`](#ContactStepControl.Comments)Gets the list of associated comments.[`ContactSelection`](#ContactStepControl.ContactSelection)Gets or sets the ContactSelection.[`CurrentStep`](#ContactStepControl.CurrentStep)Gets or sets the CurrentStep.[`DataModelObjectCategory`](#ContactStepControl.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Figures`](#ContactStepControl.Figures)Gets the list of associated figures.[`Images`](#ContactStepControl.Images)Gets the list of associated images.[`InternalObject`](#ContactStepControl.InternalObject)Gets the internal object. For advanced usage only.[`NormalStiffness`](#ContactStepControl.NormalStiffness)Gets or sets the NormalStiffness.[`NormalStiffnessFactor`](#ContactStepControl.NormalStiffnessFactor)Gets or sets the NormalStiffnessFactor.[`NormalStiffnessValue`](#ContactStepControl.NormalStiffnessValue)Gets or sets the NormalStiffnessValue.[`Properties`](#ContactStepControl.Properties)Gets the list of properties for this object.[`Status`](#ContactStepControl.Status)Gets or sets the Status.[`Suppressed`](#ContactStepControl.Suppressed)Gets or sets the Suppressed.[`VisibleProperties`](#ContactStepControl.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

<a id="ContactStepControl.Children"></a>

### *property* ContactStepControl.Children *: List\[[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](../../../../Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of children.

<a id="ContactStepControl.Comments"></a>

### *property* ContactStepControl.Comments *: Iterable\[[Ansys.ACT.Automation.Mechanical.Comment](../Comment.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Comment)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated comments.

<a id="ContactStepControl.ContactSelection"></a>

### *property* ContactStepControl.ContactSelection *: [Ansys.ACT.Automation.Mechanical.Connections.ContactRegion](../Connections/ContactRegion.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Connections.ContactRegion) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ContactSelection.

<a id="ContactStepControl.CurrentStep"></a>

### *property* ContactStepControl.CurrentStep *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CurrentStep.

<a id="ContactStepControl.DataModelObjectCategory"></a>

### *property* ContactStepControl.DataModelObjectCategory *: [Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory](../../../../Mechanical/DataModel/Enums/DataModelObjectCategory.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the current DataModelObject’s category.

<a id="ContactStepControl.Figures"></a>

### *property* ContactStepControl.Figures *: Iterable\[[Ansys.ACT.Automation.Mechanical.Figure](../Figure.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Figure)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated figures.

<a id="ContactStepControl.Images"></a>

### *property* ContactStepControl.Images *: Iterable\[[Ansys.ACT.Automation.Mechanical.Image](../Image.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Image)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated images.

<a id="ContactStepControl.InternalObject"></a>

### *property* ContactStepControl.InternalObject *: Ansys.Common.Interop.DSObjectsAuto.IDSElementControlsAuto | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the internal object. For advanced usage only.

<a id="ContactStepControl.NormalStiffness"></a>

### *property* ContactStepControl.NormalStiffness *: [Ansys.Mechanical.DataModel.Enums.ElementControlsNormalStiffnessType](../../../../Mechanical/DataModel/Enums/ElementControlsNormalStiffnessType.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Enums.ElementControlsNormalStiffnessType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the NormalStiffness.

<a id="ContactStepControl.NormalStiffnessFactor"></a>

### *property* ContactStepControl.NormalStiffnessFactor *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the NormalStiffnessFactor.

<a id="ContactStepControl.NormalStiffnessValue"></a>

### *property* ContactStepControl.NormalStiffnessValue *: [Ansys.Core.Units.Quantity](../../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the NormalStiffnessValue.

<a id="ContactStepControl.Properties"></a>

### *property* ContactStepControl.Properties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of properties for this object.

<a id="ContactStepControl.Status"></a>

### *property* ContactStepControl.Status *: [Ansys.Mechanical.DataModel.Enums.ElementControlsStatus](../../../../Mechanical/DataModel/Enums/ElementControlsStatus.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Enums.ElementControlsStatus) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Status.

<a id="ContactStepControl.Suppressed"></a>

### *property* ContactStepControl.Suppressed *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Suppressed.

<a id="ContactStepControl.VisibleProperties"></a>

### *property* ContactStepControl.VisibleProperties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

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

<a id="method-detail"></a>

## Method detail

<a id="ContactStepControl.Activate"></a>

### ContactStepControl.Activate() → [None](https://docs.python.org/3/library/constants.html#None)

Activate the current object.

<a id="ContactStepControl.AddComment"></a>

### ContactStepControl.AddComment() → [Ansys.ACT.Automation.Mechanical.Comment](../Comment.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Comment)

Creates a new child Comment.

<a id="ContactStepControl.AddFigure"></a>

### ContactStepControl.AddFigure() → [Ansys.ACT.Automation.Mechanical.Figure](../Figure.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Figure)

Creates a new child Figure.

<a id="ContactStepControl.AddImage"></a>

### ContactStepControl.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [Ansys.ACT.Automation.Mechanical.Image](../Image.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Image)

```text
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.

```

<a id="ContactStepControl.CopyTo"></a>

### ContactStepControl.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → [None](https://docs.python.org/3/library/constants.html#None)

Copies all visible properties from this object to another.

<a id="ContactStepControl.CreateParameter"></a>

### ContactStepControl.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

<a id="ContactStepControl.Delete"></a>

### ContactStepControl.Delete() → [None](https://docs.python.org/3/library/constants.html#None)

Run the Delete action.

<a id="ContactStepControl.Duplicate"></a>

### ContactStepControl.Duplicate() → [Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](../../../../Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)

Creates a copy of the current DataModelObject.

<a id="ContactStepControl.GetChildren"></a>

### ContactStepControl.GetChildren(recurses: [bool](https://docs.python.org/3/library/functions.html#bool), children: List\[ChildrenType\]) → List\[ChildrenType\]

Gets the list of children, filtered by type.

<a id="ContactStepControl.GetParameter"></a>

### ContactStepControl.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

<a id="ContactStepControl.GroupAllSimilarChildren"></a>

### ContactStepControl.GroupAllSimilarChildren() → [None](https://docs.python.org/3/library/constants.html#None)

Run the GroupAllSimilarChildren action.

<a id="ContactStepControl.GroupSimilarObjects"></a>

### ContactStepControl.GroupSimilarObjects() → [Ansys.ACT.Automation.Mechanical.TreeGroupingFolder](../TreeGroupingFolder.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.TreeGroupingFolder)

Run the GroupSimilarObjects action.

<a id="ContactStepControl.PropertyByAPIName"></a>

### ContactStepControl.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Automation.Mechanical.Property

```text
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.

```

<a id="ContactStepControl.PropertyByName"></a>

### ContactStepControl.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

<a id="ContactStepControl.RemoveParameter"></a>

### ContactStepControl.RemoveParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [None](https://docs.python.org/3/library/constants.html#None)

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