Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
-
Before you run this example replace the
urlStringin main.ts with the iModel you want to query. -
To select different elements change the
ecSqlvariable to a query which selects the elements you are interested in.NOTE: The first column must be the ECInstanceId.
-
Install
npm install -
Build
npm run build -
Run
npm run startNOTE: The first time you run you will be taken to the browser to login and grant this program access to download the iModel.
-
Debug: To debug in VS Code use the predefined
Startprofile.