Jump to content
Developer Wiki and Function Reference Links ×

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...

 

Cheers,

Markus

PROCEDURE DeselectAll;

BEGIN
DSelectAll;
END;

RUN (DeselectAll);

 

Deselect All.vsm

Link to comment

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.

 

Julian

Link to comment

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:

 

DSelectAll;

 

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. 

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...