What I have done is use VBA to write a DDS file and then...
(command "-publish" (strcat (getvar "dwgprefix") "\PublishJob.DSD"))
The DDS file, as you may know, is the file format for a publish "job", it's
very much like an INI file. This file could also be written by lisp but
probably easier with VB or VBA.
Jim Dee
www.caddee.com
wrote in message news:5471890@discussion.autodesk.com...
Can you programmatically access the publish function? I couln't find it. Is
it not similar to (vla-PlotTofile (vla-get-activedocument
(vla-get-acad-object)) "c:\\myfilename.dwf")?
Any help would be great, thanks.