AboutScott Cook Expertise I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!
Experience Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com.
PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
Question I would like to make a lisp routine to detect and replace shapes (circles and arcs) in a drawing with segmented lines, i.e. locate all circles and replace them with a hexagon with the same size and an arc/radius with 3 lines to complete the transition. Is this possible? I have no experience writing LISP routines, but I am very familiar with ACAD. I have worked with ACAD since version 14 and I am now working with ACAD 2007. My purpose for doing is to export the drawing into another program, but this program does not recognize circles/arcs/radius'.
Answer it would be possible, but I don't have anything like that on hand. you would need to do a lot of work to support all entity types. if it's just circles and arcs, not too bad. but if you need blocks, text, polyline arcs, etc. then you have a pretty challenging task.