michaelk Posted September 21, 2016 Share Posted September 21, 2016 I'd like a new contextual click / menu command to create a new class with the graphic attributes of the selected object. mk 3 Quote Link to comment
0 Pat Stanford Posted April 28, 2022 Share Posted April 28, 2022 Please explain more what you are seeing. I am not seeing a change in the class to None when I run the script. And is this the exact script posted above or modified? I don't see a script where the name ends with "...script II" in the thread. If it is a modified version of something please post it so we can see what is going on. Quote Link to comment
0 Peter Vandewalle Posted April 29, 2022 Share Posted April 29, 2022 This seems to be linked to this thread: There's a plugin that does exactly what you want, I think. Quote Link to comment
0 Andy Broomell Posted April 29, 2022 Share Posted April 29, 2022 (edited) @trashcan - FYI in 2022 a new command called "Create Class using Object Attributes" was added by default in the right click contextual menu. No extra scripts needed. Edited April 29, 2022 by Andy Broomell Mixed up years... 1 Quote Link to comment
0 michaelk Posted April 29, 2022 Author Share Posted April 29, 2022 @Pat Stanford and I got Sherlocked 🙂 !!! 1 Quote Link to comment
0 Pat Stanford Posted April 29, 2022 Share Posted April 29, 2022 About time some of our script got Sherlocked. They are good ideas!! 😉 3 1 Quote Link to comment
0 Christiaan Posted April 29, 2022 Share Posted April 29, 2022 43 minutes ago, Andy Broomell said: @trashcan - Not sure if your signature is current, so I'm assuming you're still on VW2022. But just FYI in 2023 a new command called "Create Class using Object Attributes" was added by default in the right click contextual menu. No extra scripts needed. 2023? Quote Link to comment
0 Andy Broomell Posted April 29, 2022 Share Posted April 29, 2022 5 minutes ago, Christiaan said: 2023? Nope it's in 2022, sorry. It's been a long week..... 1 Quote Link to comment
0 Pat Stanford Posted April 29, 2022 Share Posted April 29, 2022 I think @Andy Broomellis trying to join me in living 15 minutes in the future. 😉🤣 2 Quote Link to comment
0 trashcan Posted May 3, 2022 Share Posted May 3, 2022 @Pat Stanford to clarify: my goal here is the ability to use the quick search function in order to quickly class new objects or groups. Anything that goes into a menu via workspace editor can show up in quick search. So using this script is a work around to achieve some thing else 🤪 If I use the script as built (not the VWX packaged version) on a single item, it somehow makes the fill style None for that new class. If I use the script as built (not the one now packaged with Vectorworks) and I have attribute overrides on objects within a group (i.e., an object in the none class but it's yellow instead of white), then they revert to the attributes of the none class. If the objects within a group are already classed before the script is run, then it works as I would hope ✅ If I use the script as included with Vectorworks, the script doesn't work at all. Nothing happens 😢 @Peter Vandewalle I couldn't get this to work in VWX 2022. Added it to the plug-in directory and it failed to launch. Maybe I'm doing something wrong. Either way though, not sure if this is what I need - but it looks super useful nonetheless ! Quote Link to comment
0 Lunar Waneshaft Posted May 3, 2022 Share Posted May 3, 2022 On 4/29/2022 at 1:40 PM, Pat Stanford said: About time some of our script got Sherlocked. That's how you know you've made it 😜 Quote Link to comment
0 Pat Stanford Posted May 3, 2022 Share Posted May 3, 2022 @trashcanI think there are too many scripts floating around. The one you are using is different than the one that @michaelk and I worked on. 1 Quote Link to comment
Question
michaelk
I'd like a new contextual click / menu command to create a new class with the graphic attributes of the selected object.
mk
Link to comment
Top Posters For This Question
23
10
9
4
Popular Days
Oct 4
13
Apr 29
7
Oct 25
4
Jan 19
4
Top Posters For This Question
michaelk 23 posts
Boh 10 posts
Pat Stanford 9 posts
markdd 4 posts
Popular Days
Oct 4 2018
13 posts
Apr 29 2022
7 posts
Oct 25 2018
4 posts
Jan 19 2020
4 posts
Popular Posts
michaelk
This has been really helpful, Pat. I'm posting a slight update to it. This script is the exactly the same as the above except: 1. The newly created script will hav
Pat Stanford
About time some of our script got Sherlocked. They are good ideas!! 😉
michaelk
I'd like a new contextual click / menu command to create a new class with the graphic attributes of the selected object. mk
Posted Images
61 answers to this question
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.