Jump to content
Developer Wiki and Function Reference Links Read more... ×
Markus Barrera-Kolb

DSelectAll not working in 2019?

Recommended Posts

I've been using a simple script for years now to de-select all objects, which is particularly useful when I'm zoomed in or working in 3D with no empty space to click on in order to de-select objects (works nicely with a <shift><cmd><A> keyboard shortcut). However, this script no longer works for me in 2019. I've tried re-compiling it, double-checked that the DselectAll VS function still exists, and re-assigned it in my workspace, but it still doesn't work. Any pointers? Thanks...




PROCEDURE DeselectAll;


RUN (DeselectAll);


Deselect All.vsm

Share this post

Link to post

Hi Markus,


I don't know about your command but I do use DeselectAll in a lot of scripts and it continues to work there. Do you know you can also deselect all by holding the Spacebar down then double tapping the X key? The Spacebar preserves the current tool selection. If you don't need this, then just double tapping X will suffice.



Share this post

Link to post

The script is working fine for me as well. As a side note, when a script doesn’t need variables or constants, you don’t need to wrap the script in Procesure/Run. This script can be a single line:




To add to Julian’s trick, double-clicking the selection tool deselected all, and any tool that has a double-click function will similarly respond to a double-tap of the keyboard shortcut. For example, double tap the shortcut for pan to refresh the screen, zoom to zoom in by a factor of two, rectangle to parametrically create a rectangle, etc. 

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.