---
title: "ObjShape.MaterialId"
url: "https://reference.aspose.com/cad/net/aspose.cad.fileformats.obj.elements/objshape/materialid/"
product: "Aspose.CAD for .NET API Reference"
description: "ObjShape property. Gets or sets the material identifier."
---

## ObjShape.MaterialId property

Gets or sets the material identifier.

```csharp
public int MaterialId { get; set; }
```

### Property Value

The material identifier.

### See Also

* class [ObjShape](../)
* namespace [Aspose.CAD.FileFormats.Obj.Elements](../../../aspose.cad.fileformats.obj.elements/)
* assembly [Aspose.CAD](../../../)

