Layouts, Zoom/Pan and ACAD2K2 crashing...
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
Layouts, Zoom/Pan and ACAD2K2 crashing...

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





Posted: Fri Dec 03, 2004 12:50 pm    Post subject: Layouts, Zoom/Pan and ACAD2K2 crashing... Reply with quote

Dear Friends,

I noticed odd behaviour of ACAD 2002 and custom modified Layouts... If I add a block to a Layout via VBA and then perform few realtime and non-realtime Zooms/Pans, the ACAD crashes. Do I need to implicitly Update the PaperSpace.Blocks collection or is there some other detail I should be aware of? Just for the record, when I manually place the same block manually it doesn't crash and works normally.

Regards,
Maksim Sestic

Back to top
Jorge Jimenez
Guest





Posted: Fri Dec 03, 2004 2:21 pm    Post subject: Re: Layouts, Zoom/Pan and ACAD2K2 crashing... Reply with quote

Doesn't happen here.

I use ActiveLayout.Block.InsertBlock
then I .update the block object

How many is a "few" Zooms/Pans ??

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica


"Maksim Sestic" <max@geoinova.com> wrote in message news:41b01acf$1_2@newsprd01...
Dear Friends,

I noticed odd behaviour of ACAD 2002 and custom modified Layouts... If I add a block to a Layout via VBA and then perform few realtime and non-realtime Zooms/Pans, the ACAD crashes. Do I need to implicitly Update the PaperSpace.Blocks collection or is there some other detail I should be aware of? Just for the record, when I manually place the same block manually it doesn't crash and works normally.

Regards,
Maksim Sestic
Back to top
TomD
Guest





Posted: Fri Dec 03, 2004 8:50 pm    Post subject: Re: Layouts, Zoom/Pan and ACAD2K2 crashing... Reply with quote

I see this happen, but not having anything to do with VBA or inserting blocks.

Try AUDITing whatever drawing you see this in.
"Maksim Sestic" <max@geoinova.com> wrote in message news:41b01acf$1_2@newsprd01...
Dear Friends,

I noticed odd behaviour of ACAD 2002 and custom modified Layouts... If I add a block to a Layout via VBA and then perform few realtime and non-realtime Zooms/Pans, the ACAD crashes. Do I need to implicitly Update the PaperSpace.Blocks collection or is there some other detail I should be aware of? Just for the record, when I manually place the same block manually it doesn't crash and works normally.

Regards,
Maksim Sestic

Back to top
Maksim Sestic
Guest





Posted: Fri Dec 03, 2004 9:38 pm    Post subject: Re: Layouts, Zoom/Pan and ACAD2K2 crashing... Reply with quote

Jorge,

I can't really measure it but I know this shouldn't happen. Just a few simple zooms or pans and... it just crashes with fatal error. I think it's not (that much) up to ACAD itself - it's not happening on all computers and every operating system (somehow Win2000+SP1,2,3 seems more wulnerable to this). Maybe it's up to memory handling, maybe up to video-card driver... I don't know... My guys are testing the software on "clean" machines, but the hardware is not the same.

Regards,
Maksim Sestic
"Jorge Jimenez" <unknown@nospam.com> wrote in message news:41b0301d$1_1@newsprd01...
Doesn't happen here.

I use ActiveLayout.Block.InsertBlock
then I .update the block object

How many is a "few" Zooms/Pans ??

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica


"Maksim Sestic" <max@geoinova.com> wrote in message news:41b01acf$1_2@newsprd01...
Dear Friends,

I noticed odd behaviour of ACAD 2002 and custom modified Layouts... If I add a block to a Layout via VBA and then perform few realtime and non-realtime Zooms/Pans, the ACAD crashes. Do I need to implicitly Update the PaperSpace.Blocks collection or is there some other detail I should be aware of? Just for the record, when I manually place the same block manually it doesn't crash and works normally.

Regards,
Maksim Sestic
Back to top
Maksim Sestic
Guest





Posted: Fri Dec 03, 2004 9:39 pm    Post subject: Re: Layouts, Zoom/Pan and ACAD2K2 crashing... Reply with quote

I'll try and post the results to this NG.

Thanks,
Maksim Sestic
"TomD" <tdivittis.no@spam.cecinc.com> wrote in message news:41b08b64_2@newsprd01...
I see this happen, but not having anything to do with VBA or inserting blocks.

Try AUDITing whatever drawing you see this in.
"Maksim Sestic" <max@geoinova.com> wrote in message news:41b01acf$1_2@newsprd01...
Dear Friends,

I noticed odd behaviour of ACAD 2002 and custom modified Layouts... If I add a block to a Layout via VBA and then perform few realtime and non-realtime Zooms/Pans, the ACAD crashes. Do I need to implicitly Update the PaperSpace.Blocks collection or is there some other detail I should be aware of? Just for the record, when I manually place the same block manually it doesn't crash and works normally.

Regards,
Maksim Sestic
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