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.

Nested group revision

Started by Dr PR, May 13, 2012, 10:17:54 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

DT,

Would it be possible to make a modification to nested groups in a future version?

I have had two problems with the current implementation:

1. There is no way to find the hidden "container" for a nested group. Not only can you not determine what layer it is on, there is no way to locate it on the layer.

If the layer containing the container is locked or not visible the elements of the nested group may behave strangely. Even if all drawing
elements are on one layer and the container is on another it isn't possible to select the group and use the Info Box to determine what
layer it is on - it is reported as multiple layers. This can be a major nuisance.

Even worse, the container shows up as an asterisk in the Layer Dialog, indication that there are drawing elements on the layer, when in fact it is empty (except for the invisible container). This also makes it more difficult to locate actual drawing elements.

2. In a few cases right after nested groups were introduced I managed to  get the container located very far from the visible elements in the groups that were nested. When I did a Fit to Window everything disappeared because the distance between the container and the group elements was very much larger than the drawing objects themselves. This caused a lot of confusion. Exploding the nested group allowed Fit to Window to show the actual drawing elements again.

Maybe this has been fixed in later versions (I tried to reproduce the problem in V22.0 and couldn't). However, it could cause problems with file exports to programs that are particular about all elements having positive coordinates (STL, NC machine, etc.).

****

Here is a suggestion for a simple fix - just attach the container to one of the nested groups (or give it the same coordinates as some part of one of the groups), on any layer containing a part of the group. This would eliminate the unknown layer problem and the unknown position problem. The container would always be co-located with some part of the group and would move with the group.
The actual layer and position really aren't important since all elements of the nested group act as one element as long as the group nest is intact. If it is exploded the container disappears - end of problem.

If this was done I think nested groups would work perfectly.

I can't imagine that this would cause any backward compatibility problems with older versions since they apparently don't care where the container is located. For import of older versions into the new version I would just relocate the nested group container as described above.

****

Note: I just discovered that in V22.0 even ordinary single layer groups now have a "container" on whatever layer was current when the elements were grouped! Arrggggh! This is VERY BAD! Now ordinary groups carry the plague!

Note: This does not happen in V21.1 and V20.1 - it is a new bug.

Maybe this explains why I keep getting messages saying that older drawings have nested groups when I know I have been especially careful to disable nested groups and purge them from all of my work.

In any case, it would be a good idea to change the program so all group containers were actually co-located with actual drawing elements in the group.

Phil
DesignCAD user since 1987

JJG

I do not have the V22, but, as we discussed in some other topics ( http://forum.designcad.com/index.php?topic=3856.msg21521#msg21521   &   http://forum.designcad.com/index.php?topic=4384.0  for example), the insdispensable tool for working efficiently, simply and intuitively with nested groups is the ability to have a "visibilty by host layer", as it already exists in the French version of DesignCAD, i.e. exactly as it is otherwise implemented for symbols in the US version. 

prl

Quote from: Dr PR on May 13, 2012, 10:17:54 PM
Here is a suggestion for a simple fix - just attach the container to one of the nested groups

Phil's suggestion is good and seems simple.  I could live with this.

My 2 cents - for controlling visibility add an extra database field to all entities like you did for the "name" field.  This way you control individual visibility of things whether lines, groups, solids without the headache of using layers and invisible containers. Give us some way of knowing they exist (a view toggle for a dashed outline or something like that).  If dashed they are selectable so you can turn them back on. 




DrollTroll

Sorry Phil, I cannot reproduce your complaint of simple groups (when "don't use nested groups" is activated in General Options) creating a group entity on the current layer.

As for the "hidden container", it's much like a block's "hidden container" -- it's not something you select separately from the contents. Click on any part of the group, you get the whole group. Click on any part of the block, you get the whole block.

The ability to disable nested groups was only introduced in version 18 or 19; before that (down to version 15 or 16, I forget exactly which) all groups were nested, so importing a drawing from one of those versions would still give you that message about nested groups.
25 years with DesignCAD

Dr PR

DT,

Thanks. That is probably why I occasionally see the message. I had been wondering aboout that.

Phil
DesignCAD user since 1987