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.

Groups went bad

Started by Rick V., July 03, 2008, 01:30:11 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Rick V.

DesignCAD 3D Max 18.2, XP sp2.

I'm working on the 3D porch design and some of my grouped solids (posts) can't be selected (see the attached file, I can't select the red posts, but can select the blue posts).

I can use control A and select them, but I can't select them individually or with the rubberband box. The cursor will snap to them, but won't select them.

I fixed it (I hope) by:
using control A, using the info box to put the selected into layer 0,
rubber band selecting the "good" groups and moving them back to their original layer,
then duplicating the "good" grouped solids and replacing the "bad" ones.
then purging layer 0,

Question is... what went wrong with the bad groups? I can't think of anything I did differently. They're duplicates of an original.

It's a little unnerving to have groups go bad like this without understanding why.

Any ideas?

Thanks,
Rick

Mark Laing

I downloaded the drawing, found I could select the blue, and found I could not select the red, just like you said. Then I hit 'L' for layer, and saw every layer except one was locked. I hit 'unlock all', and could select the red and all the rest too.
Could that be the problem? The layers being locked?
Mark.

Rick V.

Mark, thanks for checking into this.

Guess I overlooked the obvious. I don't know how I would have put them into a different layer and here's where it gets even stranger:

I unlock all the layers, select one of the red posts and the Infor Box ID's it as a group, but in multiple layers. After I explode the group it correctly indicates that the entire post is in layer 204.

Not sure what's going on here, I could be losing it, but I'd swear I kept all of the posts in 204 the whole time.

Apparently DesignCAD is assigning a phantom layer to portions of the group sometimes. At least I have a simple fix if this happens again.

Thanks again Mark,
Rick

Dr PR

Rick,

Ditto what Mark said.

After enabling all layers and selecting a red solid I opened the Info Box and it reported the solid to be on multiple layers.

I unlocked layer 213 Guardrail and then I could select any of the red groups on layer 204. I would bet you originally created the red groups on layer 213 and then moved them to layer 204.

Later version of DesignCAD have a bug in moving groups between layers. After the group has apparently been moved a non-visible bit remains behind in the original layer. Lock that layer and you cannot select the group. V18.3 is worse than V18.2 - the visible part of the group doesn't move but the invisible part does, DesignCAD thinks the group is on the new layer, but it isn't. It's a real mess! You have to be "standing" in the layer you want to move the group to to get it to move.

Here is how I fix the split groups:
1. Move the group from layer X to layer Y.
2. Go to layer X and disable all other layers.
3. If layer X is not empty, select everything in layer X by snapping to it (do not use Select All) and move everything to another empty layer Z.
4. Still in layer X, disable all other layers.
5. Select All (CTRL A). Look for a blue handle in this otherwise empty layer. If you can't see it you may have to zoom out. If you don't see it, no sweat - go to step 6.
6. Open the Info Box - if it doesn't open the layer really is empty. However, it there is still a stray bit of the original block on the layer, the Info Box will open and report "Nothing selected" in the bar at the top.
7. Close the Info Box while the non-entity is still selected.
8. Press the Delete key and the non-entity will become a real non-entity. Now your group will be on layer Y only and will behave normally.

Note: I have done this dozens of times, and no drawing elements have been deleted.

I call this the Yehudi problem.

Yehudi
There was a little man on the stair,
A little man who wasn't there.
He wasn't there again today.
Gee, I wish he'd go away.

DesignCAD user since 1987

Rick V.

Thanks Dr PR,

That really helps me out. I know I've had similar issues in the past.

I'm going to print out your solution and keep it. And... I'll be very careful from now on about layers and groups.

The Yehudi gave me a good laugh!

Much appreciated,
Rick

Dr PR

Rick,

I may have been overly optimistic in my "solution" to the group move. Last night I found a situation in which the procedure just wouldn't work. Figures!

One procedure that does seem to work, but is a major pain in the trackball is this:

1. Select the group to be moved.
2. Explode it - use "Tools/Recursive Group Explode."
3. Press Shift P (Edit/Select Previous) to reselect the pieces of the group.
4. If the destination layer is not visible open the Layers Dialog (L) and make it visible.
5. Open the Info Box (CTRL I).
6. Move the selected objects to the new layer.
7. Use "Tools/Group Define" to redefine the group.

This does the job without leaving little Yehudis scattered around your drawing.

Another solution is to use V15.3, the last version of DesignCAD without major group bugs.
DesignCAD user since 1987

Dr PR

Rick,

I have been experimenting a bit with groups.

1. Starting with an empty drawing, draw some lines on layer Y.

2. When  group is created a Yehudi (also known as a "k34" entity) is created on the current active layer, even if none of the elements of the group are on the active layer. So, if the active layer is X and you select the elements on layer Y and group them, DesignCAD thinks they are on layer X even though none of the elements is in layer X. The Layers Dialog says layer X is not empty. Disable all layers (except X) and the screen is blank.

3. When you select a group and move it with the Info Box only Yehudi moves - none of the group elements move. If you make layer Z active, select the group consisting of a Yehudi on layer X and elements on layer Y, and try to move the group to Z, the Yehudi moves to Z but the elements remain on layer Y. The Layers Dialog says layer Z is not empty. Disable all other layers and the screen is blank.

The same problem exists if you create a group on the active layer and then move it. All the elements remain on the original layer and only the Yehudi moves.

4. If you run the "Kill Yehudi" (k34.d3m) macro it will purge all the k34 entities in the drawing.

5. Now if you select the group that is on layer Y and open the Info Box it will still say it is on layer X, but the Layers Dialog says layer X is empty.

6. But if you change the active layer to something else, say W, and use the Info Box to move the group, all the elements actually move to layer W. Disable all other layers and the group will be visible on layer W.

ou can also move a group between layers that are not the active layer, and all the elements move correctly.

7. If you select a group and explode it, the associated Yehudi ceases to exist.

The moral of the story is never try to move a group between layers without first exploding it or running the K34.d3m macro.
DesignCAD user since 1987

prl

#7
Quote from: Dr PR on July 06, 2008, 01:38:57 PM
The moral of the story is never try to move a group between layers without first exploding it or running the K34.d3m macro.


Talking to myself since I get more feedback that way then talking with IMSI, DesignCAD groups when created should always be layerless.  Groups have nothing to do with layers. Now if you select a group and it has several entities on different layers and you move these selected entities to one layer using the info box, then yes, the grouped items changed from a multi layer grouping to a single layer grouping.  Groups only exist for the purpose of collectively selecting some entities and doing something with that grouped selection set; be it moving, duplicating or changing layers, colors, etc (all on the collective selection).  The entity 34, aka Yehudi per Doc, should never have come to be, so I wish he'd go away.

Rick V.

Dr PR & prl,

Thanks for taking the time to figure this out.

At least now I know what is going on and how to be careful, so I can deal with it.

These group "features" however, adversely affect the usefulness of groups because there is more to keep track of and/or you need to be exploding them more often. I could see this being a minefield for new users.

Thanks again for your help guys. This forum is one of the best features of DesignCAD.
Rick

Dr PR

prl,

You hit upon one of those quandaries that has always bothered me. I typically generate groups on one layer only, but I see no reason why this should be a rule. As you say, groups are just collections of things that the user wants to collect, and layers really have nothing to do with it.

However, my work style involves moving groups from layer to layer. So what does it mean to move a multilayer group? Obviously the move is from wherever the pieces may be. But where do they move to if the pieces are on multiple layers?

I guess you are right - if the user says put the group on layer X that is where all the pieces should go. That is certainly what I want to happen with my single layer groups. The last thing I want to happen is for DesignCAD to scatter pieces all over the place!

So, if you create multilayer groups, that's OK, but you need to understand the consequences of moving these groups.

Can anyone think of another logical way to move multilayer groups that does not put all the pieces on one layer?
DesignCAD user since 1987

paulerens

This helps for my
Sys(480)=34


>SelectLayer
{
<Layer 1
<Layer 2
<layer 3
<Layer 4
<Layer 5
<layer 6
<Layer 7
<Layer 8
<layer 9
<Layer 10
<Layer 11
<layer 12
<layer 13
<layer 14
<layer 15


}
>GroupDefine
{
}

prl

#11
Quote from: Dr PR on July 07, 2008, 11:59:56 AM
However, my work style involves moving groups from layer to layer. So what does it mean to move a multilayer group? Obviously the move is from wherever the pieces may be. But where do they move to if the pieces are on multiple layers?

Dr, you have answered your own question.  If a group is intended to be a way of collectively selecting something with a single click, then once the items are selected and you open the infobox and select a new destination layer for the selected items, the selection should naturally be on a single layer.  It would be as if you individually selected the items and used the infobox accordingly.

With that concept and definition, technically you don't move groups between layers, you move the selected entities between layers, or colors, etc.  Groups should have nothing to do with layers.  That's why the current approach with entity 34 is absurd.

Rick V.



technically you don't move groups between layers, you move the selected entities between layers, or colors, etc.  Groups should have nothing to do with layers.  That's why the current approach with entity 34 is absurd.
[/quote]

prl's approach works for me. Clean, simple and easy to understand. If the tools are too much trouble to use, what is the point of having them?