Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Publish through vlisp

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
970 Views, 2 Replies

Publish through vlisp

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.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

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.
Message 3 of 3
Anonymous
in reply to: Anonymous

Thanks for the help. Seems easy enough to do.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost