Dynamo - Script for creating assembly views and placement on sheets

Dynamo - Script for creating assembly views and placement on sheets

engstromtomas
Explorer Explorer
3,462 Views
3 Replies
Message 1 of 4

Dynamo - Script for creating assembly views and placement on sheets

engstromtomas
Explorer
Explorer

Hi there I need your help!

 

Im wondering if it's possible to create a dynamo script that creates assembly views and place the created views on a sheet at a specific place. I want to use assemblys for creating door and window documentation.

The script should collect all door and window assemblies in the project and create a specific sheet for all windows/doors in the project. 

 

I have made templates, schedules and a door objects with parameters for the door information that will be shown on the sheet.

 

I now want to automate the sheet creation and placement of views but my skills in dynamo arent that great at the moment!

 

Is the task even possible with dynamo?

0 Likes
3,463 Views
3 Replies
Replies (3)
Message 2 of 4

L.Maas
Mentor
Mentor

I have done it in the past where I needed to create a catalog (of about 1000 different types). It was at another business therefore I do not have the script available. So it is possible. I had it split in several sub scripts due to size/complexity of the script. Further it was heavily customized to a specific project setup, so not easily transferrable to other projects
1-Creating the assemblies
2-Creating views for the assemblies
3-Creating and naming sheets and placing views (including schedule) on the sheet and filling some parameters (sheetname and so on)
4-Aligning the views according to an example sheet.

If I remember correctly I used several Dynamo packages to make it all work.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 3 of 4

engstromtomas
Explorer
Explorer

Thanks for the reply

 

It would by really nice to get this to work. The creation of sheets can be done manually on a smaller project but as you say on a bigger project with hundreds of windows and doors there needs to be some automation. I would rather spend time focusing on the design and not on repetetive tasks.

 

I have done some testing in the past with dynamo and have a working script that creates the views and sheets. I have come to a stop with the placement of the views on the sheet at a specific coordinate. The script doesnt take in to account if there is already a view already made, which it should!

 

Do you have some ideas on how to place the views at a specific coordinate on the sheet?

0 Likes
Message 4 of 4

L.Maas
Mentor
Mentor

The basic idea what I did was to create an example assembly with assembly views (same as for the other assemblies) and then place those on a sheet in the position were I wanted them. Then you have a sheet with views that will be used as a template. Then I used this node (from Rhythm package)

 

LMaas_0-1680249061175.png

 

Basically you match the views of your assemblies that are on a random position on your sheets and match that with the position of the views on the "example" sheet.

 

One of the things that can be tricky is in case you have multiple views on your sheet (in my case front, left, right, top and 3D) is that you match front with front and left with left and so on.

 

I hope this helps.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes