Occupancy calc shown in schedule and in tag

Occupancy calc shown in schedule and in tag

skyeg321
Collaborator Collaborator
7,300 Views
34 Replies
Message 1 of 35

Occupancy calc shown in schedule and in tag

skyeg321
Collaborator
Collaborator

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? 

 

Life Safety Fun.PNG

0 Likes
Accepted solutions (2)
7,301 Views
34 Replies
Replies (34)
Message 21 of 35

Duke_W
Enthusiast
Enthusiast

I tried to put the Occupant Loaf Factor parameter in the Rooms category, but I can't do that if it is a Type parameter.  The Rooms category only appears if it is an Instance parameter.

 

I wanted to make types in the tag family corresponding to load factor values, ie Business type = 150, Residential type = 200, etc.  But that isn't possible with an instance parameter, obviously.

0 Likes
Message 22 of 35

Duke_W
Enthusiast
Enthusiast

The project is reading the Shared Parameters file.  That shot was taken from within the project.

 

Here it is in the project:

Duke_W_0-1715718066101.png

 

0 Likes
Message 23 of 35

mhiserZFHXS
Advisor
Advisor

It has to be an instance parameter.

 

Apply your occupancy type and load parameters to rooms as well, and have the tags read them. You can streamline this process by using a Key Schedule to assign loads to certain occupancy types.

0 Likes
Message 24 of 35

ToanDN
Consultant
Consultant

@Duke_W wrote:

The project is reading the Shared Parameters file.  That shot was taken from within the project.

 

Here it is in the project:

 

 


It must be instance parameter assign to Rooms category (tick the box).  Use a key schedule to assign load to the parameters for consistency.  See example below:

 

ToanDN_0-1715718226315.png

 

 

 

0 Likes
Message 25 of 35

Duke_W
Enthusiast
Enthusiast

I recreated the Occ Load Factor as an instance parameter in both the project and the tag family:

Project:

Duke_W_1-1715718967585.png

 

Family:

Duke_W_0-1715718789791.png

 

I will note that when you click on an instance of the tag in the project, there is no place to enter an Occ Load Factor value:

 

Duke_W_2-1715719067557.png

I'm still getting something wrong here, because this is what I get:

 

Duke_W_0-1715719278698.png

 

I'd like to leave aside the key schedule part for now, unless it is required.  I am on a time budget.

 

Thanks for everyone's help.

0 Likes
Message 26 of 35

ToanDN
Consultant
Consultant

Just share your project here I fix it for you.

Message 27 of 35

mhiserZFHXS
Advisor
Advisor

The rooms have the parameter. Select the room, put in your value, and it will display on the tag. Or you could click on the question mark on the tag, and it will let you type in a value there (assuming you've done everything correctly). But again, it adds that info to the room. Its not stored in the tag.

 

Tags are meant to display information from the tagged element. This is fundamental to their function. Works the same for doors, equipment, etc. You can add labels with formulas to the tag, but it has to pull info from its host for the variables in the formula.

0 Likes
Message 28 of 35

barthbradley
Consultant
Consultant

Your problem is that you are using the wrong "Occ Load Factor" Parameter. You have 2 types (in 2 different SP Text Files) - one is an Integer Parameter, and one is a Number Parameter. The Calculated Parameter Formula uses the Number Parameter. That's the one you need to pull into your Project as a Room Instance Parameter.  

 

Occ1.pngOcc2.png

0 Likes
Message 29 of 35

jmollyhorn
Participant
Participant

I want to add Pipe Size + Insulation Thickness*2 to get the O.D.  for my Pipe Insulation Tag, but no can't do that..  I get an error improper use of Boolean..

Funny that I can put 1+1,1/1, 1*0  in the formula , yet I can't add two parameters inside a label. That's stupid!

Screenshot 2025-02-24 162402.png

0 Likes
Message 30 of 35

jmollyhorn
Participant
Participant

This is so stupid..  Who is in charge of fixing things at Autodesk?

Last time I checked Pipe Size should be unit of Measure/value,, NOT TEXT... ughhh!!

Screenshot 2025-02-24 164529.png

0 Likes
Message 31 of 35

ToanDN
Consultant
Consultant

Because Pipe Size is not a Length parameter, but a text parameter.  You need to use Diameter parameter for the formula instead.

0 Likes
Message 32 of 35

jmollyhorn
Participant
Participant

If you look at the list of choices Diameter is not one of them. Yeah so SOL.  lol

0 Likes
Message 33 of 35

ToanDN
Consultant
Consultant

@jmollyhorn wrote:

If you look at the list of choices Diameter is not one of them. Yeah so SOL.  lol


Really

 

ToanDN_1-1740435114766.png

 

 

0 Likes
Message 34 of 35

jmollyhorn
Participant
Participant

Pipe Insulation Tag  The Pipe tag would work, but I already have 4 different pipe tag families loaded with several types, So I was trying to avoid adding to the chaos.

Screenshot 2025-02-24 174608.png

Screenshot 2025-02-24 174150.png

 

0 Likes
Message 35 of 35

Tristan_Harwood
Community Visitor
Community Visitor

I had the same thing happen.
I had to swap the Type to Number, and then apply a "Roundup" prefix on the formula. It behaved itself after that.
If you still get a pile of decimals, you can crop it off with the formatting - general in the label type properties.

For some strange coding reason, Integer as a Variable Type throws it to some very strange negative number value.

0 Likes