I’m writing some Python code in Dynamo to set up elevations.
As part of this I need to find a certain ViewFamilyTypes - to do this I need to return the ViewFamilyTypes Name, which I can do with the following two pieces of code:
(Note that the code picks out the fifth ViewFamilyTypes - which is the one I need, I will eventually write some code which evaluates the list).
Which is what I want.
But I want don’t want two pieces of code, I want to add them together, so I did this:
But this generates the error:
Am I missing something, I cant work out why two pieces of code works, whereas one doesn’t.
I would appreciate some advise.