Speed up Insert a drawing
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Speed up Insert a drawing

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
srinivasan
Guest





Posted: Sat Dec 04, 2004 4:00 pm    Post subject: Speed up Insert a drawing Reply with quote

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

Back to top
Norman Yuan
Guest





Posted: Sat Dec 04, 2004 9:44 pm    Post subject: Re: Speed up Insert a drawing Reply with quote

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.

"srinivasan" <nospam@address.withheld> wrote in message
news:24888966.1102158060429.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
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
Back to top
srinivasan
Guest





Posted: Mon Dec 06, 2004 10:06 am    Post subject: Re: Speed up Insert a drawing Reply with quote

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

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB