Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Valued Contributor
masa10789
Posts: 56
Registered: ‎09-02-2004
Message 1 of 3 (690 Views)

Publish through vlisp

690 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.
*CADDee.com
Message 2 of 3 (690 Views)

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.
Valued Contributor
masa10789
Posts: 56
Registered: ‎09-02-2004
Message 3 of 3 (690 Views)

Re: Publish through vlisp

02-02-2007 07:28 AM in reply to: masa10789
Thanks for the help. Seems easy enough to do.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.