RubenH Posted July 15, 2008 Share Posted July 15, 2008 It would be nice to have classes in VectorWorks that have the same properties as classes in object oriented programing languages, I mean, to be able to extend a class into a sub-class and have heritage. This way if I change something in the super class, all the sub-classes will get the change too. For example, If I create a class called Concrete, and then I extend this class to a class called Beam, and another called Column, etc, this two sub-classes extends concrete, that means they get the same attributes from the concrete class , plus new ones defined by their own. In this scenario , if I change something in Concrete, the two sub-classes would be affected by this changes unless specifically override in a sub-class. Quote Link to comment
brudgers Posted July 15, 2008 Share Posted July 15, 2008 I use different classes because I want things to be different. Quote Link to comment
RubenH Posted July 15, 2008 Author Share Posted July 15, 2008 (edited) I understand, but when you need to classify some elements with the same attributes, like a concrete beam or column, and need it to be in different classes. When you need to change, for example, the hatch you only have to change it in the superclass, not in every class. That can open many possibilities... Edited July 15, 2008 by Mr. Gog Quote Link to comment
brudgers Posted July 15, 2008 Share Posted July 15, 2008 It's easy to change multiple classes at the same time using the organization menu item. Quote Link to comment
RubenH Posted July 15, 2008 Author Share Posted July 15, 2008 I'm not saying is difficult...I think it will be useful. 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.