Speed up Insert a drawing

Discussion in 'AutoCAD' started by srinivasan, Dec 4, 2004.

  1. srinivasan

    srinivasan Guest

    Hello all

    Is there any way to reduce the time delay while inserting a block.The block is a dwg file located in a different directory.

    Is this possible with arx.

    Thanks in advance.
    Sri
     
    srinivasan, Dec 4, 2004
    #1
  2. srinivasan

    Norman Yuan Guest

    Do you mean ModelSpace(PaperSpace).InsertBlock() method is slow? I do not
    think it'll make noticeable difference between ObjectARX and VBA, and even
    AutoLIST/Manual Inserting, if you only do inserting. If you do intensive
    searching/matching on a big drawing prior to inserting, there may be
    difference regarding the "speed". Usually, it is the size of block(drawing)
    and network (if the file is located somewhere on the network), CPU, memory,
    harddrive speed... play a factor here.

    block is a dwg file located in a different directory.
     
    Norman Yuan, Dec 4, 2004
    #2
  3. srinivasan

    srinivasan Guest

    Thanks Norman for your suggestions.

    Actually it was the size of the file which led to the time delay.
    I purged the drawing to reduce the size but still there were
    no change in the dwg size.Finally found that there were
    lots of unused dictionary objects in the drawing which accounted for the dwg filesize.I removed all the unused dictionary object and now the file size decreased to 1/10 of
    the original size. I found the inser to faster now.

    Sri
     
    srinivasan, Dec 6, 2004
    #3
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.