.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD Plot Engine - Regenerating slow.

2 REPLIES 2
Reply
Message 1 of 3
StormyC
1582 Views, 2 Replies

AutoCAD Plot Engine - Regenerating slow.

Ive used the code in the post http://through-the-interface.typepad.com/through_the_interface/2007/09/driving-a-basic.html

 

The only differences are

I am using a userform with a button click to start the plot so im using command.session and command.modal flags.

I plot to .pdf using the DWG to PDF.pc3 

I use a stored ObjectID for the layout, get the database, then the document to get all the values for the plot.

 

It works, and when the code reaches

pe.BeginGenerateGraphics(null);

 

The plot starts but seems to freeze or be very slow at "Status:Regenerating Sheet", it seems to grind at getting the effective plot areas for the viewports - 9 in total.

 

Its really fast using the plot command winthin AutoCAD... any help would be appreciated.

 

Win7, AutoCAD 2014, VS2010, C#

 

Tags (1)
2 REPLIES 2
Message 2 of 3
fieldguy
in reply to: StormyC

Did you try background plotting off?  Something like this:

 

acapp.Application.SetSystemVariable("BACKGROUNDPLOT", 0)

Message 3 of 3
StormyC
in reply to: fieldguy

That variable is in use.


I've tested the DLL with AutoCAD2013 on a Win XP 32bit, xeon 2.33mhz using a nvidia FX4500 graphics card and its faster.

The slow machine (Win7 64bit i7 2.66(OC to 3.4mhz)) isn't a workstation so the graphics card is an HD5970 and not a workstation type.  Im hoping that's the reason for the difference and not because its 64bit.

 

Thanks for the reply though.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost