# WorksessionFileLayerOverride class

Namespace: [Rhino.FileIO](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.fileio.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v9.0

```cs
public sealed class WorksessionFileLayerOverride : IDisposable
```

A layer setting in a reference model that the worksession changes. Any value that is different in the worksession values and the file values is an override. Values that are the same are not.

## Constructors

- [WorksessionFileLayerOverride](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/ctor.md): (2 overloads) Creates a layer override with default values.

## Finalizer

- [~WorksessionFileLayerOverride](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/finalize.md): Releases the native layer override.

## Properties

- [LayerId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/layerid.md): Gets or sets the id of the layer in the reference model file.

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/dispose.md): Releases the native layer override.
- [GetFileValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/getfilevalues.md): Gets a copy of the layer's settings in the reference model when the worksession was saved.
- [GetWorksessionValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/getworksessionvalues.md): Gets a copy of the layer's settings in the worksession.
- [SetFileValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/setfilevalues.md): Replaces the file values with a copy of values.
- [SetWorksessionValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.worksessionfilelayeroverride/setworksessionvalues.md): Replaces the worksession values with a copy of values.
