I have a problem about Code block

codeblock

#1

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


#2

If you want variables, change it a bit:
Variable


#3

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.


#4

oh i see thanks