I think this is a common desire for many users of dynamo is to automate views and sheet creation. There are many posts and requests on this forum for it… I found useful information is spread across the net. As I expect there are many who have created useful graphs, and many new users interested, the intent for this post is simply to share what I found useful in one place.
View.Sheets.ByNameNumberTitleBlocksAndViews does not have any control for placement.
After lots of trial and searching, I found this Youtubel. https://www.youtube.com/watch?v=YE73ALg6LL8
WIth Def download: https://mega.nz/#F!yhdkjRCJ!imryzWZsIiE8vEV1immJEw
Instead of View.sheets.bynameNumberTitleBlocksAndView, it has two Python Nodes that separate out the the sheet creation from the view placing.
The Python code came from this post
In it is a link to the follow:
Make Sheets Python:
Place view on sheet python.
Thank you @Joseph_Peel
I found this from @Konrad_K_Sobon
Which includes a link to this python: https://gist.github.com/ksobon/a197f8584754c09cde77#file-createsheetsfromexcel-py
Which will remove existing sheets from the list to create.
Creating Different View Types in one Graph?.
I’m a couple steps toward where I’d like to get to. I have a few different graphs that will process the different plan and ceiling views, and apply view templates, but yet to figure how to create the sheets and the different view type then layout on the sheets in all in one graph.
How to assign Scope Boxes?
Another common problem is the size of view when laying it out on sheet. A view too large often causes issues for View.sheets.bynameNumberTitleBlocksAndView. Setting views to a scope box is common approach, as yet I cant find any post on how to assign a scope box to a view. SetParameterByName does not work with a string input.
Another is SteamNodes Align SheetViewsFromTemplateSheet.
I have yet to test this… it looks like a template sheet could be set up then feed in a list of sheets to align with.
If any other learner has found useful posts on this topic please add links to this post.
If any guru has successfully set up a complex graph to achieve, any guidance or comment would be appreciated for sure.