• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Distinguished Contributor
    Posts: 503
    Registered: 12-10-2003

    Reducing Huge drawing size

    165 Views, 30 Replies
    12-12-2005 02:18 AM
    Hi all,

    I had a drawing of 64 MB size.
    Eliminating the single element and no element groups and optimising the block design we could reduce the drawing to 48 MB size.
    The drawing does not have layer filters, states and is purged completely. It contains links to an external database in which the attribute data is stored.

    Any idea on what else could be done to reduce the drawing size. The drawing response time is too slow as of now.

    Thanks for any suggestions.

    MNRaghu
    Contributor
    Posts: 15
    Registered: 12-12-2005

    Re: Reducing Huge drawing size

    12-12-2005 10:06 AM in reply to: RaghuMN
    Load RFS lisp
    It will help to reduce AutoCAD file size
    Distinguished Contributor
    Posts: 5,928
    Registered: 12-12-2003

    Re: Reducing Huge drawing size

    12-12-2005 10:08 AM in reply to: RaghuMN
    Op said:
    "The drawing does not have layer filters"

    Bob
    Contributor
    Posts: 15
    Registered: 12-12-2005

    Re: Reducing Huge drawing size

    12-12-2005 10:17 AM in reply to: RaghuMN
    Clear unwanted Images - Check Image manager
    *Laurie Comerford

    Re: Reducing Huge drawing size

    12-12-2005 11:23 AM in reply to: RaghuMN
    Hi Raghu,

    What sort of data does the drawing contain?
    Can you break the drawing into 2 (or more) drawings and work on them
    segmentally?

    --

    Laurie Comerford
    CADApps
    www.cadapps.com.au
    wrote in message news:5035249@discussion.autodesk.com...
    Hi all,

    I had a drawing of 64 MB size.
    Eliminating the single element and no element groups and optimising the
    block design we could reduce the drawing to 48 MB size.
    The drawing does not have layer filters, states and is purged completely. It
    contains links to an external database in which the attribute data is
    stored.

    Any idea on what else could be done to reduce the drawing size. The drawing
    response time is too slow as of now.

    Thanks for any suggestions.

    MNRaghu
    New Member
    Posts: 1
    Registered: 12-12-2005

    Re: Reducing Huge drawing size

    12-12-2005 12:05 PM in reply to: RaghuMN
    Just checking - - When you say purged completely, Have you purged it of Registered Applications ? I am not sure what it might break, so I would try this on a copy of your file, but use the command line purge "-purge" and select regapps. I regularly have files with MBs in this category
    *Gary Fowler

    Re: Reducing Huge drawing size

    12-12-2005 12:54 PM in reply to: RaghuMN
    This is what I use to clean up drawings............

    --

    Gary
    Valued Mentor
    Posts: 537
    Registered: 12-17-2004

    Re: Reducing Huge drawing size

    12-13-2005 01:29 AM in reply to: RaghuMN
    Hi RaghuMN

    You can use

    Command: OVERKILL

    From Express tools..

    Cheers

    Henrique
    Distinguished Contributor
    Posts: 503
    Registered: 12-10-2003

    Re: Reducing Huge drawing size

    12-13-2005 02:26 AM in reply to: RaghuMN
    Basha, Bob, Laurie Comerford, TomJewell, Gary Fowler - Thank you all for the suggestions.


    Basha,
    Thanks. But, couldn't use the suggestions since my drawing does not contain images and layer filters.


    Laurie Comerford,
    This is a utility drawing with simple featurs (line, polyline, text and block).
    The only complication is that the features are linked to an external database.

    We are currently working on the split mode, but our desire is to work as a whole since there will be edge matching problems occuring now and then.


    TomJewell,
    Unfortunately (or fortunately), our drawing contained only 30 unused reg apps that reduced the drawing size by around 5 kB.


    Gary Fowler,
    Your code (idea behind it) reduced nearly 1 mb since my drawing was cleaner in the issues that the program dealt with. The only thing that I could not find out about your program was the command (C:smileysurprised:O) since it was not a part of the code. Thanks for the support.


    I tried another way (as below) using AutoDesk Map and had some success too, but not yet satisfied.
    a. Exported the features along with the linked data to a shape file.
    b. Deleted the original features and the link template.
    c. Imported the shape file data into AutoCAD.
    d. Converted object data to database links.
    e. Deleted the object data table.
    This way, the links between the features and database were redefined.
    Surprisingly, this also reduced the file size by 5mB (from 48 mB to 43 mb.

    I still think that there are other ways to reduce the drawing size.
    Hence, expecting more suggestions too.

    Thanks,

    MNRaghu
    Distinguished Contributor
    Posts: 503
    Registered: 12-10-2003

    Re: Reducing Huge drawing size

    12-13-2005 02:41 AM in reply to: RaghuMN
    Thanks Henrique,

    That was another good idea, to find the duplicates and overriding features.

    Right now, I do not know the amount of file size reduction from this program since the decisions to keep or delete certain features is based on attribute values too. This result takes me some time.

    Thanks,
    MNRaghu