Visual LISP, AutoLISP and General Customization

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

Publish through vlisp

652 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 (652 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 (652 Views)

Re: Publish through vlisp

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community