API Reference > imodelhub-client > iModelHubClient > IModelQuery > byName byName Method Query iModel by its name. byName(name: string): IModelQuery throws IModelHubClientError with IModelHubStatus.UndefinedArgumentError if name is undefined or empty. Parameter Type Description name string Name of the iModel. Returns - IModelQuery This query. Defined in clients/imodelhub/src/imodelhub/iModels.ts Line 257 Last Updated: 11 June, 2024