Hi all, i want to check the distance between walls in both vector X & Y. I am afarid that i have an error below, about the input or the node, which i copied from others. What can i amend in this situation?
The error may be due to the structure of your lists. You may need to use list levels.
Sorry, I meant the structure of the data coming out of your nodes. Are you able to show the data from your nodes?
Hi Luhon,
What kind of values are you recieving out of the Element.GetParameterValueByName nodes?
Vincent
Hi,
I think that the parametername is not spelled correctly.
Vincent
Right, there are a series of issues in your script i’m afraid.
1 - The parameter “Width” is a type parameter and that’s why you’re getting blanks. You need to go from elements to types, use Element.Type.
2 - check “Actual Wall Distance” is correct or weather is a type parameter.
We’ll take it from there
Thanks Ren,
Actually the “Width” and “Actual Wall Distance” are my poor amendment from others dynamo file which is checking the horizontal height, not the X & Y coordinate, also the next node (d*w). So now i have changed into some parameter names that exactly existed in dynamo for WALL by Elements.Parameter. Although i still don’t know if the flow setting is right or not 
The similar result i want and dynamo file is from https://revitbeyondbim.wordpress.com/2016/05/26/clearance-height-on-stairs-watch-your-head/
I try to amend it one by one.








