Jump to content
Developer Wiki and Function Reference Links Read more... ×
Stefan Bender

Assign class to object, but not to subobjects?

Recommended Posts

Is there a way to assign a class to a Vectorworks object WITHOUT changing the class of its subobjects? Afaik SetClassID also changes the subobject's classes which is not wanted and causes lots of problems and delays in some situations.

 

Thanks for any help,

 

Stefan Bender

 

 

Share this post


Link to post
Posted (edited)

What should be the purpose of the class of the sub object, should it affect the drawing visually, even when the parent is set to another class? 

Does this class changing involves plugin objects?

 

Edited by Nebeor

Share this post


Link to post

I don't think there is a function available that can do it, as it's default behaviour.

I believe the only way is to force a class (or custom settings) on your subobjects. 

 

My guess is that the recalculate event uses the parent class for all created content in that container.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×