You are connecting a value of “Type” parameter to element input. You should connect the linkElement like you did on node to value of getting Type value…
Well, the problem is that I got it done with windows in a normal file. Now I’m linking in a file and I get information from that linked file. I don’t know why, but it places my lines 90 degrees rotated with the linked file.
So my question will be, how can I rotate a selection lines in my script?
This has made my script easier to understand and it works.
The last problem I’m having is the FamilyInstances.ByLine node from archilab. I have all the requirements to place the linebased family, but it turns yellow without a error.
The lines aren’t on the right height, but I’m following another step after it places the family. That’s why they are on the bottem of the window.
As I can see, the Z values are already in correct position. So we can try to place them on level 0 with List.OfRepeatedItem and as amount 16… If that works we have to check levels again if not, there is a problem with Geometry…