    

 ## On this page

  

 

 # `ExistingMaterialOperation`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.MechanicalEnums.Materials.ExistingMaterialOperation"></a>

#### *class* Ansys.Mechanical.DataModel.MechanicalEnums.Materials.ExistingMaterialOperation(\*args, \*\*kwds)

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

Specifies what should occur when a material being imported has the same identifiers as a material which already exists in Mechanical.

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

## Overview

### Attributes

Name[`New`](#ExistingMaterialOperation.New)[`Replace`](#ExistingMaterialOperation.Replace)<a id="attribute-detail"></a>

## Attribute detail

<a id="ExistingMaterialOperation.New"></a>

### ExistingMaterialOperation.New *= 1*

<a id="ExistingMaterialOperation.Replace"></a>

### ExistingMaterialOperation.Replace *= 2*