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.

V22 has been released.

Started by Rob S, May 22, 2012, 01:12:57 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Lar

The simple solution of nested groups, from where I'm sitting, is to introduce a 'nested group' type (note: this is not a type as found in programming).

Right now we have 2 'types' that are independent of layers: ' "non-nested" groups' and 'solids'. Entities that are linked via one of these types have the same id of that type, except that zero means the entities are not linked. Click on one of these entities and if its type-id is above zero then dcad looks for all the other entities with that same type-id and selects all of them.

With the 'nested-group' type we would have the same thing: click on an entity and if its nested-group id is above zero they dcad will also select the other entities with the same nested-group id. A nested-group will over ride a group, the same way a group over rides a solid. 'Recursive group explode' will make the nested-group id zero. No need to involve layers.

Lar

paulerens

With respect Mr Lar,
But, I hate Entity 34 since version 16.
If a group is a number like 100, can the first subgroup not be  100.1?
Why such an entity (34) is required.
Know that very soon DT came up with the solution (murdered entity 34) or something similar.
I give things a name now Sys $ (300) and group them to the best.

Paul

Lar

Quote from: paulerens on July 04, 2012, 03:56:23 PM
But, I hate Entity 34 since version 16.
I also dislike the nested-group-entity situation and therefore I don't use nested groups.

Quote from: paulerens on July 04, 2012, 03:56:23 PM
If a group is a number like 100, can the first subgroup not be  100.1?
Just did some checking and now I realize nested groups can go pretty deep. I had forgotten that each new group definition is another nest. Then I thought it was maybe 6 deep but I got as far as 10 before I stopped testing (including ungrouped entities). Controlling that by indexing can get pretty involved. But, like Dr. Phil is requesting: just put the group entity on the layer of the first entity in the selection.

On my system I can select a nested group even if the host layer is off or locked so that is not a problem for me, personally. The asterisk on an otherwise empty layer is tricky but it would indicate that a nested group is there.

Lar

prl

Quote from: paulerens on July 04, 2012, 03:56:23 PM
murdered entity 34

Interesting the many ways something can be correctly expressed.  Much more powerful and to the point.

Dr PR

One other thing is odd about nested groups. I have avoided them like the plague ever since I had problems with the hidden containers. I always select "Don't use nested groups" in "Options/General", and I always use the "Recursive Group Explode" option to explode groups.

However, when I open some of my older (V20 and before) drawings in V21 and V22 the program warns me that the files contain nested groups and ask me if I want to explode them.

Where did these nested groups come from?

Phil
DesignCAD user since 1987

prl

Quote from: Dr PR on July 05, 2012, 09:36:24 AM
Where did these nested groups come from?

I think the "don't use nested groups" appeared in version 19.  Is it possible these files started out in versions 16, 17, 18, or with a template from one of those versions?


You can use the below macro to explore your older drawings with versions 20 and 21.  It is a variation of the kill 34 code.  This one merely counts them.

'C34.d3m  (Count type 34 entities)


Sys(80) = 0
For i = sys(9) to 1 Step -1
  Entity i
  if Sys(90) = 34 Then
    count = count + 1
  End If
Next i

sys(1) = 0
precision 0
Message count, " type 34 group containers found."
End

Dr PR

prl,

Some of the files originated after V18, and all have been saved several times after disabling nested groups. You can't kill the damned things! They keep coming back!

Phil
DesignCAD user since 1987

paulerens

Quote from: prl on July 05, 2012, 06:55:37 AM
Quote from: paulerens on July 04, 2012, 03:56:23 PM
murdered entity 34

Interesting the many ways something can be correctly expressed.  Much more powerful and to the point.
Sorry prl,
My use of English is not so good, I realize that. :-[

bdeck

#53
Quote from: paulerens on July 06, 2012, 01:19:03 AM
Sorry prl, My use of English is not so good, I realize that. :-[  

Paul,

Prl was not criticizing your grammar, but applauding your refreshingly precise use of the English language.

Would it be a faux pas to suggest that English, the most distant of the proto-indo-european beneficiaries, is more robust because it borrows so heavily from other langauges?

BD

PS: I wonder if in France (or in Belgium) "faux pas" has a similar connotation as when used in English?

paulerens

#54
BD,
Un faux pas.
Or
Faux pas.
Is in all languages​​ correct, especially in French.
The purpose is(faux pas)False step or slip.But better? faux pas! ;D
Faux pas = Is a mistake, but not insurmountable.

London is about 350 km from my house.
English is a Germanic language.
But, since England is an island, they have developed their own dialect.
Of course, they also have words and phrases, taken from their neighbors.
Especially the French, because they have partially occupied this country for years.