121madhu Posted October 9, 2013 Posted October 9, 2013 Hi DDPTYPE ofter choosing circle point ineed point explode is it possible please help me List also show circle not a point Quote
Tyke Posted October 9, 2013 Posted October 9, 2013 It is not possible to explode an AutoCAD point If you try you will get an error message. When you list a point it will always be point never a circle. Exactly how did you create this circle? Quote
121madhu Posted October 9, 2013 Author Posted October 9, 2013 i have coordinate points excel file any way to create circles Quote
Tyke Posted October 9, 2013 Posted October 9, 2013 DDPTYPE sets the style and size of the AutoCAD object 'Point'. If you want to insert coordinates (and radius?) of circles from an Excel file then you need a script, LISP routine, VBA macro or some other customisation to read the information from Excel and draw circles in AutoCAD. Have a look on Lee Mac's website for a LISP routine, here's the link: www.lee-mac.com Quote
satishrajdev Posted October 9, 2013 Posted October 9, 2013 Here is a little solution from my side, Save your coords in txt format by notepad. And use the below lisp :- e.g. TXT Format (defun C:IC () ;;; Satish Rajdev 09/10/2013 (setvar "cmdecho" 0) (setq Pdata nil Openfile (getfiled "Select Text File" "*.*" "txt" 4) Fdir (open Openfile "r") radius (getreal "\n Specify Radius :") ) (while (setq Pointinfo (read-line Fdir)) (setq Pdata (cons (read (strcat "(" (vl-string-translate "," " " Pointinfo) ")" ) ) Pdata ) ) ) (close Fdir) (foreach data pdata (command "circle" data radius) ) (setvar "cmdecho" 1) (princ) ) Quote
121madhu Posted October 9, 2013 Author Posted October 9, 2013 yes i am looking this thank you satish rajdev Quote
satishrajdev Posted October 9, 2013 Posted October 9, 2013 yes i am looking this thank you satish rajdev Your welcome madhu..... Quote
BIGAL Posted October 10, 2013 Posted October 10, 2013 you can do it all in excel if you want just use contcatenate to make a simple column of autocad commands that you just cut from excel and paste to Autocad command line. Column A X Column B Y Column C Radius excel code for column D =CONCATENATE("Circle ",A1,",",B1," ",C1) just copy down for rest of column note the "," are required to make a "X,Y" same for spaces " " each bit is also seperated in concatenate by a , Quote
121madhu Posted October 10, 2013 Author Posted October 10, 2013 how to use this and iam directly paste to command line is it correct are any lsp..? check this "circle","673997.372","2752960.46","0.6""circle","673996.857","2752961.317","0.6" "circle","673996.342","2752962.174","0.6" "circle","673995.827","2752963.031","0.6" "circle","673995.312","2752963.889","0.6" "circle","673994.797","2752964.746","0.6" "circle","673994.282","2752965.603","0.6" "circle","673993.767","2752966.46","0.6" "circle","673993.252","2752967.318","0.6" "circle","673992.737","2752968.175","0.6" "circle","673992.223","2752969.032","0.6" "circle","673991.708","2752969.889","0.6" "circle",673997.372,2752960.46,0.6"circle",673996.857,2752961.317,0.6 "circle",673996.342,2752962.174,0.6 "circle",673995.827,2752963.031,0.6 "circle",673995.312,2752963.889,0.6 Quote
satishrajdev Posted October 10, 2013 Posted October 10, 2013 Madhu, The formula you have created is wrong, For more info you can visit this :- http://www.lee-mac.com/scriptwriting.html Here is an example from my side :- Create a new column after C for your Z coord, As I have shown above. And paste below formula in your 1st row of E column =CONCATENATE("Circle ",A1,",",B1,",",C1," ",D1) And 1. Copy that to direct command window, Your circles will get plotted. OR 2. You can save it as script file (*.scr) using notepad, and then command - SCR to load that load script file.... Quote
121madhu Posted October 10, 2013 Author Posted October 10, 2013 yes thank you once again satish rajdev where is the best way to learn lsp coding please suggest me any pdf or basics learning simple understand sites Quote
satishrajdev Posted October 10, 2013 Posted October 10, 2013 Your welcome.... Keep practicing is the best way to learning, If you have any doubts or problems you can post here. Visit below links it is really helpful :- http://lee-mac.com/index.html http://www.afralisp.net/index.php 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.