This new tool allow to set in batch orientation of legend component.
It works even if no view is properly setup in the family itself.
See PR to have a look at the code New Tools: Set legend component orientation by jmcouffin · Pull Request #1743 · eirannejad/pyRevit · GitHub
Use latest WIP Installers here to try Merge pull request #1743 from jmcouffin/feature/legend · eirannejad/pyRevit@74c486a · GitHub
Note:
- In some rare cases, it does not apply the orientation.
- inspired by BIMMajster tools | Legend Components Hidden Views