369Flex Posted 22 hours ago Posted 22 hours ago Hi, I have just started a new job and I am trying to print ctb file (2026), so I can see color number (with color box) , color (black/object color) and line weights. I have gone down the google rabbit hole which included AutoLisp code and it's a never ending circle. I would appreciate your advice on what seems like it should be an easy task. My request for help here has fallen flat. Thank you! Quote
BIGAL Posted 13 hours ago Posted 13 hours ago (edited) Welcome aboard. This is an easy task if your using color numbers, or much easier there is a CAD dwg Colorwheel which does what you want, I am trying to find it for you. It may be on your pc now. I could have name wrong. From a programming point of view just make an array of small squares a 16 x 16 then explode, select all 256 rectangs and via lisp hatch each one with a color number starting at 1.. Our company ctb had the first seven colors as black 1-7, the last few 250-256 as greys, the rest as color number. One thing similar as you mention linetypes etc is a legend.lsp so it displays all the layers, color linetype and name. As well as used blocks in current dwg. There are various versions around. colorwh.dwg Edited 13 hours ago by BIGAL Quote
369Flex Posted 1 hour ago Author Posted 1 hour ago Thank you for your response! I have printed the color wheel, which has helped a bit. I did play with various .lsp code but could seem to find a set up I was looking for. The ones I found seemed cumbersome or difficult to read easily. I started on this chart below, as I have some free time. It will be easy to flip through once completed and printed. I will look for the hatch lisp, as it might help to speed the process below (perfect timing!). I prefer the line weights as numbers because they are easy to see and compare. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.