Jump to content
onyhus

Bulk export PDFs with different visibility permutations

Recommended Posts

Hi,

 

I want to make an illustration with say N different components, say A, B, C, and so on. I want to export PDFs with different visibility permutations for the components. E.g. for one PDF I only want A and B to show, for another I only want B and C to show, and so on. As you can understand, the number of permutations will quickly get really high, and the time it will take to do this manually is to long.

I'm sure this could be scripted, either with marionette, python or vectorscript, but I would like to be pointed in the right direction before digging to deep into this. Anyone know how to attack this problem?

 

Any help would be greatly appreciated!

Share this post


Link to post

How many objects and how many permutations?

 

That would make a major difference in how you script it also.

 

Since you have to define all the permutations, unless this is a repetitive operation that you are going to do often. I would probably just set up a Sheet Layer and Viewport and then Duplicate it as many times as are required. Go to each sheet layer and change the Class (or Layer) visibilities and you are done. You could actually do this even easier from the Viewports tab of the Organization Palette with it set to Visibilities mode. That way you can change everything in one place.

 

And this gives me a great chance to post one of my favorite comics from the great xkcd.com

is_it_worth_the_time.thumb.png.05f5f093fb54fbae7a1600f3ad29883f.png

https://imgs.xkcd.com/comics/is_it_worth_the_time.png

Share this post


Link to post

@Pat Stanford Thanks for the answer Pat.

 

I understand how to do this manually, but since the number of permutations might be in the hundreds or thousands, and if I want to make changes I would have to do it all over again, I think scripting is the best approach.

 

I estimate the number of permutations to be 2000-4000.

Share this post


Link to post

That sounds worth automating. 😉

 

 

How are you going to define the permutations? That will help define how you will need to script what you are doing.  Is this every object with every other object in batches of 2? Every possible combination of X objects? Something else??

 

Give us a better understanding of what you are really trying to do and we can offer better suggestions.

 

 

Share this post


Link to post

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


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...