create MethodStatic
Create a ModelSelector to select which Models are displayed by a ViewDefinition.
create(iModelDb: IModelDb, definitionModelId: string, name: string, models: Id64Array): ModelSelector
@returns The newly constructed ModelSelector element.
@throws IModelError if unable to create the element.
| Parameter | Type | Description | 
|---|---|---|
| iModelDb | IModelDb | The iModel | 
| definitionModelId | string | The DefinitionModel | 
| name | string | The name/CodeValue of the ModelSelector | 
| models | Id64Array | Array of models to select for display | 
Returns - ModelSelector
The newly constructed ModelSelector element.
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.