AllExperts > AutoCAD 
Search      
AutoCAD
Volunteer
Answers to thousands of questions
 Home · More AutoCAD Questions · Answer Library  · Encyclopedia ·
More AutoCAD Answers
Question Library

Ask a question about AutoCAD
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scott 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.
 
   

You are here:  Experts > Computing/Technology > Computer-Aided Design > AutoCAD > LISP routines

AutoCAD - LISP routines


Expert: Scott Cook - 12/6/2007

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.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.