AutoCAD Electrical General Discussion

AutoCAD Electrical General Discussion

Reply
Mentor
Wheelie22
Posts: 199
Registered: ‎02-25-2010
Message 1 of 2 (247 Views)

AcadE/Lisp Drawing List Update

247 Views, 1 Replies
10-16-2012 01:46 AM

With :

 

 (C:ACE_DWGLST_RPT_DBX
 (nth 5 (C:WD_PROJ_WDP_DATA))
 USE_SET_FILE
 T
 )

 

you can update without choosing the drawings, but you still get 2x dialog, the preview list (click put on drawing)  and the Table Generation Setup window (click OK).

 

is it possible without any user prompts ?

 

If I replace the T with nil it runs but does not update. :smileyfrustrated:

 

 

Employee
murnenp
Posts: 574
Registered: ‎08-01-2007
Message 2 of 2 (219 Views)

Re: AcadE/Lisp Drawing List Update

10-17-2012 06:30 AM in reply to: Wheelie22

This report is not set up to run without user prompts. I am assuming you are trying to update a table when you run this report? For that to work you would have to be able to predefine the table settings in the format .SET file. But this report is not supported in the Format File setup dialog. I think the reason for this is because this is the one report that the available fields can change based on the title block setup.

 

You can predefine the fields to include, field order, etc. But this is done by running the report once, using the Change Report Format dialog to set it up, then OK+Save As to save the .SET file. Then any other time you run the report you can pick the Format button on the first dialog. Or if you are using the undocumented API you mention, you would put the full path and name of this file where you have USE_SET_FILE. When supplying a full path you must use "/" rather than "\".

 

But, again this is only going to bypass the first dialog but not the report display or table generation setup. 

 

Sorr,y but as far as I know there is not a way to run this particular report without any dialogs.

 

Regards,

 



Pat Murnen
Principal Content Developer
Information Modeling and Platform Products Group

Autodesk, Inc.

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.