# SmlWriter.SmlElement class

Namespace: [GrasshopperIO.DataBase](https://developer.rhino3d.com/api/gh2/namespace/grasshopperio.database.md) · Assembly: [GrasshopperIO](https://developer.rhino3d.com/api/gh2/assembly/grasshopperio.md)

```cs
public sealed class SmlWriter.SmlElement : IDisposable
```

A disposable element object. The object must be disposed when the block ends to ensure SML compliant text.

## Constructors

- [SmlWriter.SmlElement](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.smlwriter.smlelement/ctor.md)

## Methods

- [Dispose](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.smlwriter.smlelement/dispose.md)
