Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
gcsjlewis
352 Views, 1 Reply

api commands

I am looking for a little guidance here.  I have this code, that generates a report and saves it to my computer

 

(c:wd_bompnlr (list 1 1 "" 31 0 "ASC" "c:\\documents and settings\\jlewis\\application data\\autocad electrical 2011\\R18.1\\enu\\support\\user\\bompnl" "c:\\bak" nil))

 

However, i do not want to save it to my computer i want it inserted into my drawing.  Reading a couple of posts here and there, it pointed me to use this command instead

 

 (c:ace_auto_rpt rgfnam firstdnam templatenam)

 

However, i do not understand what the parameters actually are. 

 

 

Any help would be very much appreciated!!

1 REPLY 1
Message 2 of 2
hmsilva
in reply to: gcsjlewis

Hi manamalewis,

 

I'm not an "AutoCAD Electrical" guy, but I think not to be possible with the 

(c:ace_auto_rpt rgfnam firstdnam templatenam), insert the report into your drawing, it will create a .SET or a .RGF file, was what I understood here...

Maybe with the

(c:wd_bompnlr (list 1 1 "" 31 0 "ASC" "c:\\documents and settings\\jlewis\\application data\\autocad electrical 2011\\R18.\\enu\\support\\user\\bompnl" "c:\\bak" nil))

method, or even with the other one, after creating the report file, and if it is a text file, you can access the file and read / write the report into your dwg...

 

HTH

Henrique

EESignature

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

Post to forums  

Autodesk Design & Make Report

”Boost