Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Dynamo Gridbuilder with multiple grid types

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
Joos_T
406 Aufrufe, 3 Antworten

Dynamo Gridbuilder with multiple grid types

Dear all,

 

I'm builder a gridbuilder so can set up a grid quickly. 

Is it posible to do this with multiple grid types? (6.5mm bubble and 6.5mm bubble gap)

 

See below for an example of how it should look like. 

In the attachment i've added a revit file and the dynamo code to build a grid without multiple types (and a little piece of how i've tried to solve it). 

Thank you in advance!

Joos_T_0-1695889919582.png

 

 

Beschriftungen (4)
3 ANTWORTEN 3
Nachricht 2 von 4
robert2JCCH
als Antwort auf: Joos_T

https://primer.dynamobim.org/04_The-Building-Blocks-of-Programs/4-3_logic.html

 

robert2JCCH_0-1695928590392.png

This would be an odd/even (or every other item) list splitter. From there you can take each branch and assign a separate type.

 

Alternatively, you can build odd/even structure into the typing and push the lists together:

robert2JCCH_1-1695929014966.png

 

If you need something other than odd/even, the primer has some good examples of list logic to build off of.

Nachricht 3 von 4
Joos_T
als Antwort auf: robert2JCCH

Thanks for your reply.

 

Sorting the grids in odd and even does work now! Thank you.

The only problem now is change the grid type. FamilyInstance.SetType doesn't work.

Joos_T_0-1695967125904.png

 

Nachricht 4 von 4
robert2JCCH
als Antwort auf: Joos_T

Looks like OP got an answer at the DynamoBIM forums, cross-posting the link here for people in the future.

 

https://forum.dynamobim.com/t/dynamo-gridbuilder-with-multiple-grid-types/94139/2

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report