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.
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)
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....
@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?
@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?
(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.
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 !