I’ve just begun my journey with Dynamo, so there may be some dumb questions coming up.
The goal i’m trying to achieve is to fill Frame Type instance parameter value of the door with Mark value of the Curtain Wall that the door is in.
However, I have not swapped the CW panel with the door. I’ve replaced the CW panel with the Wall, and this Wall is the host to a standard door.
Steps I took:
- Selected all doors in the project, that have a host.
- Selected all doors that are hosted in Curtain Panel Walls.
- Selected all walls that are Curtain Walls in the project.
- Got “Mark” parameter from CWs and set “Frame Type” parameter of doors.
It worked, but logically the sequence goes to trash the moment i add second door to any CW.
So, next i wanted to find Curtain Walls based on “Host Id” parameter of CW Panels, that are Walls (and host doors). So i’d have a list of CW Panels (Walls) and their host, which could be a single CW. Together with CW Panels (walls), i’d find a corresponding list of Doors, using familyinstance.gethost node.
THE ISSUE: CW panels that are Walls DO NOT HAVE HOST ID. unlike a standard CW Panel. So i can’t select their host, which makes it impossible to tie number of CW panels (walls) with the CW that are containing these CW panels (walls).
Does anyone have a different idea that would let me finish this script?
DISCLAIMER: as I’ve only been learning Dynamo for 10 days or so, I would like to avoid using custom nodes from others as well as Python scripts. I’d like to learn what OOTB Dynamo nodes can do first.