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.

Line style by layer problem

Started by corlett, May 24, 2011, 02:14:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

corlett

Hi

I understand why you would want to 'line style by layer' and 'color by layer' but I don't.
I group a lot and hide layers a lot and I use color to help identify grouped objects.

BUT
The 'line style by layer' and 'color by layer' functions keep activating themselves.  Clearly its not magic but I will be happily drawing away and notice that these functions are in operation and that for the last unknown time I have been creating line entities and groups with the feature active.  This is a real pain to then root out. Hide a layer and the objects do not disappear as I wish. Its difficult to correct as the feature must be removed line entity by line entity.  I am almost frustrated enough to get the manual out and write a program to do it across the whole drawing.

I have added the commands to by custom toolbox which flags up that the feature is active.

Ideas
I have moved from V16 to V20 and have a lot of drawings made using V16, so as I import parts of old drawings the feature could be being switched on.

Any Ideas, or a master switch to keep it off.

Clive



Lar

I know your pain, corlett. There is a master switch but I think it was implemented in 20.1 so you will have to download and install the update or get version 21.

To turn them off you have to do 3 things: 1] in the layer dialog deactivate 'automatically toggle bylayer settings' (near the bottom), 2, 3] turn off 'color by layer' and 'linestyle by layer' either through the Options menu (near the bottom - if they are on the icons will be highlighted)) or by the last buttons in both the color and linestyle toolboxes.

To turn them off for all the entities: Turn on and unlock all layers, Select All, in the info box deactivate 'color by layer' and 'linestyle by layer' (you may have to click each twice).

Lar

corlett

Fantastic Lar

Again the reason to own this software shouts loud and clear. "ITS THE SUPPORT"


The good news is that i am already on V20.1   and at first attempt that has worked.

As I said the switching on of the 'style by layer' function was mystical and so I will keep an eye out for a day or two, to see if it is banished.

Thanks again

Lar

Mine keep rearing their ugly heads but I think it happens when I load a file with them on, from another laptop that has 20.0 loaded. They are like naughty children trying to sneak downstairs when they were grounded to their rooms.

Lar

Dr PR

This is interesting. I find line style and color by layer to be anathema! I have only used them for 2D contour maps, and they turned out to be so much of a pain I quit using them even for maps. For me they are a solution to a non-existent problem. Consequently, I haven't enabled line style or color by layer in a DesignCAD drawing for at least 15 years. I have never seen either "feature" turn on in one of my drawings.

I would be happy with a "never use" program option similar to the ban on nested groups.

I suspect that Lar is right - loading a file (drawing or symbol) that has these features enabled may bring on the curse. Perhaps even copying and pasting between files may also carry over the settings.

The "Options" menu has "Color by Layer" and "Line Style by Layer" options that affect the entire drawing. These settings should override the settings for imported drawings, symbols, blocks and pasted objects. They should be part of the saved workspace configuration.

The "layers" dialog also has a bunch of by-layer settings, including "All Layers" "Clear Preset Colors" and "Clear Preset Linestyles" buttons. It also has an "Automatically toggle bylayer settings" option - that sounds ominous!

The Help/layer options page says:

"Automatically toggle bylayer settings: If checked, each time you activate a different layer, the "Color by layer" option and the "Linestyle by layer" option will automatically turn on or off to match the presence or absence of a preset layer color or linestyle for the new layer. If this checkbox is empty, switching layers has no effect on the current Linestyle By Layer and Color by Layer options."

I have no idea what this means but it might have something to do with the pest that won't go away. You have disabled these options but they automatically turn on anyway? It defaults to being enabled.

Phil



DesignCAD user since 1987

Lar

Doc, just to clarify my position on by-layer features:

I love the color and linestyle assignment to layers since it saves me from changing these things every time I change layers (but things have changes, see last paragraph)...
I hardly use entity color and linestyle by-layer since moving something from one layer to another would change it's appearance.
I hate the automatic by-layer feature since entities are created with the by-layer attributes switched on.

Since 20.1 if you have 'automatic by-layer' deactivated then changing layers don't automatically change the active color and linestyle, which is a step backward for me.

Lar