Gets or sets the material ObjectId of the surface mask.
public ObjectId MaterialId { get; set; }
Public Property MaterialId As ObjectId Get Set
public:
property ObjectId MaterialId {
ObjectId get ();
void set (ObjectId value);
}| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the MaterialId is not an ObjectId of type Autodesk.AutoCAD.DatabaseServices.Material. |