Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: DXF Lisp/Script

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

    Default Re: DXF Lisp/Script

    Quote Originally Posted by Tom Beauford View Post
    Purged in 2015, found hated DGN linestyle data.
    This thread may be of interest.

    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

  2. #12
    Login to Give a bone
    0

    Default Re: DXF Lisp/Script

    Yeah there is a few people that do paste as block, not sure why.
    I'll look at the Wblock but when i looked at this option at the start instead of the dxf it didnt shrink the file. If i manually select the items within the drawing it does make the new block file smaller but the layouts and page setups have to be redone. i guess thats why i like the dxf option.
    Does anyone know how to get the DXF option to work?
    Even if i specify the dxfin file name/path it seems to have errors with the path as there is spaces in the folder names - even putting " quote marks" or similar around the path doesnt help i still get an error half way through the file path.
    so i guess simply its along the lines of
    dxfout 16
    dxfin filename
    audit
    yes
    purge all * no
    purge all * no
    purge all * no
    zoom E
    save as

    There was more to it originally but since it wasnt working properly i stripped it back to minimal just to get the dxf audit and purge to work before worrying about saving details etc.
    So this produces a dxf of the file but then when it gets to the dxfin it errors on the filename (nomatter if its a correct path or not) then skips to the purge and audit, zooms and then the save as dialog box comes up however it has only audit and purged the original dwg file. it doesnt open the dxf file to audit and purge.
    Is this because the script fails over two drawings or is it simply the pathname? eg.pathname - F:\Queensland\Mackay-KMD-Shop 2428, Caneland Central -14174\Documents\fileclean\14174 A101 [Ø].dxf
    Thanks.

  3. #13
    Login to Give a bone
    0

    Default Re: DXF Lisp/Script

    Thanks i have run the Autocad hotfix and didnt seem to reduce the file much interestingly enough. ill look at the ones in the thread see if they work any better.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Calling a script from with in a lisp
    By randy.sherwood597724 in forum AutoLISP
    Replies: 4
    Last Post: 2012-06-05, 04:13 PM
  2. php script in Lisp
    By dryman537226 in forum AutoLISP
    Replies: 0
    Last Post: 2011-03-08, 08:54 AM
  3. PDF plot w/lisp and script
    By jeff.smith in forum AutoCAD Plotting
    Replies: 2
    Last Post: 2008-12-18, 07:34 AM
  4. PDF plot w/lisp and script
    By jeff.smith in forum AutoCAD General
    Replies: 4
    Last Post: 2008-04-12, 06:54 AM
  5. Running Lisp from within a script
    By sthedens in forum AutoLISP
    Replies: 42
    Last Post: 2006-01-30, 06:42 AM

Posting Permissions

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