# ModelLayer class

Namespace: [Grasshopper.Rhinoceros.Model](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.rhinoceros.model.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[TypeName("Model Layer")]
[TypeDescription("Rhino model layer")]
public sealed class ModelLayer : ModelComponentContent, IGH_BakeAwareData
```

Represents a Rhino model layer. Wraps the functionality of the [Layer](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.docobjects.layer/) type.

## Constructors

- [ModelLayer](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/ctor.md): (4 overloads)

## Properties

- [Attribs](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/attribs.md)
- [DefaultAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/defaultattributes.md)
- [DisplayColor](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/displaycolor.md)
- [DraftingColor](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/draftingcolor.md)
- [Hidden](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/hidden.md)
- [HiddenOnModel](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/hiddenonmodel.md)
- [HiddenOnNewDetail](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/hiddenonnewdetail.md)
- [Linetype](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/linetype.md)
- [LineWeight](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/lineweight.md)
- [Locked](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/locked.md)
- [Material](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/material.md)
- [SectionStyle](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/sectionstyle.md)
- [Unset](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/unset.md): (static)

## Methods

- [IGH_BakeAwareData.BakeGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/bakegeometry.md)
- [Cast](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/cast.md): (static)
- [RenderItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/renderitem.md)
- [ToAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/toattributes.md)

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modellayer/op-implicit.md): (3 overloads, static)

## Inherited Members

- From [ModelComponentContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcomponentcontent.md): [UserText](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcomponentcontent/usertext.md)
- From [ModelContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent.md): [Id](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/id.md), [IsReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddata.md), [IsReferencedDataLoaded](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddataloaded.md), [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalid.md), [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalidwhynot.md), [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/name.md), [Notes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/notes.md), [Parent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/parent.md), [Path](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/path.md), [Tags](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tags.md), [AsFrozen](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/asfrozen.md), [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/castto.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/equals.md), [GetHashCode](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/gethashcode.md), [InternaliseData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/internalisedata.md), [LoadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/loadreferenceddata.md), [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/read.md), [RuntimeId](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/runtimeid.md), [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tostring.md), [TooltipString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tooltipstring.md), [UnloadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/unloadreferenceddata.md), [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/write.md)
- From [ModelData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata.md): [Serial](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/serial.md), [DisplayName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/displayname.md), [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typedescription.md), [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typename.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/equals.md), [ToDetails](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/todetails.md)
