Skip to main content

Mechanical scripting interface 2025

`ExistingMaterialOperation`

Last update: 16.07.2025

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

Bases: enum.Enum

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

Overview

Attributes

Name
New
Replace

Attribute detail

ExistingMaterialOperation.New = 1

ExistingMaterialOperation.Replace = 2

Connect with Ansys