What Program Made a .DWG/.PLT?

Discussion in 'AutoCAD' started by Simon, Sep 22, 2004.

  1. Simon

    Simon Guest

    Hi all,

    Is there a way to determine the program that was used to generate a .dwg &
    ..plt file?

    Also, if Acad was used to create the .dwg or .plt, can I find out what
    version was used?


    Simon.
     
    Simon, Sep 22, 2004
    #1
  2. Simon

    Kent Elrod Guest

    If you use the Drawing Batch Converter, load the files, it will tell you
    what file format of autocad the file is in. Also you can load a drawing
    file into Word and the first characters will be something like AC1018, which
    means 2004 file format. The 18 corresponds to the release number for 2004,
    since the format hasn't changed for 2005 then drawings made in 2005 will
    show that number also.

    Can't help with plot files.

    Kent
     
    Kent Elrod, Sep 22, 2004
    #2
  3. Simon

    Simon Guest

    Hi Kent,

    I get AC1015 which I guess is Acad 2000/02?

    The reason I asked is that when I wblock and purge out files from
    consultants, they get bigger by 300% even though I'm stripping out info! I
    thought it might be because they are using another program to generate acad
    compatible files... but perhaps not unless those progs generate the "AC10xx"
    number automatically.

    Simon.
     
    Simon, Sep 22, 2004
    #3
  4. Simon

    Kent Elrod Guest

    Hi
    AC1015 is Acad2000 format files, which spans from 2000 to 2002, which you
    guessed.

    Make sure isavepercent is set to 0, and make sure you are saving to 2004
    format and not 2000. I did that early on and couldn't figure out why my
    files were getting larger.

    Hope that helps, good luck.
    Kent
     
    Kent Elrod, Sep 22, 2004
    #4
  5. Simon

    Simon Guest

    Thanks, Kent. isavepercent is set to 0, and I'm using Acad 02 & it's saving
    in that format.

    Still not sure why the bloat, however. I've exploded the odd attribute or
    block here and there, but mostly that stuff gets stripped out. I just
    wblocked 5 small exploded attributes (text, circle, line) and the dwg weighs
    2.5 mb after purging!

    Simon.
     
    Simon, Sep 22, 2004
    #5
  6. Simon

    Kent Elrod Guest

    Kent Elrod, Sep 22, 2004
    #6
  7. Simon

    Simon Guest

    The Delete Layer Filters did the trick! Used a free LFD.lsp and got rid of
    27,995 filters!?! That reduced a 4.1 meg file down to 200k(!) after Purge
    All. Also deleted dupes which also knocked off a couple hundred K.

    Thanks very much Dean and Kent.
     
    Simon, Sep 23, 2004
    #7
  8. Simon

    Simon Guest

    Also, is there a Standard set of filters included w/acad that I can reimport
    to a dwg so I don't need to set them up from scratch? I have the originals
    dwgs before using LFD.lsp to delete them, but sorting through 28,000 filters
    is a little tedious...

    Simon.
     
    Simon, Sep 23, 2004
    #8
  9. Simon

    Warren Trost Guest

    I posted a method in either the 2004 or 2005 section with the past week or
    so. You define the layer filters you want in a txt file which is easy to
    modify.


     
    Warren Trost, Sep 23, 2004
    #9
  10. Simon

    Simon Guest

    Hi Warren,

    I downloaded your MakeLayerFilter.lsp on the Acad Customization newsgroup.
    However, after loading it I can't get it to run. I've tried "MAKEFILTER"
    "MAKEFLTR" and "GATHERFILTER" but those don't work. What is the proper
    command?

    Simon.

    =========

     
    Simon, Sep 24, 2004
    #10
  11. Simon

    Walt Engle Guest

    Open the lsp file and see what it says right after defun c:
    that will tell you what to type once the file is loaded.
     
    Walt Engle, Sep 24, 2004
    #11
  12. Simon

    Warren Trost Guest

    Does the program load?

    It is looking for a specific location for the txt file. Change to match
    where you want it to be.
     
    Warren Trost, Sep 24, 2004
    #12
  13. Simon

    Simon Guest

    Hi Warren,

    I have the .lsp file and the .txt file in the same location in the Support
    folder path. Is this correct?

    Simon.
     
    Simon, Sep 27, 2004
    #13
  14. Simon

    Simon Guest

    Hi Walt,

    The .lsp file says:

    (defun GatherFilter (/ FP FL FILENAME)
    ;; swap next two lines if absolute location is desired.
    (setq FP (open "C:/WLT/LIBRARY/FILTERS.TXT" "r") ; file in path
    ; (setq FP (open "FILTERS.TXT" "r") ; file in path


    But "GatherFilter" returns "unknown command" in the command line.
    Also, I'm not sure what (/ FP FL FILENAME) means exactly however.


    Simon.
     
    Simon, Sep 27, 2004
    #14
  15. Simon

    Walt Engle Guest

    Back to your original question - the proper command is "gatherfilter".
    However, this is ridiculously long for a name. I would have renamed it
    "GF" (without the quotes of course) and saved it as GF.LSP. Then, when I
    loaded it, I would have typed the following: (load "gf")

    However, I cannot make it work as I get an "error on input".

    Now, the lsp routine is trying to find FILTER.TXT which should be
    located in C:\WLT\LIBRARY

    And, unless I have gone completely nuts this monday am, I believe you
    should have backslashes instead of forward slashes - but I'm not sure.
    Too early.
     
    Walt Engle, Sep 27, 2004
    #15
  16. Simon

    Warren Trost Guest

    I have a shortcut MF for make filter. I keep the long names in a file to
    better describe the function.

    Two backslashes = one forward slash.

    Change the location to one you desire. I work with a base subdirectory of
    "\WLT" so that I put all of my stuff in one location at work.
     
    Warren Trost, Sep 28, 2004
    #16
  17. Simon

    Warren Trost Guest

    Even if they are in the support path it probably will not work if you do not
    change the location in the program as it is hard coded to "C:/WLT/LIBRARY"

    Also the "filters.txt" file is an example to show the format.
     
    Warren Trost, Sep 28, 2004
    #17
  18. Simon

    Warren Trost Guest

    (/ FP FL FILENAME) -- makes the variables local.

     
    Warren Trost, Sep 28, 2004
    #18
  19. Simon

    Simon Guest

    Thanks Walt and Warren for your help, now I understand:)
    I'll alter the subdirectory today and see how that works.

    Simon.
     
    Simon, Sep 28, 2004
    #19
  20. Simon

    Warren Trost Guest

    My shortcut to do this:

    (defun C:MF () (nl15 GATHERFILTER "MAKELAYERFILTER")(GatherFilter))

    nl15 is just a function to look in a specific directory, GATHERFILTER is the
    command name to check if loaded, "MAKELAYERFILTER" is the file to load, and
    (GatherFilter) runs the funtion MF.

    This could be rewritten:
    (defun C:MF () (if (not GATHERFILTER) (load
    "MAKELAYERFILTER"))(GatherFilter))

    This assumes that the file is in the path.

    I path as I have 6 directories with routines and do not want all in the
    support path as some dirs have 1500+ files.
     
    Warren Trost, Sep 28, 2004
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.