Results 1 to 4 of 4

Thread: drawing clean up lisp

  1. #1
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    399
    Login to Give a bone
    0

    Default drawing clean up lisp

    Hi everyone, I am in need of a program that will do the following:

    Save the original file that is currently open with the original file name and put -original at the end of the filename and then save it in the same folder where the currently file is.

    Perform a Audit, then run the purge command three times. For RegApps, reset the Scale List, delete DGN linetypes, and remove all proxy objects.
    Set all entities in the drawing to ByLayer, including within blocks,and then do a WBLOCK on all visible objects from all the layers in the drawing and save them together into a new file in the same folder where the original file was saved.

    Thanks for the help.

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: drawing clean up lisp

    Can you do each of these steps at the command line?
    I think so, which means you could do it with a script file, just do the SAVE or SAVEAS command at the end.

    SAVE = creates a copy of the drawing, and leaves you in the original drawing.
    SAVEAS = creates a copy of the drawing and takes you into that new drawing.
    Reference

    I think the only one that may be a problem is removing the proxy objects.
    R.K. McSwain | CAD Panacea |

  3. #3
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: drawing clean up lisp

    For Registry Applications (regapps), I developed and have been using this since 2011/2012 - it is an event-driven app (free), so no interaction from user required - automagically purges unused regapps at drawing OPEN + SAVE* for you, so you can just 'work'.


    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  4. #4
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    399
    Login to Give a bone
    0

    Default Re: drawing clean up lisp

    I would like it to run in the background and be a lisp.

Similar Threads

  1. Lisp to clean and save in DXF format
    By antistar in forum AutoLISP
    Replies: 1
    Last Post: 2012-12-20, 07:14 PM
  2. Drawing Clean-up
    By dhavalpatel_us337373 in forum AutoLISP
    Replies: 11
    Last Post: 2010-08-14, 03:56 PM
  3. LISP Blocks intersecting clean up help.
    By james.hodson in forum AutoLISP
    Replies: 12
    Last Post: 2010-01-15, 11:19 PM
  4. Clean a drawing
    By gfreddog in forum AutoLISP
    Replies: 4
    Last Post: 2008-03-06, 12:42 PM
  5. LISP for Intersection Clean Up
    By zorroxxxx in forum AutoLISP
    Replies: 13
    Last Post: 2004-08-30, 09:54 PM

Tags for this Thread

Posting Permissions

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