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.

group can't be selected by boxing

Started by rccon, February 08, 2017, 08:21:16 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

rccon

I have a north arrow consisting of the letter N and an arrow, grouped together. When I select a part of the drawing by boxing, the north arrow, though within the box, does not get selected. If ungrouped, they do get selected. Trying the parts separately, I found that it is the arrows that are not selected when grouped. How come?  Dcad 2016

rccon

I just tried this in a different drawing and found that the group is selected by boxing, and this is a copy of the same thing.

Rob S

A box only selects everything which is entirely contained within it.

Thus, if your group includes any stray invisible points, it may not select if one of those points lies outside the box (drag) rectangle

You might see them by click select in point select mode, or sometimes not.

If this persists, you could try and post a sample drawing here for us to look at.
User since forever

DrollTroll

Also,  you can't select a group if one or more of the layers used by that group is locked or hidden. In this case, left-clicking on the group wouldn't select it either.

If you can select it by left-clicking, do so, then turn on Point Select Mode and try View/Zoom/Zoom To Selection to see if there are any points outside the expected area. You may have an invisible attribute or some other object that was accidentally grouped with the arrow and N.
25 years with DesignCAD

rccon

I've tried looking for extraneous points and checking the layers. I thought I would post a drawing here which contained the object alone, but when I pasted it into a new drawing it behaved properly. So here is the whole drawing, with the offending object in a box by itself, at the top of the drawing. I'v also had this problem occur in other drawings and with groups that did not contain arrows.

Rob S

I think I see your issue

Try making your drag-select box just a bit bigger, and if I do it selects just fine for me.

The "points" for 2D text are located a little outside and above the actual letter that appears on the screen.

If you turn on point-select mode you can see them.

Seems to drag-select OK as along as all of the points (or enough blank space to include where they are) is included in the box.

User since forever

rccon

I made the drag-select box about 5 times the size of the box that contains the north arrow group, but the group was still not selected, just the box. Grasping at straws, I noticed that I had "don't use nested groups" checked. When I unchecked it, drag-select worked properly. checking it again, I chose to convert all nested groups to simple groups, but the bad behavior  returned. I'm using "don't use nested groups" because they have caused some problem in the past, though I can't seem to remember what it was. It seems I need to keep using nested groups to avoid this problem, but then I'll be reminded why I checked that box.

Rob S

I can confirm that

I exploded your group and re-created it, just using the two entities, and with nested groups turned off it still won't select

I created a new group using two new entities lines and text, and it works fine.

So, in temporary conclusion a non-nested group which includes an arrow will not drag select in V26...


DT, helpppp....

User since forever

rccon

Diving deeper, I find that it's not just arrows. Here is the same file with some other stuff next to the bad north arrow. When drag-selecting the whole thing, the strap and the two screws are omitted from the selection.  But to further complicate things, I pasted this box by itself into a new drawing file and in the new drawing, everything was selected whether or not the "don't use nested groups" box was checked. Could it be some combination of settings that interact to cause this problem?

Dempsey

#9
The first time I selected the "whole" thing I did see that the two screws were not selected.

I looked at a few things and then did CTRL-W to see the entire drawing. Then I zoomed in to the "whole" thing and when I did a drag select everything was selected.

Using version 26.2 (2016).
Dempsey

DrollTroll

This is certainly quite strange.

The other objects that won't select (the screws and the strap) can be fixed by using the Selection Filter's Line Type tab, and selecting everything with Line Style "Continuous". Change the current linestyle to Solid, then use the 'A+' button in the Line Style toolbar apply it to the selected objects. Those items will now drag-select correctly (at least they do for me).

I'm still at a loss for why the arrow group won't select. If you select it and define it as a block, it then selects ok, so that's one work-around.

The other workaround is to press and hold Ctrl-Shift just before releasing your mouse on drag-select.

A third workaround, as Rob noted, is to turn on nested groups.

I'll definitely have programming take a look at this example.
25 years with DesignCAD

JJG

question : are you sure, guys, that all is z=0 in this example ?
in the past, when somme entities were not z=0 (2D mode), It was impossible to select them by drag-select...

rccon

JJG, you found the source of the problem. Now all I need is the solution.
switching to 3d mode, I found a few of the points of the north arrow had non-zero z values. This jogged my memory and I remembered that I had once struggled with this problem before. The computer in use then had DCAD 24 2d as well as 3dmax 21, so I closed the file in 3dmax, opened it in the 2d version, saved it and then opened it in 3dmax. All the points were then z=0 and everything would drag-select.

Don't know how any points got off the z =0 plane since this drawing had never been in 3d mode as far as I know, but I'd like to find an easier way to restore all points to z=0. Can this be done without using the 2d version?  If not, is there a way to move dcad 2d from my old computer to my new one?

Dempsey

Go to http://forum.designcad.com/index.php?topic=3797.0 and download FlattenZ.d3m macro and run it. It will set all Z values to zero.
Dempsey

Rob S


I do not see any non-Z values in the sample drawing within the non-selectable group, and after running flatten_Z on it, the group still does not select for me.

Also doing zoom all and zoom back in does not make it selectable.

Only solution that works for me in this drawing is to turn on nested groups ie uncheck "Don't use..."

Interesting thing I just did, I had a newly created group contains text and one arrow and a vector in it and it will select.

I exploded it, and re-created a group containing only text and arrow, it became un-selectable.

Go figure that one...

However, I can't reproduce that now
User since forever