Have learned how to rename families using a script in Dynamo, but now id like to add my company code to the start of each family that doesn’t have anything before it
for instance before to rename the family i used a script to change
“GCD_ SURVEY_ Basic Wall” to “SVP_ SURVEY_ Basic Wall”
Now id like to add “SVP” to all the family list that just has it name and no ‘String’,
Just “Basic wall” or “Cylinder part 1” or " Basic Ceiling"
Just replace the String.Replace node (together with node blocks “GCD” and “SVP”) in your graph with the green group of mine. Of course instead of NEW youd need to write the prefix you want
Element.Type is from Archillab package, you don’t actually need for it, but download the package anyway because it’s great
This workflow works with system families, like walls, floors, etc… because you are actually renaming the type.
For normal families I guess you want to rename the Family, not the Type.
Take a look at other posts in the forum like this:
Question 1 - i want to rename Family Type in my project , just add the prefix ELE_LUM_ to the family type of the Category : Luminaires .
i did my script like this but i can’t push the new names from revit to dynamo so if you could help me i will be thankful.
Question 2 - Also i want to add the same prefix ELE_LUM_ to the family name in the Category Luminaire but i cant chose the family name in dynamo ;
is there a method just to filter the wanted family name in dynamo
here is the first picture of the project browser where i want to add the prefix ELE_LUM_ to the family type and also to the family name ( family typen are in yellow and family name are in red)