shouldExportElement Method
If true is returned, then the element will be exported.
shouldExportElement(_element: Element): Promise<boolean>
@note This method can optionally be overridden to exclude an individual Element (and its children and ElementAspects) from the export. The base implementation always returns true.
@note During IModelExporter.exportChanges, this method is also called once for each unchanged ancestor of a changed element, so that a rejected ancestor excludes its changed descendants.
| Parameter | Type | Description |
|---|---|---|
| _element | Element |
Returns - Promise
Defined in
Last Updated: 02 October, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.