Alessia M Posted November 21, 2017 Share Posted November 21, 2017 Hi, I am trying to find a way to create Subclasses in Vectorworks and to move existing Classes into Subclasses. Where can I find this function or topic to read in the manual or online? Thank you! Alessia Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted November 21, 2017 Vectorworks, Inc Employee Share Posted November 21, 2017 To create subclasses, you only need to add a - so "Glass-Clear" would be a subclass of "Glass" To move an existing class into a subclass of another, youd add MainClassName- to the front of the name of the original class. This system is a bit clunky and has been marked for improvement. 2 Quote Link to comment
Pat Stanford Posted November 21, 2017 Share Posted November 21, 2017 And make sure you use a hyphen (short dash), not an en-dash or em-dash (longer dashes) as only the hyphen is recognized as the subclass separator. I believe you can make sub-classes up to 4 levels deep (Class plus 3 nested sub-classes. After that hyphens don't make a deeper subclass but can be used in the name. You also need to make sure Hierarchical display is turned on in the Organization dialog box and the Navigation Palette. 2 Quote Link to comment
Alessia M Posted November 21, 2017 Author Share Posted November 21, 2017 Thank you it works! Quote Link to comment
Kohli Posted February 25, 2019 Share Posted February 25, 2019 Hi @JimW @Pat Stanford This is indeed a simple way to move classes to subclasses but only efficient when you want to move a few classes by manually adding a prefix. I usually import a lot of DWGs and mostly add a prefix to keep them organized once imported from import settings, but I'm wondering how would you move, say 100 classes to sub-classes if it's not done when importing. I hope I'm able to explain well. Thanks Kohli 2 Quote Link to comment
Jonathan Pickup Posted February 25, 2019 Share Posted February 25, 2019 It would be good if we could drag and drop classes to organise them. That way you could select several and drag them... 4 Quote Link to comment
Boh Posted February 25, 2019 Share Posted February 25, 2019 You can edit the names of mulitple classes at once via the "Edit Class Names..." command: 1 Quote Link to comment
Kohli Posted February 25, 2019 Share Posted February 25, 2019 @Jonathan Pickup Yes, Drag & drop is certainly a more intuitive approach to do this. I hope this feature becomes available soon. Quote Link to comment
Kohli Posted February 25, 2019 Share Posted February 25, 2019 @Boh I'm sorry I dont see this on my VW 2019 running on mac. Any idea why? Quote Link to comment
Boh Posted February 25, 2019 Share Posted February 25, 2019 Can you add it to your workspace? If not it may be a local version plugin. Quote Link to comment
Kohli Posted February 25, 2019 Share Posted February 25, 2019 (edited) @Boh I couldn't find it in the workspace manager. I use US version of Vectorworks, its surprising such a basic feature has been excluded. Is there a way around, to install it as a 3rd party plug-in or something like that? Edited February 25, 2019 by Kohli Quote Link to comment
Jonathan Pickup Posted February 25, 2019 Share Posted February 25, 2019 this is not a feature that has been EXCLUDED. It is an additional feature that has been created for the Aust/NZ market. Many of the international distributors create tools for their customers which are not available for the US market. Quote Link to comment
Kohli Posted February 25, 2019 Share Posted February 25, 2019 @Jonathan Pickup Thanks for the insight, Jonathan. Is there any way to INCLUDE these additional features whenever not available? Quote Link to comment
Jonathan Pickup Posted February 25, 2019 Share Posted February 25, 2019 Maybe if you talk nicely to your local distributor... in reality, the answer is no. You could learn to program Vectorworks and make your own tools. Quote Link to comment
Kohli Posted February 25, 2019 Share Posted February 25, 2019 @Jonathan Pickup I don't see the point of paying for Vectorworks and then program to make basic tools. I'll consider talking to the local distributor nicely though it's hardly useful 🙂 Thanks for your time. Quote Link to comment
Art V Posted February 25, 2019 Share Posted February 25, 2019 6 hours ago, Kohli said: I don't see the point of paying for Vectorworks and then program to make basic tools. Quite a few of us think the same way, it has been requested before that VW tries to make this either available or part of the base program (base meaning the US international version on which localised versions are based). Especially for those of us working internationally this can be an issue if some tool that could be considered basic/essential is only available locally as it can cause issues with editability of drawings. Quote Link to comment
Boh Posted February 25, 2019 Share Posted February 25, 2019 Well, even though I have the Edit Class Names command, I still regularly use this script created by @Matt Panzer in 1997! It simply adds a prefix to all classes in a file. Typical scenario is when I import dwg I do so into a blank file that has this script, run the script adding a "z-" prefix to all classes. Maybe clean out the dwg a bit more before importing it into my project file. All the random dwg classes will be nicely collapsed away at the bottom of my class list. { Written by: Matthew G. Panzer PanzerCAD Services, Inc. 1997 } PROCEDURE ChangeClassNames; VAR Count: INTEGER; ClassName: STRING; PrefixStr: STRING; BEGIN PrefixStr := StrDialog('Add prefix(to all classes):', 'DWG-'); IF (ClassNum>1) AND YNDialog('This will rename all of your classes! Are you sure you wish to continue?') THEN BEGIN FOR Count := 3 TO ClassNum DO BEGIN RenameClass( ClassList(Count), ConCat(PrefixStr, ClassList(Count)) ); END; END; END; RUN(ChangeClassNames); Quote Link to comment
Art V Posted February 25, 2019 Share Posted February 25, 2019 19 minutes ago, Boh said: Well, even though I have the Edit Class Names command, I still regularly use this script created by @Matt Panzer in 1997! I'll take the Edit Class Names command over the script, if only because I need to rename sets of classes afterwards when things change greatly in the drawings.😊 One would think that VW would consider this to be a basic feature that would be of benefite for a lot of VW users and therefore included it in the base version for all VW versions/localisations. Let's hope it will be included in VW2020. 1 Quote Link to comment
Kohli Posted February 26, 2019 Share Posted February 26, 2019 @Art V sorry for my naive question but how can providing tools which are already tested ok elsewhere cause issues with editability of same file format drawings, because of their geographical locations? I honestly fail to understand the real cause behind it but that's not my concern unless i'm provided a software which helps me focus on my design projects rather than unnecessary programming. 🙂 Quote Link to comment
Kohli Posted February 26, 2019 Share Posted February 26, 2019 @Boh Thanks for the script. In my case, I directly import DWGs into my project and add a prefix to imported classes from advanced import settings. :3 Are you aware of any other script which allows me to rename multiple classes instead of ALL classes? 🙂 Quote Link to comment
Boh Posted February 26, 2019 Share Posted February 26, 2019 4 hours ago, Kohli said: Are you aware of any other script which allows me to rename multiple classes instead of ALL classes? Sorry no. There is a class mapping feature which lets you map the classes of regularly imported classes. Though I have never used that feature. Quote Link to comment
Art V Posted February 26, 2019 Share Posted February 26, 2019 16 hours ago, Kohli said: @Art V sorry for my naive question but how can providing tools which are already tested ok elsewhere cause issues with editability of same file format drawings, because of their geographical locations? I honestly fail to understand the real cause behind it but that's not my concern unless i'm provided a software which helps me focus on my design projects rather than unnecessary programming. 🙂 For example... I have some custom tool that creates objects that you can see but cannot fully edit as intended unless you have that tool yourself. So if you get a file from someone in another part of the world where they use such kind of a tool then you may not be able to edit it at all or only in a (very) limited way or after converting it into a dumb object. In the case of a rename tool this is not going to be much of an issue, but with some other tools it may be an issue. Quote Link to comment
Kohli Posted February 27, 2019 Share Posted February 27, 2019 16 hours ago, Boh said: Sorry no. There is a class mapping feature which lets you map the classes of regularly imported classes. Though I have never used that feature. I tried using the class mapping feature on another occasion while i was on vw2018, it wasn't very user-friendly and eventually, I did things manually. Thanks for reminding though, I'll dig into it again on vw2019. Quote Link to comment
Kohli Posted February 27, 2019 Share Posted February 27, 2019 6 hours ago, Art V said: For example... I have some custom tool that creates objects that you can see but cannot fully edit as intended unless you have that tool yourself. So if you get a file from someone in another part of the world where they use such kind of a tool then you may not be able to edit it at all or only in a (very) limited way or after converting it into a dumb object. In the case of a rename tool this is not going to be much of an issue, but with some other tools it may be an issue. I see what you mean, which means providing as many of such tools in the base package would avoid causing the issues of editability. I hope the future versions include these exclusive additional features in their base package. Quote Link to comment
Kerschbaumer Posted June 10, 2019 Share Posted June 10, 2019 I been using VW for 20 years and now finally having a look at managing the seemingly endless string of classes that are part of every DWG file I import - (generally a Topographical survey). Until now been always deleting all imported classes because it made a mess out of my files. So let me get this straight - the only way to clean up and organize these things is to manually - one by one- change the class name or use some form of programming code??? Seriously??? Why the hell cant we just create a 'new' sub class and drag em all in there...come on guys 1 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.