I know this topic has been beaten to death but I haven't seen a great solution. We are calculating room occupancy in a room schedule by dividing area by the room's occupancy factor. We also want this calculated value to appear in the room tag. I'm not aware that you can create a shared parameter from a calculated parameter so my my current solution (or workaround) is to just have the tag re-calc the occupancy within itself. Doesn't seem like the most elegant solution. How are other people doing this? Is there a plugin we can buy that makes this easy?
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Gelöst von skyeg321. Gehe zur Lösung
Yes you can add a label in the tag, load the shared parameter for the occupant load factor, add a calculated value parameter to the label and use the formula: roundup (Area/Occupant load factor).
I use an area shared parameter for occupant load factor. The values are driven by a key schedule in the project based on occupancy groups.
Your image showing occupant load factor in project and occupancy factor in family. It doesn't work. You have to use the same shared parameter in family and project.
@mhiserZFHXS wrote:What's wrong with having the tag calculate the value?
That's what I was wondering. I guess it ain't "elegant". Works fine for us though. "Work fine" is our bar. Too low?
@ToanDN It is the same shared parameter in the tag and in the project. (If it wasn't before it is now) Load factor is an area and I know it works in the tag because I can see it reporting the load factor. What I don't understand is why its giving me this crazy number for the calculated occupant load. Its just an area divided by an area. My project units are set to zero decimal places for area. Very much appreciate your help on this.
@skyeg321 wrote:
@ToanDN It is the same shared parameter in the tag and in the project. (If it wasn't before it is now) Load factor is an area and I know it works in the tag because I can see it reporting the load factor. What I don't understand is why its giving me this crazy number for the calculated occupant load. Its just an area divided by an area. My project units are set to zero decimal places for area. Very much appreciate your help on this.
Try Number with roundup for the Occupant Load, not Integer.
Hi Skye,
Good day to you! Thank you for submitting your question in our discussion forums. Have you had a chance to look over the suggestions provided by our experts?
Please let me know if you require further assistance.
If the suggestions helped you, please hit the "Accept Solution" button, as it helps make the solution easier to find for others who might have the same issue. Knowing which topics are solved or not can also help our many users find the questions that still need to be answered. It’s also a great way to say thank you and give recognition to whoever helped you.
Thanks for the reminder @lim.wendy. I could never get the formula to work when the shared parameter for occupancy factor was set to area. So I ended up making that an integer and using the following equation for my calculated occupancy both in the schedule and in the tag.
roundup((Area / 1 SF) / Occupancy Factor Integer)
To cap it off:
Calculated Occupancy = Number parameter
- Option 1: Occupant Load factor = Area parameter; formula for Calculated Occupancy = roundup (Area / Occupant Load factor)
- Option 2: Occupant Load factor = Integer or Number parameter; formula for Calculated Occupancy = roundup ((Area/1)/Occupant Load factor)
I try to put this formula, and I get an error saying "Improper use of Boolean expressions".
I'm reviving this because I am having an issue getting this to work.
I have a shared parameter for Occ Load Factor. It's a Type parameter in Number format.
In the tag family, I have a calculated value for Occupants using the formula: ROUNDUP ((Area / 1 SF) / Occ Load Factor).
In the tag family, the formula doesn't seem to have any errors. But when inserted into the project, the Occupants value returns a "?" in the tag. Area shows correctly, but the calculated value doesn't.
Any idea what I'm doing wrong? File attached. Thanks.
The OCC Load Factor must be a shared parameter, loaded in the tag family and in the project, under Rooms category.
Hi, and thanks for the quick response.
It is a shared parameter already, which I put under the Life Safety category.
Does it specifically have to be under Rooms?
@Duke_W wrote:
Hi, and thanks for the quick response.
It is a shared parameter already, which I put under the Life Safety category.
Does it specifically have to be under Rooms?
There is no such thing as Life Safety category in Revit project. Can you share the screenshot of the parameter in the project, similar to below?
Here is the shared parameter:
Here is the parameter in the tag family:
And the formula:
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.