Jean-Marc
(Jean-Marc Couffin)
October 14, 2025, 10:12am
1
Take a look here, a new behaviour has been introduced to handle relative or absolute path spec in bundle.yaml file (no need for _content or _other suffix in RFA)
Thanks to Wurschdhaud · GitHub and some elbow oil to review
develop ← Wurschdhaud:fix-#1809
opened 08:25PM - 13 Oct 25 UTC
## Description
Add "content" and "content_alt" as flags for the bundle file.
…
Fallback to content in family name is preserved, so it shouldn't break any scripts.
Usage examples:
```yaml
title: "AT-AT"
content: "C:\\Users\\XXX\\Desktop\\AT-AT_.rfa"
content_alt: "C:\\Users\\XXX\\Desktop\\AT-AT_alt.rfa"
```
or, if simply in the same folder:
```yaml
title: "AT-AT"
content: "AT-AT_.rfa"
content_alt: "AT-AT_alt.rfa"
```
Note:
- documentation needs to be updated
- the auto version check by naming convention is now gone for bundle file declarations
---
## Checklist
Before submitting your pull request, ensure the following requirements are met:
- [X] Code follows the [PEP 8](https://peps.python.org/pep-0008/) style guide.
- [X] Code has been formatted with [Black](https://github.com/psf/black) using the command:
```bash
pipenv run black {source_file_or_directory}
```
- [X] Changes are tested and verified to work as expected.
---
## Related Issues
If applicable, link the issues resolved by this pull request:
- Resolves #1809
---
## Additional Notes
Great help by deepwiki. What a powerful tool. Don't know if the code is "pretty" enough though, pls verify.
---
Thank you for contributing to pyRevit! 🎉
Legacy behaviour is maintained
@romangolev You may want to take a look at this one