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!
Solved! Go to Solution.
Solved by robert2JCCH. Go to Solution.
https://primer.dynamobim.org/04_The-Building-Blocks-of-Programs/4-3_logic.html
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:
If you need something other than odd/even, the primer has some good examples of list logic to build off of.
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.
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
Can't find what you're looking for? Ask the community or share your knowledge.