Shared Parameters in Nested Families to Project

Shared Parameters in Nested Families to Project

Anonymous
Not applicable
4,500 Views
4 Replies
Message 1 of 5

Shared Parameters in Nested Families to Project

Anonymous
Not applicable

Hi there, this could be a silly question but I can't find a straight answer anywhere.

 

I am currently building my companies master shared parameter file as we begin to bring more projects over to a BIM workflow. We have a couple of nested families that have instance parameters (simple text) that we would like to be able to assign and read in a project. Anything I have seen advises me to add the shared parameter to the family the nested family is in, however it doesn't say what to do if the family is nested more than once. In my situation Family A contains 2 Family Bs, both of which we want to have different codes for but we want them to be under the same parameter. Is this possible or is this far too complicated a way of doing it and should I try something else?

 

Thanks in advance for any help!

0 Likes
Accepted solutions (1)
4,501 Views
4 Replies
Replies (4)
Message 2 of 5

RDAOU
Mentor
Mentor
Accepted solution

@Anonymous 

 

If the nested Child instance are not shared, then the shared parameters go into the Parent Family (In such case they cannot use the same parameter name)

 

If the Child Family B is a shared family nested into Parent Family A, the shared parameter in this case are created in Family B (1 parameter). IE:

 

  1. Open Family B
  2. Add the "CODE" as shared parameter (instance) in the Child family B 
  3. Reminder: The Child Family B should be a shared family (ie: Check the box "Shared" in the properties palette)
  4. Load B into the Parent Family A (Place as many instances as you wish - in this case 2)
  5. In the Parent family create 2x Instance family parameter "Code Instance B1" & "Code Instance B2" (Those are added to control value of the shared parameter created in step 1)
  6. Select the first instance of the nested Family B and associate the shared parameter "CODE"(created in step 1) to the instance family parameter  "Code Instance B1"
  7. Select the first instance of the nested Family B and associate the shared parameter "CODE"(created in step 1) to the instance family parameter to "Code Instance B2" 
  8. Save and Load to project

To set the value of the shared parameter you use the "Code Instance B1 & B2" in the Parent family loaded to the project.

When you schedule and/or Tag instances of Family B,  you use the Parameter "CODE" created in step 1

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 3 of 5

Rab_i
Advocate
Advocate

Let me see if I can help some here. After reading your description I felt beside "Shared Parameters" you will need to look into "Shared Families" in what you are trying to achieve. If I am making an understanding that you have nested families with same parameter names with different data that now you want to somehow wire back to the parent object.  If wiring back to the parent object is not important then perhaps your naming for parameter names would be rather much simple.

 

Let me consider an example.

 

Consider if human body was a Revit family. The full body is a family with a parameter name "Name".  Now each body has two hands. Right and Left. And each hands have 5 fingers. Thumb, pointing finger, middle finger, ring finger and the little finger. All of these different objects will have the same parameter "Name" to identify what they are. Essentially their names is what we are tracking using the parameter name "Name."

 

By doing this we created an identification system for each part. If I were to refer a Right hand thumb like this,

 

Rabi.Right Hand.Thumb

Ciara.Right Hand.Thumb

 

it would simply make them unique because one thumb belongs to Rabi while the other one belongs to you. Considering the dot represents the heirarchy of nesting, you could design this family with basically one parameter called "Name".

 

Now if you were to control all of these data from one parent family, then you will need to name each and every part you want to control uniquely at the parent level itself. Let me define it with my example above.

 

Say I want to see the data "Thumb" at parent level family. I would probably have to create parameter names like this.

 

Human.LeftHand.Finger1 = "Thumb"

Human.RightHand.Finger1 = "Thumb"

 

each item above would be a parameter name. These parameters then will be wired back into all nested levels such that they are uniquely represented at the parent level itself. This may make it super complicated. What possibly could be solved by "Name" parameter all of a sudden becomes so daunting.

 

I recommend you look into Shared Families. It would help you design your workflow by making it possible to uniquely define each part as its own identity while still associating them with the parent family. A complex data system can be then addressed with simple parameter names.

 

Now where "Shared Parameters" are unique is that they will help you create a unique data field that you could utilize in all of your nested families. Project Parameters have their own ID's and they are not the same thing between two families. Revit utilizes GUID's for identifying the data field and not the parameter names we pick. Thus you would need to use the Shared Parmerters so they are the same data field that you need to define in each nested families.

 

You could than create a schedule with all shared families and filter out what you don't need thus having access to all the nested level information you wanted to track.

 

I am sure you have lots of questions. Please feel free to elaborate and we shall try to explain them. Please let me know if this helps. 

Message 4 of 5

Anonymous
Not applicable

Thank you so much @Danny_Rutherford ! That has worked just how I wanted it to! The step by step really helped.

0 Likes
Message 5 of 5

RDAOU
Mentor
Mentor

You're welcome

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes