Dynamo Room Data Sheets

Dynamo Room Data Sheets

Anonymous
Not applicable
2,964 Views
2 Replies
Message 1 of 3

Dynamo Room Data Sheets

Anonymous
Not applicable

Hi

Apologies if this is in the wrong forum but I thought some revit users may be able to point me in the right direction.

 

This is a first attempt at a Dynamo script and I'm trying to automate the process of creating 4 room elevations and placing them on an A1 sheet I've followed this tutorial and been through the process with a toothcomb but I'm at a loss as to why I get errors and Revit has only started giving me 1 elevation.

 

https://www.mgfx.co.za/blog/building-architectural-design/how-to-automate-the-creation-of-room-data-...

I've attached images of flow chart I've created, errors I've received and outcome in revit I've got working. If anyone would like to point out my error and how to fix it I'd greatly appreciate it. 

Dynamo 1.jpgDynamo 2.jpgDynamo 3.jpgDynamo 4.jpg

 

Thanks very much

 

Owen 

0 Likes
Accepted solutions (1)
2,965 Views
2 Replies
Replies (2)
Message 2 of 3

L.Maas
Mentor
Mentor

Would help if you posted your script.  Screenshot of your script is too vague to read all the nodes.

 

Best would be to go back a step and just work on the node to see if you can make it work.

Hereunder an example of the node in a simple form. This worked for me. As you can see the sheet is made and the views are placed.

Dynamo.PNG

 

Also try to do the process manually. For example when a view is empty and you try place it on a sheet Revit throws an error

empty.PNG

So make sure that you supply the node with correct information and that you views are acceptable.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 3 of 3

David_W_Koch
Mentor
Mentor
Accepted solution

@Anonymous

I assume you have sorted this out by now, but for the benefit of others reading this thread, the error is in the Sheet Name node, which I assume is a renamed Code Block, into which Name; was entered.  Were you intending to type "Name"; here, as a placeholder into which the user would type in the desired sheet name?

 

As written, Name is interpreted to be a variable, and an input labeled Name was created to receive a value.  None was provided, so a null value is being fed to the sheetName input of the Sheet.ByNameNumberTitleBlockAndViews node, causing the error shown.  Note that the title bar of the Sheet Name node has a light gray background, rather than the dark background of the other nodes.  This is an indication that at least one required input for the node is not connected to anything.

 

So, either change the contents of the Sheet Name node, enclosing Name in double quotation marks to make it a string, not a variable, or provide a string input to the Sheet Name node, containing the name of the sheet to be created.2018-09-13_DynamoError_FromForums.png


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature