News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Gravity snap failure

Started by Dr PR, November 12, 2012, 11:09:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

V22.0
Vista 64 SP1
XP Pro SP3

Recently I have been noticing a failure of the right click gravity snap (or keyboard comma key) to select objects. This happens in small and large drawings.

I can repeatedly gravity snap to an object in the current layer without it being selected. This continues to be a problem even if I press the ESCape key several times (in case the program is waiting to do something else).

Then, if I just point and left click the same object will be selected. After this gravity snap works again for a while.

Has anyone else seen this?

Note: if you are working in Point Select mode you must deselect all selected objects before you can select another object. The problem mentioned here occurs when no objects are selected in Point Select mode or when Point Select mode is disabled.

Phil

Note: one thing that seems to provoke the problem is "Undo" - at least if I undo a rotation.
DesignCAD user since 1987

Lar

#1
This "gravity snap to select fails but left-click succeeds" can happen if you use a macro to change the layer of a grid surface (which can be a part of a Solid) but the macro lacks the code to change the layer of the grid lines that follow... an easy mistake to make... and then later the layer of the grid lines is turned off. Although you will be able to see the grid surface the points are not there because itheir layer is off. Also, if you get the grid surface selected and you turn on point select mode the little squares will not be displayed. Turn on the layer the grid surface was moved from and the points will show as well as you will be able to gravity snap to them.

The topic is discussed here at the paragraph starting with "...here's the 2nd trick..." and in some of the posts that follow (including the proper code): http://forum.designcad.com/index.php?topic=4642.msg28501#msg28501.

Lar
ps:
Quote from: Dr PR on November 12, 2012, 11:09:35 AM
Note: if you are working in Point Select mode you must deselect all selected objects before you can select another object...
While drag selecting won't work you can select something different by left clicking or gravity snapping on it (but don't snap or click when the cursor changes to something else, meaning you're too close to the selected stuff). The reason drag selecting won't work is because in point select mode and when something is already selected dcad assumes you want to highlight points when you drag. To drag select something different you not only can deselect the stuff but can also turn off point select mode or switch on resizing handles (for when you want to switch between two selection sets with Select Previous).

prl

Lar has made an interesting point if you are a basiccad programming type.  I've noticed that when using the query and change functions in version 22, you definitely need to use the "update" statement.  Version 17 and before were more flexible about omitting it (the update statement).  I was getting situations where entities seemed unselectable even though I had turned on all the layers etc.  In the end, it was my own code messing with me.