Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch Plot extremely slow with Xref

16 REPLIES 16
Reply
Message 1 of 17
ManueleDesign
622 Views, 16 Replies

Batch Plot extremely slow with Xref

Hi everyone,

 

I've got a problem that could compromise months of work.

We have designed 50 apartments for a tower, they are all in a unique file named "abacus" to easily control every single detail especially when client requests to change something. All of them have been made with dynamic blocs, many dynamic blocs repeated in every single apartment.

 

We have to deliver our work in 5 steps, let's say 10 apartments for each group.

 

In 5 new dwg files we have imported a cut XREF showing the 10 apartments we need to show for that group. Every apartment has about 4 dedicated layout which is about 40 layouts for every single dwg file.

 

It takes a while to switch between the layouts and it take ages to batch plot the 40 layouts. I have estimated that it takes nearly 2 minutes for each layout instead of 10 seconds for the same layout with binded XREF.

(Sure, I can go through this problem binding XREF and exploding the block every time I have to print but it’s not a fast option anyway and sometimes some of the dynamic block reset)

 

It seems that AutoCAD reloads the whole XREF every time I click on a layout, that’s why it’s incredibly slow.

 

Any suggestion? I have tried to change so many system variables setting but none of them has solved the problem.

 

Looking forward to getting the right tips and tricks, thanks in advance. Ciao!

 

 

16 REPLIES 16
Message 2 of 17
pendean
in reply to: ManueleDesign

Did you turn off background publishing yet? in OPTIONS, it's about all you can do.

After that, explore here (very long lists of items to change)
https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Slow-p...
and
https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Improv...

HTH
Message 3 of 17

@ManueleDesign  Check to see if your WHIPTHREAD variable is set to 1.

 

''Controls whether to use an additional processor to improve the speed of certain operations such as those that regenerate the drawing''

Message 4 of 17
ManueleDesign
in reply to: pendean

yes indeed, background publishing is always turned off.

Message 5 of 17

It is set to 1.

I'm quite sure it's something about some variable, I just need to tell AutoCAD "don't reload that XREF any time you do something".
Message 6 of 17

@ManueleDesign ,

 

Follow the suggestions on this article:

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 7 of 17

Thank you so much for this link, it's something I have already checked.

I don't have this "long time problem" in general but just when I try to plot files with xref attached.
The problem is something related to xref for sure.
Message 8 of 17

@ManueleDesign ,

 

Check these links:

 



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 9 of 17

I've already tried both of them without any significant success. ☹️

Message 10 of 17

@ManueleDesign ,

 

Maybe this one: (Particularly - Enable demand loading of xrefs)



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
Message 11 of 17

tried also this link, no results.
Message 12 of 17

@ManueleDesign Perhaps XLOADCTL

 

''When XLOADCTL is set to 2, a copy of each referenced drawing file is stored in the folder specified by the XLOADPATH system variable or the temporary files folder (set in the Options dialog box).

Additionally, xrefs load faster when you work across a network: the performance enhancement is most pronounced when you open drawings with many xrefs.''

 

Here is the list of all Xref related command & variables: 

 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoC...

 

Message 13 of 17

thanks so much for your message Dany,

unfortunately I have already set XLOADCTL to 2, I tried also different settings but nothing changes.

 

I just discovered that I have the same problem even if I bind the XREF it's not a XREF problem then.

The only way to speed up is to explode the binded XREF.

 

To print 1 single LAYOUT it takes:

 

XREF : 1:20 minutes

 

XREF converted into block reference - Bind Type - Bind : 1:20 minutes

XREF converted into block reference - Bind Type - Insert : 1:37 minutes

 

Exploded block reference : 6 seconds

 

It's a huge difference!!!

 

Now I'm definitely lost, it's not about XREF issue but I guess it's something different.

Message 14 of 17

@ManueleDesign  You gotta do what you gotta do to get the work out there and get your company paid $$$ If that means exploding blocks, xref's or dimensions... Just send it !    

 

One of my previous employers did the same thing but it was with Dimensions. Right before the project was delivered, they ran a script that would explode all dimensions across thousands of dwg's +... They were so paranoid that someone would go back into these drawings and stretch or scale something mistakenly that they leveled the playing field with a massive dimension explode 😂 

 

Cheers    

Message 15 of 17

I totally agree with what you wrote, we always have to find a way to complete our work which is the most important thing. 💪

 

It would be very interesting to understand how to use xref without this kind of problems though, I find extremely usefull to draw everything in one file and to lay out the elements in different files.

 

First reason I find this method intersting is because working on a single file makes it easy to control those similar repeated items, secondly because a dwg file without layouts is ways faster especially when the file size is quite large. 

 

I really hope someoene can give me some suggestion abou it. 🤞

Message 16 of 17
RobDraw
in reply to: ManueleDesign


@ManueleDesign wrote:
I'm quite sure it's something about some variable,

Have you considered that the content of the XREF could be the cause?


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
Message 17 of 17

Yes indeed, the XREF seems ok though, I can't see any problem.

I also think it's not about the content because if I bind the XREF and explode the converted block reference everything works as usual.

 

I now think the main problem is related to blocks hierarchy.

 

The XREF is a matryoshka, it's made by dynamic blocks with other blocks inside.

I think this is what slow down AutoCAD (and probably drives the CPU crazy), it's enough to delete on level of the hierarchy (binding the XREF and exploding the converted block reference) to go back to standard performance.

 

It's enough but it's also a quite long process to do, it would be amazing to leave the XREF without loosing performance.

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

Post to forums  

Forma Design Contest


Autodesk Design & Make Report