Jump to content

Classes with heritage.


Recommended Posts

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.

Link to comment

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 by Mr. Gog
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...