tiffanysml Posted February 1, 2013 Posted February 1, 2013 Hi everyone. I am actually making a script to export all the entities in the autoCAD. The floor plans I am working on have doors that are blocks. Each plan doesn't have the same name for the blocks and may be just a random insert without a real block name. (Architects, I tell you). The block is a simple line with a arc. When my lisp routine explodes the doors. The arcs inside turn into ellipses. Is there a way to keep the arcs as arcs when you explode? I have tried to work with it regardless using Lee Mac's E2A lisp, which converts ellipses into arcs, but unfortunatly new arcs then go in all strange directions probabably because they came from blocks. I have played around with this a whole week studying the dxf patterns of the ellipses in autoCAD (after being exploded from the blocks) and....there is no guaranteed pattern... I cannot convert the ellipse to polylines because then the exported data I intend to use does not recognize the polylines. Please help me I've spent actually two weeks figuring out the ellipse problem:oops:, is there a way to explode blocks on a lisp level that keeps the arcs as arcs? Quote
CarlB Posted February 1, 2013 Posted February 1, 2013 Could you attach a file of one of those blocks? Sounds strange. I've never seen a door that could swing and sweep out an ellipse Quote
eldon Posted February 2, 2013 Posted February 2, 2013 If a block with an arc is inserted with different x and y scaling, then when the block is exploded the arc turns to an ellipse. Insert your blocks with equal x and y scaling. Quote
MSasu Posted February 2, 2013 Posted February 2, 2013 I subscribe to this; the arcs contained into blocks inserted with different scale factors on axes were converted to ellipses. Quote
Lee Mac Posted February 2, 2013 Posted February 2, 2013 I have tried to work with it regardless using Lee Mac's E2A lisp, which converts ellipses into arcs, but unfortunatly new arcs then go in all strange directions probabably because they came from blocks. Your thread has prompted me to update and publish that old Ellipse to Arc program to my site - you can find the updated program here. The program should hopefully now perform correctly with all Ellipses & Elliptical Arcs (with axes of equal length), constructed in any UCS. I hope this helps! Lee ha! your user name is censored in the quote 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.