Jump to content

Recommended Posts

Posted

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!

Posted (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 by BIGAL
Posted

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. 

 

image.thumb.png.99ea6e2d7756c28c6c744e82bb3daac8.png

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...