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.

Global layer properties disable

Started by Dr PR, April 23, 2008, 09:54:19 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

Please, please, please add an "Option" to disable color and line style by layer, for all drawings of all types, permanently! This would be a global "Program Option" that would disable color by layer and linestyle by layer for all drawings, including imported drawings, and be in effect permanently until the user changes it.

I receive drawings from customers with white lines on white backgrounds, or extremely light yellow, blue or gray, making the drawing virtually invisible. Nothing I can do In DesignCAD will defeat this insanity except to select each layer individually and turn off these damned stupid presets! Sometimes I have to do this on dozens of layers before I can use the imported drawing.

Making all layers visible and unlocked, then selecting everything and deselecting "color by layer" and "linestyle by layer" doesn't work. Assigning a new color (black) to everything doesn't work.

Please give us some way of defeating this "feature!"

File import should have an option to disable layer features.
DesignCAD user since 1987

Mark Laing

Isn't there a way to change Designcad's background to black?
Would that help?

prl

Dr,

Try,

Select everything, pull up infobox and uncheck the "color by layer" and optionally "line style by layer".  These are the entity flags.  Now it doesn't matter what the bylayer settings are.  Select the offending colors using the selection filter (Shift F), and change them using the infobox to the color of your choice.



Dr PR

prl,

I enabled and unlocked all layers in the Layers Dialog. Then I selected everything (everything highlighted), opened the Info Box and switched off "color by layer." Then I closed the Info Box, selected the black color icon in the Color Tool box and clicked the "A(pply)" button. No joy. Then I selected everything again. opened the Info Box and it said everything was black! In fact the drawing looked like an explosion at the Crayola factory.

So I started over and opened the Layers dialog with the intent of switching off color for all 37 layers one at a time. I selected layer 1, then clicked the "Color Reset" button, and to my surprise ALL layers were reset!

Thank you DT, my wish was granted! However, this must be a bug.

V18.2 4/2/2008 on Windows XP Pro SP2
DesignCAD user since 1987

prl

Dr,

Try this sequence. Enable and unlock all layers.  Select everything, open the infobox and switch off "color by layer".  With everything still selected, in infobox, click color palette at top.  Pick a color, click OK.  Should work.  Let me know if it doesn't.

Bob P

This macro will darken all lines to near-black for viewing on a white screen.

'darken.d3m:  Darken up lines

sys(1)=0
sys(80)=0

for j=1 to sys(9)
getattr j, type, select, laynum, group, red, green, blue

red=10
blue=10
green=10

putattr j, type, select, laynum, group, red, green, blue

next j

>regenerateall
{
}
end

If you want to display on a dark screen change the rgb values to 255.

Lar

Doing it the way prl suggests normally works for me. I hardly ever want the whole thing black, though, just the very light colors that acad users all seem to love passionately.

Another method is to open the file in one of the old dcad versions that didn't have that feature, save it then open it in the current version. Most of us still have old versions knocking about. Just the other day I found everything from dcad 2000 to v15 still loaded on my old laptop.

Lar

Rob S


You could always break down and run DCAD with a black screen.Then you'll see what they see.

I don't know if DCAD can be de-featured to print in BW using colors for line weight.
User since forever

Dr PR

prl,

I tried it again both ways - no joy. It still looks like an explosion in the Crayola factory.

The colors are the original AutoCAd colors. AutoDesk's DWG TrueView shows the drawing with the same colors and a black backgound.

The reason I want to change everything to black is to print/plot in black and white. I haven't tried it, so what happens when you print a black background? That would waste a lot of ink on a D sized sheet!
DesignCAD user since 1987

Rob S


In my testing, using a black screen background prints normally. Paper white, lines as color or black.

For printing, does  the print as black and white check box in the type tab of the print dialog not work for you?

I was just working on an imported color by layer autocad drawing and suing reset in the layer dialog, and turning off color by layer in the info box made everything go black, which I would have wanted to keep the colors.

More testing required.
User since forever

prl

#10
Quote. . . and turning off color by layer in the info box made  everything go black, . . .


I think in AutoCAD, the color property of an entity is either an actual user picked color or the  "bylayer" color. In other words, "bylayer" is considered a color and is listed in the colors and is stored in the RGB value property field.  In AutoCAD you can't uncheck the "bylayer", you merely pick another color in the color list.

In DesignCAD,  the color property of an entity only stores a real RGB value.  To get "bylayer", I think DesignCAD added another property which is the "bylayer color" flag/toggle.  That means in DesignCAD, an entity can remember and exist in two color states.  It can look for the color property from a layer, or it can read the stored RGB values.

When importing an AutoCAD drawing with "bylayer" colors and you turn off the entity "bylayer" flag, until the DesignCAD user picks something there is no stored RGB value for DesignCAD to revert to and so it probably simply uses a default color like black.  Dt or the AutoCAD expert conversion guys at IMSI could speak more to this.