Filtering levels for door hosting afterwards

Hey gang,

New to dynamo. Apologies if these questions appear dumbfounded.

I’m looking for a way to filter a list of levels, based on their names. The logic of those names are a little all over the place, so I was hoping to type in those level names manually in a list that can be used for this filtering exercise.

The goal is to filter a list of levels in which to copy my doors and elevators onto ( the walls go from Basement, through 30 storeys till it reaches the roof)

Any advice and suggestions are welcomed.

Please check out the following post How to get help on the Dynamo forums

Asking questions is what this forum is about, everyone is at different levels with their Dynamo knowledge so please keep asking and learning

Here is a quick example of filtering by level name


Or like this

2 Likes

appreciate this @Mike.Buttery ! i did try that and it worked. I was wondering if there is a masking node that allows us to filter a range ?

For instance , i have levels between L01 - L30.
However i’m looking to place those doors between L02-04 , and then L07-29

Kindest,
LL

Hi @liamyongging Could us range node similar to below…or alternately build onto Mike’s code block level list :thinking:

1 Like

Oh tht looks handy as @Kai . I’ll give that a go later tonight. appreciate it !!

Hi @Kai, been trying to digest your script and im deeply curious about it.Would you mind explaining the logic behind your code block?

From what i can tell, you’re trying to identify levels 02-04, then 07-29? I am likely wrong

The logic you have proposed seemed to have worked wonders for me! I appreciate that @Mike.Buttery. I was wondering though, if there is a way to make sure the copied element will be hosted on their floors? At the moment by doors are all hosted at L2, and offset incrementally, which is annoying…


K

Kind regards,
LL
Copying Across Multiple Floors.dyn (42.6 KB)

Why wouldn’t you just use Revit’s “copy>paste aligned to selected levels” function?

Is the host a Level or a Wall?
My guess is it is a Wall now.
Be wary if you model your Wall per Level. I guess your .dyn won’t work then.

PS
Can you show the output of the nodes?

PPS
I also think the answer to your question is in your other topic.

NB
I think your initial filtering was wrong too.

1 Like

Hi @liamyongging ,
You are correct was filtering via creating a range, similar to one of your earlier request
ie Lv 02-04 & L07-29
02/07 reference start range/ 04/29 reference end range.

240923_LevelFIlter.dyn (24.3 KB)

Cheers
KS

1 Like

@ewilliamsUQGPB I didnt know we can paste to multple levels… Thanks for that.

My concern is more that i have 20 typical floorplates that look exactly the same, and i didnt want to modify each element ( door change, wall change ) 20times, everytime i make a change. Hoping to find a way where i can modify everything on one floor plate and then automate it across 20 floors.

@bvs1982
Youre right. I had a wall that spanned 20 storeys and that is why it worked. However, the host of each doors all belong to the same level. Still trying to find a resolution for that…

Thanks for checking. I do think i may be duplicating questions in both topics. will consolidated

Thanks @Kai i didnt understand the logic of grouping the 2 and 7 but its clear to me now !

1 Like

@bvs1982 the result just fyi

Genius Loci have the Closest Level node and then you could change the door Level parameter(s). Please note doors have two built in level parameters FAMILY_LEVEL_PARAM and SCHEDULE_LEVEL_PARAM. You could try the archilab Set BuiltIn Parameter node, however this was not working for me in R2024 (looking into it)

1 Like

why not use model groups?

1 Like

@ewilliamsUQGPB That is the current workflow. But we end up having a really messy model with multiple model groups + my BIM manager hates model groups. fyi im more fluid with grasshopper, and in my head, im thinking of a workflow that allows me to array my items within seconds vertically. Though i am painfully aware that these items are baked immediately, which makes deleting them after each change annoying

image

You might have to set up you Graph a little different if you gonna use this one.

thanks @Mike.Buttery for the heads up. Im curious how this would work if i were to change the door level parameter for multiple doors at the same time. This is the node youre mentioning i believe
image

1 Like


Copying Across Multiple Floors.dyn (35.2 KB)

1 Like