AutoCAD Electrical
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
PLC I/O List Report
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'm trying to automate the generation of a customised PLC I/O List, using the PLC I/O Address and Descriptions report.
I can't find any mention of a command in the API help.
Can anyone point me in the right direction?
Solved! Go to Solution.
Re: PLC I/O List Report
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
One way to do this for any report is with the Automatic Reports API. Doing it with this API allows you to actually set up more than one report to run at a time.
There are 2 things that need to be setup before this can be used.
1) The .SET file for the report including the output wanted, i.e.. save to file and/or put on drawing as table. This is created using Reports tab > Miscellaneous Panel > Report Format Setup.
2) A report grouping file .RGF. This is created using Reports tab > Miscellaneous panel > Automatic Reports. Pick each report and corresponding .set file as if you are going to run it through this dialog. Then save the group and then exit the dialog.
Now the API can be used at anytime without further dialogs or user input.
(c:ace_auto_rpt rgfnam firstdnam templatenam)
|
Parameters |
Description |
|
rgfnam |
Report Grouping file name as created in Automatic Reports dialog box. |
|
firstdnam |
Name of first drawing name if table output is an option and new drawing(s) will be created, can be nil if no new drawings will be created. |
|
templatenam |
Template name if table output is an option and new drawing(s) will be created, nil for no template.
|

Pat Murnen
Principal Content Developer
Information Modeling and Platform Products Group
Autodesk, Inc.
Re: PLC I/O List Report
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Pat.
Slightly more roundabout than I expected, but it works well.
Re: PLC I/O List Report
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Yeah. It takes a little more setup to get it working but once it is setup it can be used just like an API for a specific report. And you can group multiple reports and run them in one API. You can even run the same report but with different .SET files to get different output (maybe different fields included) in the same grouping. Anyway, glad it worked.

Pat Murnen
Principal Content Developer
Information Modeling and Platform Products Group
Autodesk, Inc.
