Project Wide Cross-Reference Update does not update XREF Table

Project Wide Cross-Reference Update does not update XREF Table

Anonymous
Not applicable
7,712 Views
66 Replies
Message 1 of 67

Project Wide Cross-Reference Update does not update XREF Table

Anonymous
Not applicable

Hi Team,

In need of a little help with this one please;

 

(Acade 2018) :

 

When I use the "SCHEMATIC>COMPONENT CROSS-REFERENCE"

Select "PROJECT"

Select "ALL"

Select "OK"

 

It updates the Parent/Child XREF's OK and the TABLE on the CURRENT OPEN dwg only, but does not update the Tables associated with other drawings Components -(though it physically updates the XREF against the Components in all other Project dwgs -just not their Tables!).

 

If I manually open each individual dwg (*sigh*), and select 

"SCHEMATIC>COMPONENT CROSS-REFERENCE"

Select "ACTIVE DRAWING"

"OK"

-- It then updates the Table for the Components on the Active dwg fine.

 

Or/ 

 

If I manually select 

SCHEMATIC>COMPONENT CROSS-REFERENCE "HIDE/UNHIDE CROSS-REFERENCING"

Select "ALL"

Hit "ENTER"

 

It sorts out the Xref Tables on the current open Dwg only.

 

I just cant seem to get it to update 50x dwgs Xref Tables using the PROJECT WIDE methods..

 

Any ideas? I spent hours on researching a fix for this but to no avail. 

 

I look forward to any suggestions.

Thanks.

 

-Steve.

0 Likes
7,713 Views
66 Replies
Replies (66)
Message 2 of 67

metal_pro2
Advocate
Advocate

I have the same intermittent problem in 2016. Very frustrating. Had to do the Update manually on each drawing one at a time.

 

Try using the API autolisp function "ace_projwide_util_dbx"

It will basically run the x-ref update on all project drawings and seems to work better for me.

I usually do a full project rebuild then run the update

This is the command to run with parameters


(c:ace_projwide_util_dbx nil (list 0 0 1) (list nil nil) nil)

 

Let me know if it works for you

Message 3 of 67

Anonymous
Not applicable

Thank you for the reply. 

Glad to know I'm not the only one affected then.

It was doing it on version 2017 and now on 2018. Not sure if it's a compatibility issue with Windows or a known issue with AcadE.

 

I will try your recommendation and post how it goes.

 

Regards.

Steve.

0 Likes
Message 4 of 67

Anonymous
Not applicable

Hi Metal, 

 

Forgot to update you:

Basically: it ran the command and I can see in the Command log it appeared to be "inserting Cross References" for each dwg... but when I check the drawings individually, they still looked like they hadn't updated. So I hit the "update xref - active dwg only" and sure enough it updated that dwg properly. It just wont work on the "project-wide" method.

I literally have to open up 200x dwgs and run the xref individual command each time. It's super frustrating. Surely this is an Issue with ACADE2017/18?

 

0 Likes
Message 5 of 67

testsubject
Advisor
Advisor

I know that this does not fix the problem but did you try creating a script and running it from the utilities app project wide?

 



Bob Hanrahan
Ace User since 1998
Autodesk Expert Elite Alumni
If this answered your question, please click on "Accept Solution"
0 Likes
Message 6 of 67

Anonymous
Not applicable

Greetings Bob,

 

I have tried but I get stuck on the 'script writing' as I'm not familiar with the syntax and have wasted many hours on it.

My manual 'work around' process is to;

1. Open each drawing;

2. Click Schematic>'Component Cross Reference';

3. "Run Cross reference on:" > Active Drawing (all);

4. (select) 'OK'

[ -Let it run and complete by clicking "Close" on the error Exception report.]

5. Select 'Next Drawing' and repeat processes 1-4. 😞

 

If there is a script or some astute script-writer out there who could bang this together in the time it takes me to pour a coffee (I know you guys exist!!) then that would be hugely appreciated! 😃

 

In other news; I uninstalled ACADE, restarted, reinstalled ACADE, it behaved perfectly until the next day and back to the same ol' problem. Doh!

 

-Regards, Steve.

 

 

0 Likes
Message 7 of 67

Anonymous
Not applicable

I have the same issue in both 2018 & 2019 ACADE  still not sort it out! Any help from ACADE team?

0 Likes
Message 8 of 67

rhesusminus
Mentor
Mentor
Quick question Moe.

Will it work on the demo-projects that comes with AutoCAD Electrical?
If so, it's related to your project, and it's not much we can do without having a look.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 9 of 67

Anonymous
Not applicable

Thanks. Work well in IEC_SIMPLE. Obviously my drawing component ( which we create our own might have issue ). 

0 Likes
Message 10 of 67

rhesusminus
Mentor
Mentor
Do you want us to have a look at your drawings?

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 11 of 67

Anonymous
Not applicable

Yes if you can, I'm trying many ways but still not sort it out yet!  I just change the page no. 110,400 and 200. And check the component cross ref: update or not. Updated the project database and updated the component Cross ref: by project. Not updated but if I updated from drawing it is updated. 

Thanks for your help!

0 Likes
Message 12 of 67

rhesusminus
Mentor
Mentor
I tried to open the project, and run the Cross-referencing command. First "Active Drawing (All)" and it updates as expected (See video here: https://autode.sk/32eTef4 )
Then undo'ed, and ran it for the project, and it still worked as expected.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 13 of 67

Anonymous
Not applicable

Do you mind to close all the pages and open only cover page and do Component  Cross - Reference - Run Cross-reference on: Project please? I got a issue at when I add page and unable to update component cross refence whole project automatically. I need to update page by page.

0 Likes
Message 14 of 67

moeaung31
Contributor
Contributor

Please see attached file. 

0 Likes
Message 15 of 67

rhesusminus
Mentor
Mentor
Vacation time...

I tried that, and you're right. It won't update if you're on a different sheet...
@Anonymous might have some insight on this?

I spent too much time not figuring anything out 🙂

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 16 of 67

moeaung31
Contributor
Contributor

Yes I try many ways but I could not sort it out yet! Even I reset to default setting still has same issue. Hopefully we can sort it out soon otherwise I always update page by page after insert page.

0 Likes
Message 17 of 67

PatMurnen_Adsk
Alumni
Alumni

Hi, I am trying to reproduce a problem with project-wide cross-referencing with your project but so far I wasn't able to. Here is what I tried using AutoCAD Electrical 2018.

 

So I would know what to look for specifically, I opened drawing Zone 01 Motor Power Distribution - A.dwg and using plain AutoCAD I deleted one of the child contacts for SZ11_KM1. This way it would make the parent for that out of date and when running cross-referencing I should see that one updated.

 

I then closed all drawings except for the cover page. I ran cross-referencing and picked Project-wide and processed all drawings. I opened SAFETY CIRCUIT - FLEXISOFT SM1 & 2 ( XTIO ) OUTPUT.DWG and noted that the cross-referencing for SZ11_KM1 parent had updated correctly, removing the reference for the contact I deleted.

 

As another test, I changed the Sheet value for Zone 01 Motor Power Distribution - A.dwg from 110 to P110. Again, I closed all drawings except the cover page and ran project-wide cross-referencing. Then I opened SAFETY CIRCUIT - FLEXISOFT SM1 & 2 ( XTIO ) OUTPUT.DWG and checked the cross-referencing and saw that the cross-reference had updated correctly.

 

Do you have other steps I should try? If you can provide a video that would also help so I know I am trying the same thing.

 

Regards,

Pat Murnen



Pat Murnen
Principal Content Developer
Product Development – AutoCAD Product Line Group

Autodesk, Inc.

0 Likes
Message 18 of 67

metal_pro2
Advocate
Advocate

I was just wondering if moeaung31 is using single line symbols in his project?

 

I have the same problem when running project wide cross reference that sometimes it doesn't work.

I have narrowed it down to components that have a single line symbol as well as a schematic symbol causing the issue.

I get this message at the command prompt when processing a schematic drawing

 

Cross-reference

Extracting parent tags. . . inserting cross-references

Error: bad argument type: stringp (nil nil nil (("S TRIGGER" "B1")) (("" "15" "18" "16")) nil nil)

 

if I delete the single line symbol (or mark the single line drawing as "for Reference Only) rebuild the project and run cross reference it works fine

Message 19 of 67

PatMurnen_Adsk
Alumni
Alumni

Hi, 

Have you reported this issue specifically with 1-line symbols to support? You can do that through this link - 

https://knowledge.autodesk.com/contact-support

 

Regards,

Pat



Pat Murnen
Principal Content Developer
Product Development – AutoCAD Product Line Group

Autodesk, Inc.

Message 20 of 67

rhesusminus
Mentor
Mentor
Pat, I did the "change sheet number" also, and was able to replicate the behaviour. AcadE 2020.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉