I’m new in this Revit and Dynamo world so my problem may be easy but I can’t solve it. I’m trying to define a script which allows me to select several points in a surface, which represent the location of an imperfection (such as humidity or oxidation), and then create a family with this shape.
After creating the family with this shape, I am trying to add some parameters to it, so the users can specify type of damage, seriousness level…
I’m able to do all the first part, but when I have the surface, I’m not able to continue. I’ve been trying springs nodes but with no positive results.
I was finally able to create my family, but not to introduce parameters. Any help would be really appreciate.
Thanks a lot!
Can you disable all the geometry previews except the last shape you are writing to a family? I think you might be making a form which Revit is struggling with.
Of course I can do that. I don’t think that’s the problem because with the regular node (FamilyType.ByGeometry) it works. However, with the Springs node it doesn’t.
In addition, I don’t know if I’m using wrongly the node Parameter.CreateProjectParameter, because after creating the family, I must add some parameters in order to specify information about seriousness (integer scale) or the damage type (string: oxidation, humidity…).
I attach screenshots of the code with all the views disabled, and also the file in case you need it.
Sure. Now that you have suggested this, I have realised that the script is actually working and creating both family and parameter.
However, the geometry that is creating is not what I was expecting.
In addition, I don’t know how to change the value of the parameter defined as “Seriousness”.