Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Retrieve data from nested family

46 ANTWORTEN 46
GELÖST
Antworten
Nachricht 1 von 47
Keith_Wilkinson
6014 Aufrufe, 46 Antworten

Retrieve data from nested family

I'm sure the answer to this is 'no', but I'll ask anyway... 

 

I have a window that is made up of 2 or more nested window families.  Each of these has an area calc in it.  Is there any way at all to access this data in the parent family?

 

Cheers

 

K.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
46 ANTWORTEN 46
Nachricht 2 von 47
ToanDN
als Antwort auf: Keith_Wilkinson

Assuming you nested the parameters between the parent family and the children families, you can create Area parameters and add formulas to them.
Nachricht 3 von 47
Keith_Wilkinson
als Antwort auf: ToanDN

the area of each window panel is calculated by a formula in the child - I can't link this as it's not directly driven by the parent.

 

What I want is a formula in the parent that can read the value of the parameters in the child but I don't think this is currently possible - the workaround is rather complex... 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Nachricht 4 von 47
barthbradley
als Antwort auf: Keith_Wilkinson

Are you saying that you want to have a parameter in the Parent Family report the value of a formula-driven parameter within a nested family? In other words, you want to pull a nested family's parameter value into the parent? It can be done, but the parent's parameter can only be a reporting type. 

Nachricht 5 von 47
Sahay_R
als Antwort auf: barthbradley

Create a parameter in the parent family - for example, Area. When you nest the child, associate the child's Area parameter with the Area parameter of the parent.


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 6 von 47
barthbradley
als Antwort auf: Sahay_R

No, that's not what I'm referring to. What I think the OP want's to do is REPORT the nested family's formula-driven parameter IN THE PARENT FAMILY.  He want to pull data, not push data. 

Nachricht 7 von 47
Sahay_R
als Antwort auf: barthbradley

Can we see the family please?


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 8 von 47
barthbradley
als Antwort auf: Sahay_R

Are you directing that question to me or to @Keith_Wilkinson

 

 

Nachricht 9 von 47
Sahay_R
als Antwort auf: barthbradley

Whoever has the family in question, @barthbradley!


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 10 von 47
barthbradley
als Antwort auf: Sahay_R

Well, @Sahay_R, you asked me for a family. I thought you may have wanted me to produce a family that does exactly what I think @Keith_Wilkinson is trying to do. I'd be happy to, if it is requested of me.  

 

 

EDIT...

 

Here’s something very rudimentary…

 

Family8 is nested into Family9 (attached).

Family8 has a parameter called “Formula 1”.

The value for “Formula 1” is formula-driven (e.g. (A*B)/1).  

Family9 has a reporting parameter called “Formula 2”. This parameter reports the value of Family8’s “Formula 1” parameter.

Additionally, Family9 has another parameter called “Formula 3”. It’s parameter value is formula-driven and uses “Formula 2” to compute its value – and, remember, “Formula 2” is the parameter that is reporting Family8’s “Formula 1”.

Nachricht 11 von 47
ToanDN
als Antwort auf: Keith_Wilkinson

Lol we have a massive power outage in the city today so I cannot test anything except for spitting out BS.
Nachricht 12 von 47
Keith_Wilkinson
als Antwort auf: ToanDN

@ToanDN Was it Samaritan?

 

Thanks to those who have replied, apologies for the delay in responding, been away from a Revit enabled PC over the weekend.

 

I've attached a very basic family with one nested component which has within it two formulas to calculate 2 different areas.  I want to pull that data through to the parent family and then calculate totals based on those values - so if I had two panels I'd have an area for panel one and an area for panel two.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Nachricht 13 von 47
ToanDN
als Antwort auf: Keith_Wilkinson

@Keith_Wilkinson

 

Would you need more parameters to associate with the nested panels if you have more than one panels in the family?  See attached.

 

 

Nachricht 14 von 47
Keith_Wilkinson
als Antwort auf: ToanDN

Thanks Toan, this is the approach I'm using at present but it's getting to complex to manage efficiently which is why I was hoping there might be a way to pull the data in.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Nachricht 15 von 47
ToanDN
als Antwort auf: Keith_Wilkinson

If the goal is to have the data in a project schedule then you can make the nested panel a shared family so that the information would come through without the need to calculate it in the host family.

Nachricht 16 von 47
Sahay_R
als Antwort auf: ToanDN

@ToanDN Would the data from the shared nested family also be able to participate in area calculations for a tag? Just asking because this thread kind of Segways over to a problem that I am dealing with.


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 17 von 47
Keith_Wilkinson
als Antwort auf: ToanDN

Yes, that would be another option although again it's complicated to implement as we can't merge rows in a schedule.

 

Another viable option might be to use a tag for the nested, shared sub families. 

 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Nachricht 18 von 47
ToanDN
als Antwort auf: Sahay_R

@Sahay_R

I would say Yes if the shared parameters of the nested family are associated with shared parameters of the host family.

 

 

@Keith_Wilkinson

Certainly.  Until you have upper and lower panels in the same window then the tags can get messy on plans and you may need to clarify them or add tags on elevations.

 

While you cannot combine row in a schedule, you can group the panels of a window unit per some creative means of identification, and calculate a sub-total for the group.  It would give you the combined Areas for each unit.

Nachricht 19 von 47
Sahay_R
als Antwort auf: ToanDN

@ToanDN. You are making me think many thoughts. And you will be the first to know when they come to naught. Thank you!


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 20 von 47
barthbradley
als Antwort auf: Keith_Wilkinson

@Keith_Wilkinson

 

This thread is getting rather confusing to me. Must be time for a mid-day Starbuck’s pick-me-up. Ha!

 

Anyways, I think I understand your mission as this:

 

To be able pull data from a couple of nested windows families into a host window family parameter that will be able to use this pulled data to calculate a combined total (e.g. the combined vent areas, and the combined glazing areas of both nested families).

 

If correct, I think the attached Host family does just that. In the Host Family, categorized under “Other”, are several “Reporting” parameters that are associated to formula-driven parameters in 2 nested families.  Those “Reporting” parameters are used to drive 2 other parameters in the Host (grouped under “Data”) that serve to calculate the combined vent and glazing areas of both nested families.

 

Mission accomplished. No?

 

Love to hear your feedback

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report