• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Valued Contributor
    Posts: 56
    Registered: ‎09-02-2004

    Publish through vlisp

    432 Views, 2 Replies
    02-01-2007 10:34 AM
    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.
    Please use plain text.
    *CADDee.com

    Re: Publish through vlisp

    02-01-2007 01:34 PM in reply to: masa10789
    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.
    Please use plain text.
    Valued Contributor
    Posts: 56
    Registered: ‎09-02-2004

    Re: Publish through vlisp

    02-02-2007 07:28 AM in reply to: masa10789
    Thanks for the help. Seems easy enough to do.
    Please use plain text.