369Flex Posted July 22 Posted July 22 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 July 23 Posted July 23 (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 July 23 by BIGAL Quote
369Flex Posted July 23 Author Posted July 23 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 July 23 Posted July 23 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
369Flex Posted 54 minutes ago Author Posted 54 minutes ago Thank you. Sorry it took me awhile to respond. I got something to sink my teeth into. I worked on it before I recieved your reply. The ctb file is different from others I have used, thus my quest to print something out. I have attached the dwg file, see the layout tabs. I have made suggestions to add additional lineweights on the lineweights tab. We'll see if this falls flat or not. Don't look at all the layers they may frighten you.... quite a few repeats. general kip ctb.dwg 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.