AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Drawing List Report - Update Existing Fails (Sometimes)

8 REPLIES 8
Reply
Message 1 of 9
drathak
974 Views, 8 Replies

Drawing List Report - Update Existing Fails (Sometimes)

I am able to generate a drawing list pretty much as I like it, and have saved a .set file to keep that available.  But my problem is when I come back and need to update it after adding more drawings.  (Or maybe even just closing out the file and coming back.  Haven't actually checked that.)

 

After running a new report using the .set file, I go to put it on the drawing and the option to update the existing table is greyed out.  If I insert it somewhere else and then remove the old one and get the new one back in place, I can make changes and it will let me update the existing table.  But every time I come back to it after some period of time, I have to insert a new table every time.

 

Anyone know what might cause thast?  (ACADE2013 SP2, WIN7 64bit)

 

There should be a way to "Edit" the table and trigger an update of the data fro the project file/scratch database.

--------------
Joe Weaver
Principle Associate Engineer - Nashville Electric Service
P&C Committee Chair – SDS Industry Consortium
8 REPLIES 8
Message 2 of 9
Wheelie22
in reply to: drathak

When you insert the first table did you use the firrst or second option ?

 

drawing list report.png

 

When it works make a DWT of it. 

Message 3 of 9
drathak
in reply to: Wheelie22

Pretty certain I used the first.

 

How would making a DWT of it help in updating it in an existing .DWG?  I mean I can see how that would make the next new index easier. (if the update works)

--------------
Joe Weaver
Principle Associate Engineer - Nashville Electric Service
P&C Committee Chair – SDS Industry Consortium
Message 4 of 9
Wheelie22
in reply to: drathak

Not the existing.

 

The guy that set up AcadE here did it right, so when we insert the INDEX sheet DWT and do a update (AE command C:UPDATE-DRAWING-LIST) it always works !

 

Unless I get a -2 error than I have to restart AcadE or the PC (un expected feature)

 

If some one chaged the style, just delete the table and copy it from the DWT and it works again !

 

Unless....

Message 5 of 9
drathak
in reply to: Wheelie22


@Wheelie22 wrote:

Not the existing.

 

The guy that set up AcadE here did it right, so when we insert the INDEX sheet DWT and do a update (AE command C:UPDATE-DRAWING-LIST) it always works !

 

Unless I get a -2 error than I have to restart AcadE or the PC (un expected feature)

 

If some one chaged the style, just delete the table and copy it from the DWT and it works again !

 

Unless....


Ok, I haven't been running THAT command, just running the "Drawing List Report" by right clicking the project in Project manager.  You very well may have just solved my problem.  Off to check!
.

.

.

.

Aaaans not finding that command.  Maybe an in-house LISP routine?

--------------
Joe Weaver
Principle Associate Engineer - Nashville Electric Service
P&C Committee Chair – SDS Industry Consortium
Message 6 of 9
Wheelie22
in reply to: drathak

Its a lisp command but the same as you use, I only removed the drawing selection because we always want every drawing.
Message 7 of 9
drathak
in reply to: Wheelie22


@Wheelie22 wrote:
Its a lisp command but the same as you use, I only removed the drawing selection because we always want every drawing.

What command does the LISP routine execute?

--------------
Joe Weaver
Principle Associate Engineer - Nashville Electric Service
P&C Committee Chair – SDS Industry Consortium
Message 8 of 9
Wheelie22
in reply to: drathak

(defun C:UPDATE-DRAWING-LIST ()
    (setq QQ	       "dwglst.set"
	  QQQ	       "c:\\Users\\USERNAME\\AppData\\Roaming\\Autodesk\\AutoCAD Electrical YOUR VERSION\\R18.2\\enu\\Support\\User\\"
	  USE_SET_FILE (strcat QQQ QQ)
    ) ;_ end of setq

    (C:ACE_DWGLST_RPT_DBX
	(nth 5 (C:WD_PROJ_WDP_DATA))
	USE_SET_FILE
	t
    ) ;_ end of c:ace_dwglst_rpt_dbx

) ;_ end of defun

 

 by right clicking the project in Project manager.

 

O...

Tthe C:WD_PROJ_WDP_DATA makes a list of your WDP data from the currend project, I only need the 5th entry.

And the C:ACE_DWGLST_RPT_DBX makes the report.

 

Message 9 of 9
Wheelie22
in reply to: drathak

This is the -2 error :

 

========== Drawing 6 of 6 ==========

Searching BLOCK table for attibute "WD_TB". . .not found

Using title block attribute mapping file

O:\BT-Data\General\AutoCAD\AeData\default.wdt...

 processing . . .

 displaying . . .

 

Error: bad argument value: positive -2

 

After a restart of AcadE it works again !

 

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

Post to forums  

”Boost