I’m new to using grasshopper & RhinoInside Revit, I’ve created a family in Grasshopper using a Revit family template with custom instance parameters for metadata input. The family works within Revit and I can see and edit my parameters in properties, the issue I’m having is that when using the same grasshopper routine & same Revit family template to bring in a second element into the project as a family, the parameters are no where to be found in the second family.
I’m assuming the issue is with Revit but I have attached my grasshopper for reference.
To be clear you are creating a new family and that doesn’t have the parameters you are trying to apply? If you use the same script above it would overwrite the previous one.
Correct, I need to create multiple different families with the same editable parameters, the first one works fine but when creating the second, third etc the parameters do not appear. Yes I need the script to overwrite the previous family of the ‘same name’ as these families will change a lot through the design process.
Yes it’s just text parameters for data output, the text parameters are in the Revit template file. I think part of the issue is the routine is linked to the original family I created. Is there a way to close out my routine so it stops running once the family is created?
I’ve right clicked on the component and can’t see any disable.
I don’t need to overwrite any parameters with grasshopper. My issue is that the first family works perfectly with the parameters in Revit (image 1). When creating a second family for a different 3d element with the exact same script the parameters are missing (image 2).
Note: both families are in the same project and I’ve just noticed that the properties are different
So these are all text parameters in the .rft file? You are just adding new geometry ,new name, via the add new family component, then instantiating and getting different results?
Rickson, that’s correct. I have found a workaround by modifying the original family by changing the name, geometry etc and then re-running the original grasshopper script for the first family but this is a pain to do and also time consuming.
I’ve been looking for a way to add parameters to a newly created family. I assume that this is not possible and the best way to do this is through a custom template? I was trying to define add and assign a parameter to a family similar to what one would do to an element but that did not work.
Anouther thought I had was to save the file open it add parameters and then reload it in the current document but I was getting an error message that the file was in use by Revit
Is there a way to group shared parameters? There are shared parameter groups but these are custom groups that you can use to organize your parameter and have no relationship to the grouping of parameters in the Revit property panel.
You would somehow need to feed the shared parameter into a define parameter component and then assign it a group, this is what you do when you assign a shared parameter to file.
No idea why they built shared parameters that way, with their own unrelated groups or don’t give them the ability to assign them to the parameter group you see in the property window.