An open API service indexing awesome lists of open source software.

https://github.com/itwin/presentation-rules-editor

An application for testing and editing Presentation rulesets.
https://github.com/itwin/presentation-rules-editor

bentley bim digital-twin imodel itwin

Last synced: 6 months ago
JSON representation

An application for testing and editing Presentation rulesets.

Awesome Lists containing this project

README

          

# Presentation Rules Editor

[![Build status](https://github.com/iTwin/presentation-rules-editor/actions/workflows/CI.yml/badge.svg?branch=master)](https://github.com/iTwin/presentation-rules-editor/actions/workflows/CI.yml?query=branch%3Amaster) [![CodeQL](https://github.com/iTwin/presentation-rules-editor/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/iTwin/presentation-rules-editor/actions/workflows/codeql-analysis.yml)

A monorepo for [Presentation](https://www.itwinjs.org/presentation/) ruleset editing application and its components.

## Using

To start editing rulesets, you will need to build the editor application:

1. Clone this repository.
2. Install application dependencies:

```shell
npx pnpm install
```

3. Build app/common and presentation-rules-editor-react (if it was never built prior):

```shell
npm run build:components
```

```shell
npm run build:common
```

4. Start the application:

```shell
npm start
```

5. Select an imodel within the launched browser window.

> If you have a snapshot imodel, put it inside `app/backend/assets/imodels` folder.

6. You will now be presented with a ruleset editor.

## Contributing

You can submit feature requests or bugs by creating [issues](https://github.com/iTwin/presentation-rules-editor/issues).