Metadata-Version: 2.1
Name: revit-extractor
Version: 0.1.0
Summary: A Library allow extract revit without open revit
Author: chuongmep
Author-email: chuongpqvn@gmail.com
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: License.md
Requires-Dist: aps-toolkit
Requires-Dist: olefile

## Revit Extractor

This is a library allow export native data from Revit file without Open Revit, it's useful for extract data from Revit file to another system.

![](./samples/background.png)


## Requirement

- Make sure you have Revit installed on your machine.
- Make sure you have Python installed on your machine version `3.9` or later.

## How to use

1. Install the library by using pip:
```bash
pip install revit-extractor --upgrade
```

2. Use the library in your code:

- Extract all categories from Revit file:

```python
from revit_extractor import RevitExtractor
rvt_path = r"D:\_WIP\Download\Sample Office Building Model V1.rvt"
prodb = RevitExtractor(rvt_path).read_prob_data()
categories = prodb.get_all_categories()
for key in categories:
    print(key, categories[key])
```
