369Flex Posted Wednesday at 02:47 PM Posted Wednesday at 02:47 PM 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 yesterday at 12:18 AM Posted yesterday at 12:18 AM (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 yesterday at 12:22 AM by BIGAL Quote
369Flex Posted 12 hours ago Author Posted 12 hours 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
BIGAL Posted 1 hour ago Posted 1 hour ago When you make the rectangs for the color use SSADD (entlast) so you make a selection set of the rectangs in order then its easy to go through the selection and use the entity in a hatch command, using Solid and then use chprop to change the color of (entlast). If you post what you have done so far will allow others to make some changes etc. Our CTB was based on the ISO drafting ink pens, so colors 1-7 were all black but matched the thickness of the drafting pens. 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.