Nico_be Posted June 27, 2023 Share Posted June 27, 2023 Hello, I'm looking for a way to change the parameters of a plant style automatically on dozens of plants at a time, via a script for example: I'd like the plant label parameters to change from "by style" to "by object". Manually, I have to edit each plant and click 14 times... Does anyone have an idea for changing this automatically, in batch? Thanks! 1 Quote Link to comment
Vectorworks, Inc Employee Popular Post Katarina Ollikainen Posted June 27, 2023 Vectorworks, Inc Employee Popular Post Share Posted June 27, 2023 Hi, this is included in 2023 and I've made a quick video on how to use it. MassEditPlantStyle(''); Hope it helps. Change plant style settings.mp4 10 5 Quote Link to comment
Nico_be Posted June 28, 2023 Author Share Posted June 28, 2023 This is exactly the script I was hoping for! Great, thanks @Katarina Ollikainen ! 1 Quote Link to comment
Amanda McDermott Posted July 6, 2023 Share Posted July 6, 2023 On 6/27/2023 at 3:10 PM, Katarina Ollikainen said: Hi, this is included in 2023 and I've made a quick video on how to use it. MassEditPlantStyle(''); Hope it helps. Change plant style settings.mp4 Thank you Katarina, this has saved me lots of time! 1 Quote Link to comment
Nico_be Posted July 7, 2023 Author Share Posted July 7, 2023 Hello @Katarina Ollikainen Would it be possible to insert this script into a more complex script that would allow multiple parameters to be changed at once, instead of rerunning it for each parameter? Or turn it into a marionette node? Quote Link to comment
Vectorworks, Inc Employee Popular Post Katarina Ollikainen Posted July 7, 2023 Vectorworks, Inc Employee Popular Post Share Posted July 7, 2023 @Nico_be, we're working on a different approach to manage plant styles - it will be a more streamlined approach, and you won't need to run a script, so it will be better suited for most users. I can't promise when this will be done, but we're actively working on it. 4 1 Quote Link to comment
Piotr Karczewski Posted December 7, 2023 Share Posted December 7, 2023 On 6/27/2023 at 4:10 PM, Katarina Ollikainen said: Hi, this is included in 2023 and I've made a quick video on how to use it. MassEditPlantStyle(''); Hope it helps. Change plant style settings.mp4 @Katarina Ollikainen this is incredibly amazing, love Your help! Quote Link to comment
Piotr Karczewski Posted December 8, 2023 Share Posted December 8, 2023 @Katarina Ollikainen do You have a recipe for (Plants) Textures mass edition? Thanks for Your help in advance. 1 Quote Link to comment
Ben Miura Posted September 10 Share Posted September 10 @Katarina OllikainenThanks so much for this. Just started using it in 2024 and it's returning the plant label as OK am I doing something wrong? Quote Link to comment
Vectorworks, Inc Employee Katarina Ollikainen Posted September 16 Vectorworks, Inc Employee Share Posted September 16 @Ben Miura, Can you please post a sample file with the result you get - I'm not sure where the OK shows up for you. Also, I would recommend using the data tag for the plant instead of the built-in tag, as you'll have more control over it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.