create MethodStatic
Create a ModelSelector to select which Models are displayed by a ViewDefinition.
create(iModelDb: IModelDb, definitionModelId: Id64String, name: string, models: Id64Array): ModelSelector
throws IModelError if unable to create the element.
| Parameter | Type | Description |
|---|---|---|
| iModelDb | IModelDb | The iModel |
| definitionModelId | Id64String | The DefinitionModel |
| name | string | The name/CodeValue of the ModelSelector |
| models | Id64Array | Array of models to select for display |
Returns - The newly constructed ModelSelector element.
Defined in
Last Updated: 08 January, 2020