# ObjectLevel enum

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum ObjectLevel
```

Enumerates the possible levels at which objects can occur.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | No object level is known. |
| Primary | 1 | Object is primary, meaning it exists as a separate entry in an object collection. |
| Subsidiary | 2 | Object is subsidiary, meaning it is part of the hierarchy of a some primary object, which must be its direct parent. |
| Both | 3 | Indicates both primary and subsidiary objects. |
