Anyone knows how to tranform a Spline into a Polyline.
Didn´t find anything in Help.
Right now I´m doing it by hand and feeling quite stupid!
Thanks,
Claudio
Anyone knows how to tranform a Spline into a Polyline.
Didn´t find anything in Help.
Right now I´m doing it by hand and feeling quite stupid!
Thanks,
Claudio
simple answer is, you can't.
A spline is a differnt function from a pline. It's like relating a parabola to an arc. You can't do it.
Dave Peterson
Acad 2012 - Revit Structure 2013 - Z220 - Win 7 64 - i7-3770 3.4GHz 32GB Ram
"The more you know, the less you know, because the more you know you don't know". --M. Lin
Apparently there are some lisp routines that will do the trick.
http://findarticles.com/p/articles/m...0/ai_112366578
Thanks for you help. I found a script that does the trick.
http://www.dotsoft.com/freestuff.htm - In this site there´s a vlx script that works well. SPL2PL.VLX. It converts a selection set of splines to polylines inside the drawing. No more hoops with DXF files in R12 format.
Besides a very neat site gave me the clue on how to use LISP commands:
Adding Customization
Users often want to add miscellaneous lisp routines to their system, having them automatically loaded and available at all times. The intentions of this procedure is to allow the customization to survive a reinstallation or upgrade of AutoCAD.
Autoloading of these files will be controlled by a special file called ACAD.LSP, which will load the custom routines. Note that AutoCAD does not create or use this file.
Create a separate 'unique' subdirectory such as C:\CADSTUFF using Windows Explorer.
Add the directory C:\CADSTUFF to the AutoCAD Support File Search Paths. For those unfamiliar:
A) Issue the OPTIONS command.
B) Click the Files tab.
C) Expand the Support File Search Path section.
D) Choose the Add button.
E) Choose the Browse button.
F) Navigate to and choose the C:\CADSTUFF folder.
Place all your LSP and related files into the C:\CADSTUFF directory.
Using Windows Notepad (or another ascii editor) create a new file named ACAD.LSP in the C:\CADSTUFF directory containing a load statement for each routine to be loaded.
An example is shown in the following lines.
(load "ROUTINE1.LSP")
(load "ROUTINE2.VLX")
Now whenever you start/restart AutoCAD, it will locate the ACAD.LSP file and load it. Loading of ACAD.LSP will in turn load your designated files. Since these files are loaded, you will be able to initiate these added commands by typing the command defined in each routine.
You may also wish to add buttons or aliases to speed up the initialization of these commands.
These clues were enough for me to get the command loaded and going. I wonder why AutoCAD help isn´t that clear anywhere!!! I looked for it for ages!!!
Well, problem solved thanks to the altruism of several people in the net.