    

 ## On this page

  

 

 # `NodeMerge`

 Last update: 16.07.2025 

<a id="ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.NodeMerge"></a>

#### *class* Ansys.ACT.Automation.Mechanical.NodeMerge

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

Defines a NodeMerge.

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

## Overview

### Methods

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

NameDescription[`Children`](#NodeMerge.Children)Gets the list of children.[`Comments`](#NodeMerge.Comments)Gets the list of associated comments.[`DataModelObjectCategory`](#NodeMerge.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Figures`](#NodeMerge.Figures)Gets the list of associated figures.[`Images`](#NodeMerge.Images)Gets the list of associated images.[`InternalObject`](#NodeMerge.InternalObject)Gets the internal object. For advanced usage only.[`MasterBodies`](#NodeMerge.MasterBodies)Gets the MasterBodies.[`MasterLocation`](#NodeMerge.MasterLocation)Gets or sets the MasterLocation.[`Properties`](#NodeMerge.Properties)Gets the list of properties for this object.[`ScopingMethod`](#NodeMerge.ScopingMethod)ScopingMethod property.[`SlaveBodies`](#NodeMerge.SlaveBodies)Gets the SlaveBodies.[`SlaveLocation`](#NodeMerge.SlaveLocation)Gets or sets the SlaveLocation.[`Suppressed`](#NodeMerge.Suppressed)Gets or sets the Suppressed.[`ToleranceType`](#NodeMerge.ToleranceType)Gets or sets the ToleranceType.[`ToleranceValue`](#NodeMerge.ToleranceValue)Gets/ Sets the ToleranceValue.[`VisibleProperties`](#NodeMerge.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

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

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

Gets the list of children.

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

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

Gets the list of associated comments.

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

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

Gets the current DataModelObject’s category.

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

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

Gets the list of associated figures.

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

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

Gets the list of associated images.

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

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

Gets the internal object. For advanced usage only.

<a id="NodeMerge.MasterBodies"></a>

### *property* NodeMerge.MasterBodies *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the MasterBodies.

<a id="NodeMerge.MasterLocation"></a>

### *property* NodeMerge.MasterLocation *: Ansys.ACT.Interfaces.Common.ISelectionInfo | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the MasterLocation.

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

### *property* NodeMerge.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="NodeMerge.ScopingMethod"></a>

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

ScopingMethod property.

<a id="NodeMerge.SlaveBodies"></a>

### *property* NodeMerge.SlaveBodies *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the SlaveBodies.

<a id="NodeMerge.SlaveLocation"></a>

### *property* NodeMerge.SlaveLocation *: Ansys.ACT.Interfaces.Common.ISelectionInfo | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SlaveLocation.

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

### *property* NodeMerge.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="NodeMerge.ToleranceType"></a>

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

Gets or sets the ToleranceType.

<a id="NodeMerge.ToleranceValue"></a>

### *property* NodeMerge.ToleranceValue *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets/ Sets the ToleranceValue.

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

### *property* NodeMerge.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="NodeMerge.Activate"></a>

### NodeMerge.Activate()

Activate the current object.

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

### NodeMerge.AddComment()

Creates a new child Comment.

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

### NodeMerge.AddFigure()

Creates a new child Figure.

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

### NodeMerge.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str))

```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="NodeMerge.CopyTo"></a>

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

Copies all visible properties from this object to another.

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

### NodeMerge.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Creates a new parameter for a Property.

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

### NodeMerge.Delete()

Run the Delete action.

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

### NodeMerge.Duplicate()

Creates a copy of the current DataModelObject.

<a id="NodeMerge.Generate"></a>

### NodeMerge.Generate()

Run the Generate action.

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

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

Gets the list of children, filtered by type.

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

### NodeMerge.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Gets the parameter corresponding to the given property.

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

### NodeMerge.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### NodeMerge.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

### NodeMerge.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

```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="NodeMerge.PropertyByName"></a>

### NodeMerge.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

Get a property by its unique name.

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

### NodeMerge.RemoveParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

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

<a id="NodeMerge.RenameBasedOnDefinition"></a>

### NodeMerge.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.