Hey
I was wondering if there is a definition in vectorworks that allows you to edit a textstyle.
I want to make a script that can chance the color of a specific textstyle.
in a previous version (vw2021) i just had a textstyle attached to a class and when i changed the classcolors (with a script) my textobjects would chanche aswell but this isn't the case anymore sadly..
i could change it all manualy but we all know that a script is much better right 😄
i hope this
Here is the Vectorscript version.
The codes needed for the SetObjectVariable calls are in the Vectorscirpt Appendix.
There may be other ways, but what I tried and worked to get the changes to the text style to show was to reattach the text style to every object that has that style already. But then I found that some of the text blocks ended up being to short when I went to a larger font size, so I had to reset all the text blocks also.
1361 is the code for the