Jump to content

Publish dwg to multiple PDF or DWF files


stevo99

Recommended Posts

Hi There,

 

I have a client that needs me to deliver my drawings in PDF format as multiple files with a specific naming convention.

What I am doing is publishing to multiple files then renaming each file individually which is time consuming and prone to error.

 

I was hoping to come up with a way to automate the process.

Here's what I have:

Each layout contains a title block block, lets call it "tblock". Within this block there are attributes for drawing title, sheet number etc, lets call these attributes "dt", "sn" respectively.

Each layout also contains an Xref which contains a block which has attributes for revision data such as date, revision, issue description etc

Lets call the xref "XA1", the block "Xtblock" and the attribute I need "Xrev". In visual basic it might look something like XA1.Xtblock.Xrev

 

Here's what I need:

export each layout as {sn} {dt} Rev {Xrev}.pdf

 

Now I have used VB to automate Excel tasks and create Database applications so I would describe myself as "handy", just not used VB within Autocad before.

I have also not used LISP before either so I'm a bit of a layman in that respect.

 

I would prefer if someone could direct me, perhaps with some high level code so that I can work it out myself rather than solve the problem for me.

 

Any Ideas?

 

Cheers

 

Steve

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...