User Post not working in Drawing List Report

User Post not working in Drawing List Report

rcooper9QDTF
Contributor Contributor
1.244 Vistas
6 Respuestas
Mensaje 1 de 7

User Post not working in Drawing List Report

rcooper9QDTF
Contributor
Contributor

For AutoCAD Electrical 2022:
I'm trying to concatenate the DWGDESC1, DWGDESC2, and DWGDESC3 in the Drawing List Report.
I downloaded the dwglst.lsp and dwglst.dcl (as the dwglst.zip file found in this post https://forums.autodesk.com/t5/autocad-electrical-forum/drawing-list-report-lsp-routine/td-p/5418661)
I copied the .lsp and .dcl files into C:\Program Files\Autodesk\AutoCAD 2022\Acade\Support\en-US\Shared. But when I try to use the User Post, it opens the Report Data Post-processing Options window, I check the second box and hit OK, the Post-Processing window opens again, and no matter what I check, it gives "error: bad argument type: consp "{first drawing's name}" in the command line and the Drawing List Report cancels itself.

After searching through the forums, I came across the suggestion of deleting the dwglst.set file that should be in C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical 2022\R24.1\enu\Support\User. But the only things close to that are a DWGLST._MP and a DWGLST.TMP.

What am I doing wrong?

 

0 Me gusta
Soluciones aceptadas (1)
1.245 Vistas
6 Respuestas
Respuestas (6)
Mensaje 2 de 7

rcooper9QDTF
Contributor
Contributor

I'm not sure this is relevant, but I am using a custom made .wdt file.

0 Me gusta
Mensaje 3 de 7

rcooper9QDTF
Contributor
Contributor

@PatMurnen_Adsk 
Do you have any insights on this?

0 Me gusta
Mensaje 4 de 7

PatMurnen_Adsk
Alumni
Alumni

Hi, a few releases ago (maybe even 2016), the code in the sample user post files changed to add support for running them as part of Automatic Reports. So my guess is that the .lsp file you downloaded from the old thread is using the older user post format. I can take a look at what it is doing and try and incorporate it into the newer format. Once I have something for you to try I will upload it here and you can test it.

 

Regards,

Pat Murnen



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

Autodesk, Inc.

0 Me gusta
Mensaje 5 de 7

PatMurnen_Adsk
Alumni
Alumni
Solución aceptada

Actually, after reading through that older post it looks like both versions of the .lsp file are there, pre-2015 and post-2015. Did you try the later one? I've reattached it here. It worked for me on AutoCAD Electrical 2022. The .dcl should work on any release.

 

Regards,

Pat Murnen

 



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

Autodesk, Inc.

0 Me gusta
Mensaje 6 de 7

rcooper9QDTF
Contributor
Contributor

That .lsp did the trick.

Thank you very much!

0 Me gusta
Mensaje 7 de 7

PatMurnen_Adsk
Alumni
Alumni

Glad that worked. -Pat



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

Autodesk, Inc.

0 Me gusta