Skip to main content

Mechanical scripting interface

ExistingMaterialOperation

Last update: 14.01.2025

class Ansys.Mechanical.DataModel.MechanicalEnums.Materials.ExistingMaterialOperation

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