Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto cad

Status
Not open for further replies.

142846

Chemical
Jul 13, 2020
107
Hello every body
I have a lot of .dwg colored files.
Is there any way to convert these dwg files to dwg black layer files. In the other hand i want to have one color (black) drawing not colored. I should say that i can convert one by one but i can not convert batch (for example 2000 file)simultanousely.
Thank you
 
Replies continue below

Recommended for you

If it was me, I would probably write a script file that would change all the colors to 7. Depending on how things are done, you would either do that by changing the color on all the layers to 7 (if objects are set to BYLAYER), or needing to select all the objects and forcing the color of the objects to 7.

That will only get top level objects, if there are items within blocks that have colors assigned by object, then you're likely looking at a lisp as the easiest way to do it, and someone else would need to step in on that one.

A lot of drawings I have run across from outside resources have a mix of BYLAYER, by individual object, and nested forced colors within blocks, so not an easy way to get it all at once.
 
To change all the layers to black, go to the Layer Manager, select all and change the colours to color 7. Or, if you want to retain the colours but have them print in black, create a plot-style where all the colours will print black. Again, select all the pen colors and set them to black in one go. Do a Layer Manager export as a backup to restore Layer States if a mistake is made.
 
Why would you want to change them? You should be able to view them with line weights in Black and White. With BricsCAD, I can do a <Ctrl><A> to select all linework and in the drawing manager I can change all the colours and/or layers. The colours are there for a reason.

-----*****-----
So strange to see the singularity approaching while the entire planet is rapidly turning into a hellscape. -John Coates

-Dik
 
If you are using viewports all you need to do is use the layer manger to set all the viewport colours to black.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor