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.

change layer of group

Started by rccon, September 23, 2012, 11:32:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rccon

in version 21, when I want to copy an entity from one layer to another, I duplicate it in place, then change layers in the info box.  This works with single entities, but if I try it with a group, the object does not appear on the screen unless it's former layer is visible, even though the new layer is indicated in the info box. Is this a bug, or am I missing something?

prl

Quote from: rccon on September 23, 2012, 11:32:15 AM
Is this a bug, or am I missing something?

rccon, how much life to do you have left?  Some of us think it is a bug, others a feature.   

The full story here: http://forum.designcad.com/index.php?topic=4507.0

Dr PR

rccon,

It is, in my opinion, a bug, but many people think it is a "feature."

The program defaults to enabling "nested groups." Unfortunately, this doesn't work in an intuitive way, or like it does in any other program. With nested groups enabled a hidden "container" is placed somewhere in the drawing - on the active layer at the time any group is created, even if no parts of the group are on that layer.

In this case the hidden object - which you have no way to find - controls the visibility of the objects in the group on other layers. There is no simple way to learn which layer contains the hidden object that controld group visibility. Yes, it is screwball, but that is the way it works.

There is a partial "cure." Open "Options/Options/General" click the "Don't use nested groups" option. This disabled the visibility by hidden object problem. However, it doesn't fix the mess. The hidden object is still there, waiting to cause trouble again. And it will, because the dammned program keeps switching back to enabling nested groups, and then strange things start happening until disable nested groups again.

Unfortunately, the only way to make groups work correctly is to be sure the active layer contains part of the group before you create the group. This will put the hidden container on a layer with part of the group. You will still have the screwball visibility control of all layers from one layer if nested groups are enabled. The only way to defeat it is to have all parts of a group, plus the hidden container, on a single layer.

Now someone will try to explain how this nonsense makes sense.

Phil
DesignCAD user since 1987

rccon

Dr PR     Thanks for the reply. I don't think I will need nested groups, so I will turn it off. But it would be a nuisance to have it coming back on to surprise me. Is there something I could put in my startup macro to make sure it is off?

magic

Hi rccon,

If you check the Don't use nested groups in Options > Options > General and click the Save As Default button, it will stay that way, but if you open a drawing with nested groups in it and click Yes at the below warning, this default setting dissappears.
It's a kind of magic!




prl

#5
Magic's advice is sound but check the setting often and if you pass drawings back and forth with older versions keep an eye on it also. In version 17 it was possible to purge nested group containers using basiccad. You could work normally and occasionally run the k34.d3m macro to get rid of the group nesting that has occurred since the last time you ran it.

In version 22 if the flag for use nested groups is ON (USE), you can purge the group containers routinely but as soon as you select any group and use the infobox, DesignCAD recreates all the nested group containers not just the group containers since the last time you purged the drawing.  I think it also does this on initial drawing loading too. They keep coming back.

The toggle Magic refers to when set to "DON'T USE"  is a selection mask of some sort.  The containers are still in the drawing but various internal selection routines ignore the type 34 entity (the nested group container).  As far as I can tell, it doesn't purge nested group containers.

JJG

Quote from: rccon on September 23, 2012, 11:32:15 AM
in version 21, when I want to copy an entity from one layer to another, I duplicate it in place, then change layers in the info box.  This works with single entities, but if I try it with a group, the object does not appear on the screen unless it's former layer is visible, even though the new layer is indicated in the info box. Is this a bug, or am I missing something?

it is not a bug, but rather a function that has been foolishly disabled: the visibility by host layer, for nested groups (ie like for symbols).
In v19, this function works, but no more since v20.
And indeed, some of us are asking for this ability to be rehabilitated.