Hello there! i have a Dynamo script that works fine when i do next - create new Models File Project, insert a family, after that bring a model into a scene, then run script, and its just working. The question is “can i make this script work by just opening my rfa file in Family Project, and run the same script” because whenever i try, i get this warning:
Al Center Cable Tap Boxes Busway_.rfa (384 KB)
GET_SET.dyn (11.6 KB)
The way in which you change parameters in a family is different than in a project, both in the user interface (UI) and in the Application Programming Interface (API - what Dynamo uses to steer Revit).
This means that you need to use nodes built for use in a family document.
Sadly I don’t think there are any out of the box nodes for this in Revit 2021, but I don’t have it installed at the moment so I can’t check.
can i still get the wanted result with models project? i need to make a lot of configurations of 1 object by changing it’s 2 or 3 parameters and mixing them in every possible way, and have each one separately, could you give me an advice, please?
Sure - the question is what your end goal is.
What does the client want for the deliverable? A building (project) or is it equipment to go into a building?
What are they expecting to receive? What is the deliverable format?
let’s take this one for an example, this piece of object can have different dimensions, it can be wider and longer, or wider and longer at the same time, let’s say 5,10,15,20,25" in width and 10,20,30,40,50" in length, so it’s 5x5=25 objects as a result, but 25 is not a problem, we have objects that can have 4000 configurations. But i’m starting with this one for now. The outcome should be each version of this object in rfa format with a unique naming containing dimensions of the object in its naming. i know that separate file and unique name is gonna be a different story here, but i gave you a whole picture. And we are 3Ds Max proficients, so you can imagine how hard it is for me now to figure this out with new program. i would be endlessly thankful for any tips and advices, in details would be perfect, since i’m new to this soft.
This isn’t how Revit works.
You would want ONE family with 25 or 400 types, all managed in a type catalog. Better still: it can be done very efficiently without the use of Dynamo. See here: Help
2 Likes
Honestly i don’t see in this instruction how can i do the parameters to be set automatically
Hi @vagos3222 is it something here you are after…not sure
2 Likes
yooooo this is actually working, and this is all the base i need for this step! i don’t even know how to thank you, you are the best @sovitek
1 Like