Jump to content

Lisp and Publish


pouicpouic

Recommended Posts

Hi,

 

I need to publish PDF of a bunch of files

 

They have different sizes of paper.

 

I try to make a .Scr but I still need to indicate a lot of informations in my -publish (size of paper, printer...)

 

I am looking for a way to say to my autocad:

 

publish all the layouts with the defaut configuration, use the defaut configuration in the files and publish everything here : c:\temps (for example).

 

By defaut, my files have, , the layout with the good printer and the good size of

paper.

 

Can you indicate me a way to find the solution?

 

 

Is it possible?

Link to comment
Share on other sites

Hi,

 

I need to publish PDF of a bunch of files

 

They have different sizes of paper.

 

I try to make a .Scr but I still need to indicate a lot of informations in my -publish (size of paper, printer...)

 

I am looking for a way to say to my autocad:

 

publish all the layouts with the defaut configuration, use the defaut configuration in the files and publish everything here : c:\temps (for example).

 

By defaut, my files have, , the layout with the good printer and the good size of

paper.

 

Can you indicate me a way to find the solution?

 

 

Is it possible?

 

Why not just set the appropriate named Page Setup as active for all of your Layouts, using DWG to PDF print driver, and then invoke the PUBLISH Command?

 

If you need to quickly set page setups as active for multiple Layouts in a batch process, this old post should help; example:

 

 

(foreach layoutname (layoutlist)
 (vla-SetActivePageSetup layoutname “[color="red"]YourPageSetupName[/color]”)
)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...