Results 1 to 4 of 4

Thread: Transforming Splines into Polylines

Hybrid View

  1. #1
    Member
    Join Date
    2006-04
    Posts
    9

    Unhappy Transforming Splines into Polylines

    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

  2. #2
    Super Moderator david_peterson's Avatar
    Join Date
    2002-09
    Location
    Madison, WI
    Posts
    4,440

    Default Re: Transforming Splines into Polylines

    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

  3. #3
    Active Member
    Join Date
    2007-02
    Location
    Tucson, AZ
    Posts
    60

    Default Re: Transforming Splines into Polylines

    Apparently there are some lisp routines that will do the trick.

    http://findarticles.com/p/articles/m...0/ai_112366578

  4. #4
    Member
    Join Date
    2006-04
    Posts
    9

    Default Re: Transforming Splines into Polylines

    Quote Originally Posted by david_peterson View Post
    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.
    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.

Similar Threads

  1. Converting splines to polylines?
    By matt.143284 in forum AutoCAD LT - General
    Replies: 4
    Last Post: 2007-08-31, 12:47 AM
  2. Replies: 2
    Last Post: 2006-05-18, 07:27 PM
  3. Convert Splines to Polylines
    By juliefrancoeur in forum AutoCAD General
    Replies: 7
    Last Post: 2006-04-03, 09:14 AM
  4. splines to polylines
    By tflaherty in forum AutoLISP
    Replies: 2
    Last Post: 2005-09-13, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •