Jump to content

add current selection to current class

Recommended Posts

Is there an easy way to add the selected object to the current active class?  I'm looking at my workflow and there are times when I bring in lots of things from the resource browser, or copy/paste, and I want the object in my OIP to take the current active class. 

Share this post

Link to post

With the object(s) selected, change the class in the OIP and you can set it to whatever class you want.


Or goto Tools:Plugins:Plugin Manager and create a new Command.  Copy and paste the following script in to the command script. Then edit your workspace to add it to a menu and give it a keyboard shortcut.  This will change the class of all visible selected objects to the active class.


Procedure ClassAsActive;

{December 10, 2019}
{©2019 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}

{Sets all visible selected object to the active class}
{No warranty expressed or implied. Use at your own risk}

Procedure Execute(H1:Handle);




Share this post

Link to post

Another option is with objects selected go to the navigation palette, right click on the class you want to assign and select assign class.

Share this post

Link to post

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.

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.


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.

  • Create New...