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.

Why can't interior objects be "cloaked" by their group?

Started by MarkX, May 01, 2012, 10:26:44 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MarkX

I sometimes have groups of objects that I want to hide away, but that contain elements that are on layers that need to remain visible. If I move the group to a different layer, it remains visible, or at least the elements inside it.

If I "cloak" the group in a block, I can then hide the block by changing its layer.

So, if I can hide things inside a block, why can't I hide them in a group the same way?

Thanks,
Mark

paulerens

You can make layers invisible in a group.
The only difference with a block is that a group with hidden layers can not be moved and a block can.

Paul

Dr PR



You can move groups with parts on hidden layers, and the parts all move together as a group. Just open the Layers Dialog, click "Unlock All", close the dialog, select the visible object and drag it (or use "Move" etc.).

If you unlock all layers and select the visible part of a group you can use the Info Box to move all parts of the group to a new layer.

The reason some objects in the group are visible and some are not is because that is what you have told the program to do. Hiding layers hides all objects on the layer, and if an object is part of a group it will be hidden.

Grouping is a fairly "loose" way to associate objects without changing the individual nature of the objects. Groups are groups of individual objects.

Blocks are single "virtual" objects. The block is actually just a place holder for a separate definition of parts. When you move the block you do not move the parts, you just move the placeholder.

Phil

DesignCAD user since 1987

MarkX

You guys are reading what I want backwards.

I want to make a group invisible and have EVERYTHING invisible. The reason for this is that sometimes a single group of objects is interfering with work.  I need a way to quickly get it out of the way and then, just as quickly restore it later. Layers are the logical approach, but they don't work at the group level.

And no, I don't want to navigate through the group and set new layers for each of the internal components. This could conceivably take hours. And when I'm done, I'll have to come back and set all the layers back where they were.

I can't do this with a group if the group contains elements that are on layers that need to stay visible.

I CAN do this with a block. I can even wrap a group in a block, set the block layer to a hidden layer, and it disappears. Then later come back, blow up the block and have everything back to normal. But I'd rather just hide a group  and not have to worry about forgotten, useless blocks that I created just to hide a group.

Thanks,
Mark

DrollTroll

Mark, we actually had this capability for nested groups up until a few versions back -- nested groups worked almost exactly like a "poor man's block", with an option to control whether or not the group's "host" layer controlled the visibility of group elements on other layers. However, since the group container could be on a different layer than everything inside the group, it was confusing a whole lot of people who were just defining groups without thought for the layer the group was on. So we removed that behavior in version 20 or 21. Only a very few have lamented its passing (so far).
25 years with DesignCAD

magic

Hi DT,

We still have nested groups, and I actually have customers, who are very happy with them.

However, you put in an option at Options > Options > General called "Don't use nested groups", so you can switch the option off.
It's a kind of magic!




MarkX

Quote from: magic on May 01, 2012, 03:38:57 PM
Hi DT,

We still have nested groups, and I actually have customers, who are very happy with them.

However, you put in an option at Options > Options > General called "Don't use nested groups", so you can switch the option off.
Yes, you still have nested groups, but the group doesn't control the visibility of the contained elements.

So apparently if you want to temporarily hide a group whose elements are on layers that need to remain visible you must encase it in a block. This seems to be a bit of overkill.

Thanks --
Mark

Dr PR

Mark,

Suppose there was a way to hide a group - everything on all layers. Then what? You can't see it, even if the layers it is on are visible. You can't select it. Eventually you may even forget it is there.

So how do you make it visible again?

What happens if you receive a drawing with a bunch of hidden groups in it. How would you know they are there?

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on May 01, 2012, 08:42:54 PM
Mark,

Suppose there was a way to hide a group - everything on all layers. Then what? You can't see it, even if the layers it is on are visible. You can't select it. Eventually you may even forget it is there.

So how do you make it visible again?

What happens if you receive a drawing with a bunch of hidden groups in it. How would you know they are there?

Phil

You turn on all layers, of course. Just like you can already do with blocks. Or you notice the asterisk on a particular layer and turn on that layer. Just like for blocks. There's no trap door going on here.

There is no technical or logical reason for not having groups visibility controlled by the host layer -- it already works for blocks. Being forced to create blocks, hide them, explode them, and finally delete them just to hide stuff is tedious and unnecessary. Its blocks of stuff that's more likely to get lost in a burgeoning symbol library.

Needing to hide stuff in order to work on other stuff is a common scenario. Why not make it easy?

Mark

Rob S

One concept of blocks that is frequently used is that each block may contain parts that should be visible in some views and not in others.

For example, a bathroom vanity block could have electrical, mechanical, and millwork components on different layers, and if I turn on the electrical, I want to see the plug and the light, other times I might not.

So, I just reconfirmed that if I have a multi-layer block, I can turn on or off the various layers, and see that various parts of my blocks.

However, if I turn off the host layer, the entire block disappears.  So, it would make sense to make sure the host layer for a block is not a layer you might want to hide while showing other layers.

Mark

For your idea of entire "groups" you want to hide or show at will, what would be wrong with creating a new layer for each such "group", which you can then turn on or off as required - no grouping or blocking required??
User since forever

MarkX

Quote from: Rob S on May 01, 2012, 09:08:35 PM
One concept of blocks that is frequently used is that each block may contain parts that should be visible in some views and not in others.

For example, a bathroom vanity block could have electrical, mechanical, and millwork components on different layers, and if I turn on the electrical, I want to see the plug and the light, other times I might not.

So, I just reconfirmed that if I have a multi-layer block, I can turn on or off the various layers, and see that various parts of my blocks.

However, if I turn off the host layer, the entire block disappears.  So, it would make sense to make sure the host layer for a block is not a layer you might want to hide while showing other layers.

Mark

For your idea of entire "groups" you want to hide or show at will, what would be wrong with creating a new layer for each such "group", which you can then turn on or off as required - no grouping or blocking required??

I've got a say a house made with 5 sets of  cross-section frames packaged in groups. Each frame/group is nearly identical and made up of components from different layers. I need to move in to create some custom drawing, but can't because the frames are blocking my view. I need to hide some of the frames. I don't want to change the contents of the frames because I worked hard in the first place setting up the layers. I shouldn't have to toss the work just to gain temporary visibility. All I want to do is work unimpeded. If I could hide the groups that are in the wayI could get them out of my way and get back to work.

This is the easy, obvious solution, which everyone seems resistant to.

Its exactly how it works already with blocks, but  I make the groups into blocks I have to (1) Make the block, (2) explode the block and (3) delete the block.  Its going to be very easy to forget steps 2 and 3.

Mark


JJG

Quote from: magic on May 01, 2012, 03:38:57 PM
Hi DT,

We still have nested groups, and I actually have customers, who are very happy with them.

However, you put in an option at Options > Options > General called "Don't use nested groups", so you can switch the option off.

I'm from these happy customers, and more, in the french version of Designcad I use, there is the possibility to check a "visibility by host layer", like for symbols in V21.
We have already spoken of this in the topic :   http://forum.designcad.com/index.php?topic=3856.msg21521#msg21521

Lar

Mark, when I want things out of sight like that I move it a remember-able amount, like 1000 units or so. Click on it anywhere to select the group then immediately snap on the big blue handle and use relative. Or, I move it along itself by snapping (to select) at one extreme point and moving it to an opposite extreme point. Either way makes it easy to move it back without much thinking involved. Like Phill said, you would have to open the layer dialog and 'unlock all' to be able to select groups with parts on hidden layers.

You must be the first to want this feature of being able to cloak groups. The reason why block can be cloaked like that is because multi-layered blocks were causing real havoc to users who didn't grasp the concept so they came up with the 'host layer' toggle fix. Since the 'contents' of blocks are not really there it's easier to play tricks like that, I guess, as opposed to grouped entities that are 'real'.

Lar

MarkX

Quote from: JJG on May 01, 2012, 10:43:16 PM
Quote from: magic on May 01, 2012, 03:38:57 PM
Hi DT,

We still have nested groups, and I actually have customers, who are very happy with them.

However, you put in an option at Options > Options > General called "Don't use nested groups", so you can switch the option off.

I'm from these happy customers, and more, in the french version of Designcad I use, there is the possibility to check a "visibility by host layer", like for symbols in V21.
We have already spoken of this in the topic :   http://forum.designcad.com/index.php?topic=3856.msg21521#msg21521
So if I could only channel my French ancestry I'd be set to go ;-)

If they have it French, why not English, eh ?

Thanks!
Mark

MarkX

Quote from: Lar on May 02, 2012, 08:41:45 AM

You must be the first to want this feature of being able to cloak groups.
Hi Lar,

Hard to believe that I'm the only one -- especially if the feature exists in the French version.

Quote
Like Phill said, you would have to open the layer dialog and 'unlock all' to be able to select groups with parts on hidden layers.

Well, its just as frustrating the way it is now -- seeing parts of groups but not able to hide them even though I've moved the group container itself to a hidden layer.

Maybe after the user base for DC has matured away from 2D people will see the logic of being able to quickly hide objects.

Thanks for the tip about moving things -- I'll have to try that next time. But I use Control-W a lot. With the move-away trick, my target is a tiny little thing after Ctll-W and I have to zoom back in. If I could just hide the stuff, then Ctl-W would focus me immediately.

Mark