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.

Strict enforcement of locked and disabled layers

Started by Dr PR, April 02, 2008, 11:20:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

One general problem that has been in all recent versions of DesignCAD is that some operations respect the locked/disabled layer state and other operations do not. Here are some examples.

1. "Edit/Show All Edges" may make hidden edges visible on locked and non-visible layers.

2. Sometimes gravity snap will snap to points on non-visible layers.

The distinction between objects that should be effected by an operation and those that should not is sometimes rather "fuzzy." Some functions work only with selected objects - like setting a handle. Other operations work with everything visible - like "Fit to Window."

It seems to me that the purpose of locking layers is primarily to prevent changes to the locked layers. This should always be respected.

Disabling a layer (not visible) hides parts of a drawing that are not being worked on, and is often used to "unclutter" the work space. Invisible layers should be just that. Objects on invisible layers should not influence the operations of commands, and commands should not modify objects on visible layers.

For all commands that actually change elements in the drawing I would prefer the following hierarchy:

1. If an object (or objects) is selected, only the selection will be modified. In particular, commands like "Solids/Slice" or "Edit/Show All Edges" should affect only the selected object(s) in a layer, and not everything.

2. If no object is selected, only visible objects will be modified. "Edit/Show All Edges" would affect all visible objects, but only visible objects on unlocked layers.

3. All objects on unlocked layers may be effected, even if the layers are disabled (not visible). This would be an option for commands like Block editing, to allow a broad effect on a class of objects.

4. All objects on all layers may be effected, even if the layers are locked. This could be an option on some functions, like Block editing, to allow a total global change.

This is a half-baked idea right now. There are many different types of commands and I am not sure how each of them would fit into these categories.
DesignCAD user since 1987

Rob S



I'm sure that what you have above is intended, just not perfectly implemented.  We might need to point out specific instances where it does not work.

Currently, many commands have a "affect selection only" option.  A great addition would be that this would default to "on" if there is a selection, so we don't have to turn it on every time, still leaving the option to turn it off if anyone should want to.

By visible, I hope you mean visible on the zoomed out image.

Autocad used to have a nasty habit where some commands only worked on that portion currently visible on screen - particularly hatching.

The current screen view should not affect command operation.
User since forever

prl

I agree there is a need for consistency.

In a more advanced DesignCAD, I would prefer that we manipulate per entity and not layer. I have often had the need for seeing various entities but I didn't want them affecting the snap commands or respond to any of the entity editing commands. Getting a little wild with the per entity toggling capabilities, one could have the following:

Normal - visible, editable, snap-able
Locked - visible,  not editable, not snap-able
Invisible - not visible, not editable, not snap-able
Ghost - not visible but editable and snap-able

As for the other commands that work on selection sets, DesignCAD should have the smarts to infer that if I have selected some items and I invoke the slice command, I only want to slice items in the selection set. As it stands now, half the time I slice my entire model because of the silly check unchecking itself.

Dempsey

prl, I agree with all you said, but I hope that you are joking about the "Ghost" one. If not then you better explain what benefit you see in having that.
Dempsey

prl

Dempsey, the Ghost thing is just me pondering the various possible on/off toggle combinations if we had per entity control.  I don't have a specific use for it either (at this time).

Rob S


Crikey, don't we have enough Ghosts already around here.... ;D

Methinks you stepped in it that time, prl
User since forever

prl

Quote from: Rob Schippers on April 02, 2008, 04:19:14 PM
Methinks you stepped in it that time, prl

Happens all the time, boot scraper close by.

Dr PR

Rob,

I intended "visible" to mean visible layers - as in the light bulb on in the Layers dialog. This is a way to enable/disable editing on a non-current layer. Locking is similar, but it is a way for me to prevent accidentally screwing up things on a visible layer that I definitely do not want changed - say when the locked layer is just a template for work on the current layer.

You are absolutely right about missing the off-screen parts of a drawing. DesignCAD hatching used to stop at the edge of the screen so you couldn't zoom in to be sure you clicked in the right place to start the hatch.
DesignCAD user since 1987