- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are exploring using macros to automatically rename line patterns across hundreds of loadable families in line with new company standards.
As I'm new to using macros, I stumbled upon this web page which allows a prefix to be added to line patterns. I tested it and it seems to work fine.
https://www.modelical.com/en/node/revit-api-rename-line-patterns/
However, we are needing to replace the line pattern name's prefix with a different one. The above macro only adds a new prefix (ie. I can't seem to remove the existing prefix). Any advice on what modifications to this macro would be needed would be much appreciated.
eg. Old name = ABC-Dash_Dot
New name = DEF-Dash_Dot
Many thanks in advance.
Solved! Go to Solution.