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 fix

Started by Dr PR, June 26, 2012, 11:45:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

JJG and DT,

I don't get it. Why would you want to "move" the nested group without moving anything in the nested group? It makes no sense!

JJG asks if I have tried to look at entities individually through the Info Box. How? If I select any part of the nested group the entire thing is selected (as it should be). Then when I open the Info Box I am not sure what it is referring to, but it certainly isn't referring to any single part or group in the nested group.

If I select a nested group the Info Box gives the layer that was current when the nested group was created - this is less than useful information. Furthermore, the layer may actually be empty. Both the Info Box and the Layers Dialog give erroneous information about the location of the objects in the nested group - totally useless!

Since you cannot select objects in a nested group and use the Info Box to determine what layer they are on, the only choice is to turn layers on and off one at a time. This isn't a pleasant prospect in drawings that have hundreds of layers and hundreds of thousands of objects.

****

The original concept of groups was fairly simple - to be able to groups a number of objects so they would behave like a single object, especially so you can move them keeping their relative locations and without losing parts.

The idea behind nested groups is to be able to group groups so they behave as described above, and to be able to break the higher level association without destroying lower level groups.

I have used program where this was implemented perfectly. The way nested groups is done in DesignCAD is totally wacko. Mystical hidden "containers." Empty layers that aren't empty. "Moving" nested groups between layers without moving anything. I don't think it could be possible to take a simple idea and implement it in a more screwball way!

****

It seems to me that what JJG wants is a way to select an object and assign visibility characteristics to the object that are independent of the layer's properties. This is totally contrary to the purpose of layer properties.

Let's see, the object has assigned colors, materials, line styles, etc., that will be used unless it is moved to a layer that has assigned properties, unless it is in a nested group, with a container on a layer that has different properties, if it is an odd numbered Thursday in a year when Christmas falls on Monday.

Of course DesignCAD has always had object visibility properties that are independent of the layer it is on - just don't assign layer properties!

Phil
DesignCAD user since 1987

prl

Phil,

Attached is a pic of what I believe JJG means regarding the infobox.  JJG, please correct me if wrong. 

The way nested groups is implemented is using the blocks (instance) approach.  Blocks allow for nested blocks. That is why you and I don't follow this whole topic.  It isn't really a nested group, it is a nested "simple" block.  "Simple" meaning it doesn't have all the features of a full block (attributes, multiple instances that all update when the family/class block is updated or redefined.)  If we could detach this implementation from messing up standard simple 1 level groups, this "simple" block container could be useful.

Dr PR

prl,

I agree. It would be better to implement a separate visibility control mechanism than to bastardize layers and groups.

Phil
DesignCAD user since 1987

JJG

Quote from: prl on July 10, 2012, 05:38:56 AM
Phil,

Attached is a pic of what I believe JJG means regarding the infobox.  JJG, please correct me if wrong. 

All Right !

JJG

Quote from: Dr PR on July 11, 2012, 09:28:53 PM
prl,

I agree. It would be better to implement a separate visibility control mechanism than to bastardize layers and groups.

Phil
Dr PR,

the word "visibility" is used in reference to mechanism of Layers, but what I (personnaly) use the most, is the "lock"-function, to prevent from any stretch or modification.

JJG

Quote from: Dr PR on July 09, 2012, 10:06:14 PM
The idea behind nested groups is to be able to group groups so they behave as described above, and to be able to break the higher level association without destroying lower level groups.

It seems to me that what JJG wants is a way to select an object and assign visibility characteristics to the object that are independent of the layer's properties. This is totally contrary to the purpose of layer properties.

Dr PR,

I "want" nothing ! I have got it already, in the french version of Designcad : that's precisely why I can say it works very well, and in a intuitive way.
OK ?

And If I try to explain it to you, and others, it's so that you can benefit from also once again, since this has already existed in a earlier U.S. version, I think...

prl

Well in the end, I now understand things better.  Nested groups are nested blocks following the general creation and layer rules for block instances (on host layers).  As mentioned several times, interesting and useful, but definitely misnamed and unfortunately disruptive to traditional groups.

JJG

About "visibility by host layer" (concerning nested groups), I said above :
Quote from: JJG on July 12, 2012, 03:46:00 AM
..., since this has already existed in a earlier U.S. version, I think...

here :  http://forum.designcad.com/index.php?topic=3856.msg21639#msg21639  is the confirmation by DT that it has exited in a earlier U.S. version (v16, v17 ?), but removed after.

really unfortunate ... hence all this misunderstanding of how nested groups works, and the (very) adverse publicity they have : it is therefore high time to fix it by re-integrating this "visibility by host layer"option !!!

paulerens

QuoteYes, that feature was removed. Nested groups have a layer for the group itself, as well as the layers for the contents of the groups;

That's interesting, why most of us are ignorant in this regard.
And, what layers Are this??  ???

Dr PR

I agree that nested groups need to be fixed, but the "visibility by layer" does nothing to solve the problem.

If nested groups worked correctly (behaved exactly like single groups and non-grouped objects) you could still control visibility and the ability to lock a nested group:

1. Select each layer that has parts of the nested group.

2. Create a layer group. Now the layer group controls visibility and "lock" of all items in the nested group.

This way layers are not screwed up, and the individual groups/nested groups are not screwed up.

Plus, you can move the nested group through the layer hierarchy without losing the relative layer placement of parts of the nested group.

Personally, I think nested groups should work this way without layer groups.

Phil
DesignCAD user since 1987

paulerens

Phil,
I follow you completely and I still ask myself where JJG advantage obtained.
Paul.

JJG

Paul, simply, as Dr PR itself says it above, a group has to react as if it were a single "object" OK ?
I totally agree with too.

now, for many single "objects", like lines, circles, texts, curves, etc ..., you can lock them, or make them unsivible through layer's functionalities : right or not ?

Since it's right for me, (it appears indeed that for some other user, designcad would not react as on my machine, or the one of the majority of us, since he can not read via the infobox the informations concerning individual entities inside a group ...), and since for other type of "container" (like symbols or blocks) you can do the same action (i. e. lock them or making them unvisibles through layer's functionalities, that are in fact called "host layer"), why not for nested groups ???

Where is the logic when for some of them (i. e. symbols or blocks) it is possible, and for other of them not (i. e. improper solids, or "regular" groups) ???

In my point of wiew, it must be for all or for none.
Since it is not question of remove this option for symbols (anyway, Dr. PR or yourself has not yet ask for ...), it must be re-activated for nested groups too.

And as I say it below : try it, then you will see the advantages (they are numerous ...) to work in such a intuitive and easy way.

And if you decided to not use nested groups, because the concept does not suit personally to you, please leave at least a chance to those who are interested to use them in a better easily and intuitively way.

JJG

#57
Quote from: Dr PR on July 12, 2012, 05:13:44 PM
...
This way layers are not screwed up, and the individual groups/nested groups are not screwed up.

Plus, you can move the nested group through the layer hierarchy without losing the relative layer placement of parts of the nested group.

Personally, I think nested groups should work this way without layer groups.

Phil


Dr PR, what you write show me that you still have not understood that the advantage of nested groups is precisely not to lose original layers of each party the nested group contains, even if you move the nested group on another layer, ... unlike the "regular" groups.
Simply because the nested group is not a "layer group", it must be a way to make it locked or invisible. This way is the "host layer", which makes the entire nested group reacts "as if" all of its contents was placed on this layer (the "host layer"), although everything in it keeps individually its original layer, which original layers you can refind if you explose the group.
Then, of course, if you don't have the possibility of "visibility by host layer", you can do anything ...
It's exactly as if you have a car (in which you could charge whatever you want) without having the key to run it ... for now, the engine is down, and you can only use it as pushing...
That's why, for you who don't have the possibility of "visibility by host layer", you thing that nested groups are "screwed up".
The "key" is to have this possibility of "visibility by host layer" : then, the "car" will run with its own engine.

Otherwise, how you plan the nested groups (according to the method of layer groups) shows me that you do not understand all the intricacies of the thing :
what will happen if other entities (which should not belong to nested group) are also located on the same layer as other entities, which should belong in nested group???
You'll tell me: they have not been selected before, they will not be part of the "layer group" ...
Ok, what a mishmash you are there currently designing you too ... because this concept of "group of layers" does also exist since some versions, and therefore you plan to "hijack" it to your personnal vision of nested groups ... others users will soon no longer understand anything : there will be groups of layers (the "new Dr PR's nested groups") that would not be "real" groups of layers ... ! (since they will not concern all entities relevant to concerned layers ...

I shudder to think ...

No, really, the concept of "host layer", which means that all happens "as if" everything contained in the nested group would belong to this layer (i.e. the "host layer" of the nested group), is definitively much much simpler and intuitive.
It also helps to continue working with the infobox if one needs to go "digging" in the nested group in question, and then change individualy whatever,  etc., etc., etc.,

JJG

Quote from: Dr PR on July 12, 2012, 05:13:44 PM
...
Plus, you can move the nested group through the layer hierarchy without losing the relative layer placement of parts of the nested group.

Dr PR,
this argument is completely false and erroneous, precisely, because actually, nothing is lost concerning the relative layer placement of parts of the nested group : all is stored in the nested group (read again the explanations of DT above). Then you argument as a "plus" is false, since it exists already for nested groups.
It just shows that you still do not fully understood how nested groups are constructed. That surprises me a lot from you.

JJG

#59
To complete this topic and to have a better understanding of what are actually nested groups, and as PRL has said it very fair, one should review and correct the terminology of some words used to talk about or to describe the nested groups :

1) many of us thinks that a nested group has a layer, since you can read it via the infobox ---> FALSE !!! a nested group has a host layer, what is not exactly the same thing : each entity contained in a nested group retains its original layer (ie the one she had just before being grouped), what can be easily verified via the infobox.
In other words, this host layer is simply the layer where what I called (above) the "virtual line" (which gathers or links together all entities of this group, i.e. the famous "entity 34") is inserted, but not this one of the entities themselves contained in the nested group : the difference is huge!

2) what is a host layer ? ---> same as for symbols : The visibility (or the locking propertie) of an entire symbol depends on the visibility status of the layer where the symbol is inserted.
Also, concerning nested groups too, the visibility (or the locking propertie) of an entire nested group should depend on the visibility status of the layer where the symbol is inserted ; the problem actually in the U.S. version of Designcad is that the option of "visibility by host layer" have been removed ...
Also, the reaction of nested groups are actually the following ones : as soon as a layer to which an entity (of the nested group) is locked, the entire nested group react as if it was locked (as it reacts not according to the status of its host layer, but depending on the status of each layer's entities within it), hence the misunderstood of many users ... and the problem to find out what layer is the cause of this, when 1 year later, you don't remember what the nested group contains ...
And worse, when you make invisible a layer in which are some entities of this nested group, only this entities are made invisible, while all the others are locked ...  a behavior at the less strange and completly illogical ... I agree with !
So, when you activate the "visibility by host layer", which is present in the French version of DesignCAD, then everything is happening (for whole nested group) "as if" all entities of this nested group were taking status (visible , locked or invisible) of the host layer, but cons not taking other properties of the host layer, such as color by layer, or line thickness by layer, or line style by layer (since entities retain their individual properties related to their original layer. So the host layer provides only properties related to "visibility", what is very pratical, quick, easy and intuive. This way, the whole nested group reacts as one single object, as expected.

Note : if you want absolutely that the entities contained in the nested group must take all the properties of the host layer, feel free to select the host layer of the nested group as the active layer for the drawing (using for example the finger found in the layer toolbox) an then feel free to press the A+ of the layer toolbox.