I have a problem about Code block

i got a problem about code block it doesnt work

The error say…
Error: Sheet is a class name, can’t be used as a variable.

i didnt understand it
Capture2

i use dynamo 1.3.2.0

If you want variables, change it a bit:
Variable

1 Like

Most common revit objects are built in a class wich need to have a name.

Those names are RESERVED to make sure commands called under the hood or custom blocks using those classes work properly.

As Johannes said, change them a bit, as they are case sensitive. I usually add a reference after it to know what is going on like: View_Filtered or Sheet_Series100. works a bit like comments in a code.

1 Like

oh i see thanks