How to Set Formula Various families at once

Hi all.

I am a student who wants to learn Dynamo. And I’m learning to set up a formula

So i tried to use node, and it worked

However, there was a problem. I want to set up a lot of families at once.
There are more than 100 things I want to do next.

So my main question is

  1. How can i set Formula Various families at once

  2. What is difference “Autodesk.Revit.DB.Document” and “Revit.Application.Document”

oh… I can upload only one capture…

Sorry for my poor English and “Thanks”,
Kitamura


I just use this nodes

Hi @Kitamura and welcome, check this post to help you in your task, get the families from a directory or by category, edit them or background open them, check which one works for you, set the formula then save the families:

1 Like

Thank you for your help. I think I can refer to it somewhere else

But I want to set formula all Families at once, not split file…

Whilst some of my nodes are old so have went into an unfound state, this is my script structure I use for batch setting of family formulae typically. Maybe it helps:

1 Like

Thanks for your help. Maybe I can find hint from your script

Hrm yeah I’d go query erfajo over on Orchid as he might have changed the levels of that node since I used it. Its one of the reasons I started building my own familydoc nodes in Python, just needed consistent behaviour.

1 Like