Author Topic: XREF's and saving drawings  (Read 7516 times)

0 Members and 1 Guest are viewing this topic.

42

  • Bull Frog
  • Posts: 483
XREF's and saving drawings
« on: May 19, 2009, 08:47:48 AM »
Ok here is the problem.
Person A is working on the ground floor plan, person B is working on the sections. The sections have the ground floor plan xrefed in.
When person A wants to save their work in the ground floor plan a notice pops up "unable to save drawing as it is been accessed by another session"
When the ground floor plan is detached person A is able to save their work no problem.
The drawings are been held on a local network. I seem to remember this cropping up some years ago, the consensus being that iy was to do with a slow network, I'm assuerd that we have  atip top network so this does not seem to be the problem................any thoughts
Alastair Mallett Autodesk Certified Professional
Technical Director
Hunters South Architects

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: XREF's and saving drawings
« Reply #1 on: May 19, 2009, 08:50:34 AM »
Look into "DEMANDLOAD". It needs to be turned off.
CAD Tech

42

  • Bull Frog
  • Posts: 483
Re: XREF's and saving drawings
« Reply #2 on: May 19, 2009, 09:06:14 AM »
Ok I'll try that and keep you posted.
Thanks (if it works!)
Alastair Mallett Autodesk Certified Professional
Technical Director
Hunters South Architects

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: XREF's and saving drawings
« Reply #3 on: May 19, 2009, 09:54:26 AM »
Look into "DEMANDLOAD". It needs to be turned off.
I think you mean XLOADCTL.  I can see where you probably got mixed up with the demand loading.


Change XLOADCTL to 2.

Quote
Turns xref demand-loading on and off, and controls whether it opens the referenced drawing or a copy.

0  Turns off demand-loading; the entire drawing is loaded.
 
1  Turns on demand-loading. Referenced drawings are kept open and locked.
 
2  Turns on demand-loading. Copies of referenced drawings are opened and locked; referenced drawings are not locked
 

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.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: XREF's and saving drawings
« Reply #4 on: May 19, 2009, 10:13:48 AM »
Thanks for the correction Matt.
CAD Tech

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: XREF's and saving drawings
« Reply #5 on: May 19, 2009, 10:44:33 AM »
One might also want to set the INDEXCTL [set it to 3] variable as well.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

42

  • Bull Frog
  • Posts: 483
Re: XREF's and saving drawings
« Reply #6 on: May 21, 2009, 11:52:44 AM »
xloadctl is set to 2
indexctl is set to 0

We will try the indexctl 2 setting
The same problem with xrefs is cropping up with NO other drawings related to that project open. The person in question is THE ONLY person working on that project.

Again will keep you posted.......unless I get board or forget!!
Alastair Mallett Autodesk Certified Professional
Technical Director
Hunters South Architects

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: XREF's and saving drawings
« Reply #7 on: May 21, 2009, 12:15:10 PM »
please use

INDEXCTL=3
Be your Best


Michael Farrell
http://primeservicesglobal.com/

42

  • Bull Frog
  • Posts: 483
Re: XREF's and saving drawings
« Reply #8 on: May 21, 2009, 02:24:40 PM »
The ability to read is so over rated :-D
Alastair Mallett Autodesk Certified Professional
Technical Director
Hunters South Architects

ronjonp

  • Needs a day job
  • Posts: 7526
Re: XREF's and saving drawings
« Reply #9 on: May 21, 2009, 02:46:08 PM »
please use

INDEXCTL=3

Michael,

What advantages do you see setting this variable to 3?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Jeff_M

  • King Gator
  • Posts: 4088
  • C3D user & customizer
Re: XREF's and saving drawings
« Reply #10 on: May 21, 2009, 03:44:30 PM »
Because Help says so? :-)
Quote from: AcadHelp
Controls whether layer and spatial indexes are created and saved in drawing files.

To receive the maximum benefit of demand loading, it is recommended that you save any drawings that are used as xrefs with layer and spatial indexes.

0   No indexes are created
1   Layer index is created
2   Spatial index is created
3   Layer and spatial indexes are created
......

ronjonp

  • Needs a day job
  • Posts: 7526
Re: XREF's and saving drawings
« Reply #11 on: May 21, 2009, 04:00:37 PM »
Because Help says so? :-)
Quote from: AcadHelp
Controls whether layer and spatial indexes are created and saved in drawing files.

To receive the maximum benefit of demand loading, it is recommended that you save any drawings that are used as xrefs with layer and spatial indexes.

0   No indexes are created
1   Layer index is created
2   Spatial index is created
3   Layer and spatial indexes are created
......

I read that too  :-P Just wondered if he had any extra insight. :-)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: XREF's and saving drawings
« Reply #12 on: May 21, 2009, 05:16:13 PM »
yes, as long as one is indexing the data, one might as well index both the layer and the spatial data while one is at it....in most cases, unless one is using clipping depth on views, this setting should not present any issues to the user...however to prevent any issues from arising it is optimal to always set INDEXCTL to 3 as a prophylactic measure.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: XREF's and saving drawings
« Reply #13 on: May 21, 2009, 06:04:42 PM »
Actually, I have seen significant delays with INDEXCTL set to 3 when using XREFs, particularly during XREF loading and saving as the drawing is re-indexed.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: XREF's and saving drawings
« Reply #14 on: May 21, 2009, 06:10:11 PM »
From my perspective I'd rather 'see' delays than not SEE data that should be there when XREF'ed; but that is just me.
Be your Best


Michael Farrell
http://primeservicesglobal.com/