News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

Changing default line color

Started by nadsab, December 20, 2012, 04:23:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nadsab

Is there a way to change line color?  Of all drawing lines rather than layer by layer?

Henry Hubich

In a new drawing, open the TurboCAD Explorer palette and open the "Settings" list in the top panel, then open the "Built-in (Current)" list beneath that, and then open the "Drawing_Defaults" list. In the lower panel, scroll down to the "PEN COLOR" entry, about 2/3 of the way down in the list. The default is 0, which means black. You'll have to calculate the numerical value for the desired color, in accordance with this formula...

Color Number = Red Intensity + 256 * Green Intensity + 65536 * Blue Intensity

where each "Intensity" value can range from zero to 255.

Examples:

Pure red = 255 + 256 * 0 + 65536 * 0 = 255

Pure green = 0 + 256 * 255 + 65536 * 0 = 65280

Pure blue = 0 + 256 * 0 + 65536 * 255 = 16711680

Magenta (equal parts red and blue) = 255 + 256 * 0 + 65536 * 255 = 16711935

Type the new Color Number in the Value column; click in the drawing area to exit the palette; close the drawing; exit TurboCAD. The new Pen Color will be the default when you restart the program and start a New From Scratch drawing.

...That said, I think a better approach is to open a new drawing,set the desired Pen Color for each drawing tool, and then save the drawing as a Template. Use it to start each new drawing, instead of "From Scratch."

Henry H

John R

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit