How to create empty sheets

hello I am trying to create empty sheets but this node doesnt seem to be working. I am putting in 2 lists of 30 elements long but only getting out one list of 26 elements long…? Does anyone know what is going on? Thanks

never mind I found out what the problem was, I had duplicate sheet numbers and it omitted them without telling me. Seems like a bug to me, no?

Its not a bug; the Python script within that custom node has a try/except clause that will pass over inputs that fail, i.e. a duplicate sheet number
image

1 Like

Ok thanks, any idea why I have 6 duplicate items but the duplicate items node is only finding 5?

Indices 4-8 are duplicates of index 3, so index 3 would be in the “unique” output list for Lists.DuplicateItemIndices

Does any one have an idea why the Tool.CreateEmptySheet stopped working for me?

You maybe? @awilliams

CreateEmptySheets.dyn (27.4 KB)

Edit
Seems to work for Revit 2019.2 again, but not for Revit 2020.2.
Any idea how to get it to work for Revit 2020.2?

This is what i get in Revit 2020.2.

[0] [0] Traceback (most recent call last):

  • File “”, line 56, in *
    AttributeError: ‘ViewSheet’ object has no attribute ‘ViewName’

[0] [1] Empty List

Had to change the inputs to not get warnings.

2019
Revit 2019.2
2020
Revit 2020.2

Hi @bvs1982
I’ve got the same problem!
Try to replace a.ViewName=n to a.Name=n so it looks like this:
image
Now it works for me in 2020.2, but don’t know about 2019.

Found it here: SteamNodes Tool.CreateEmptySheet node ViewName Attribute Depricated

1 Like

@NicSass

You can find the solution here :point_down:t2:

https://forum.dynamobim.com/t/create-empty-sheets-revit-2020/55054/3

1 Like