It should work if you use this -
(c:ace_auto_rpt "c:\\test.rgf" nil nil)
Even though you aren't creating a new drawing or using a template the
arguments are still required. So I put nil for them both.
Hope this helps,
Pat Murnen
wrote in message news:6303574@discussion.autodesk.com...
Pat,
I setup the .set file and created a group file (.rgf).
Now I am trying to run the (c:ace_auto_rpt) function and I cannot seem to
get the syntax down correctly. According to the API help, I should be able
to run the following if I don't want to create a new drawing for the report
and I am not using a template.
(c:ace_auto_rpt "c:\\test.rgf")
When I run the above, I get an error "Too few arguments".
My goal is to make this a custom menu choice so the user just clicks once
and the report appears on his drawing.
Any ideas what I am doing wrong?