Global Parameters Question

Global Parameters Question

AidanHawkins
Advocate Advocate
1,075 Views
9 Replies
Message 1 of 10

Global Parameters Question

AidanHawkins
Advocate
Advocate

I am working on an office building

Each room I have created is an office

I have text parameters in identity data that show the names of different occupants in each room. 

I have created parameters named occupant 1, occupant 2, occupant 3...

Is there a way I can count how many people are in the building using a global parametre, that recognises each time I fill in an occupant it will give me a total count of the people in the building

 

Regards

 

Aidan

 

0 Likes
1,076 Views
9 Replies
Replies (9)
Message 2 of 10

hmunsell
Mentor
Mentor

i would use a Shared Parameter and then use the Has a Value filter. Then you can Calculate Totals. in this example i used the Type Mark, but you should be able to use it on any parameter.

hmunsell_0-1661786003285.png

 

Howard Munsell
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.



EESignature


0 Likes
Message 3 of 10

ToanDN
Consultant
Consultant

Edit:

if you want to only count the rooms with Occupant value, then use a Filter: [your parameter name]  [is greater than] [blank].  See example below:

 

ToanDN_2-1661786706328.png

 

 

ToanDN_1-1661786669580.png

 

 

 

You can count the number of occupants but not by Global Parameters.  Create a Room schedule, add a number or an integer parameter to the schedule, for mat it to calculate totals, enter the value for each room and you will get the total occupants.  You can also create a calculated value parameter to get the occupant = rom area / occupant load factor.

 

But you definitely do not need a Global parameter here.

 

 

0 Likes
Message 4 of 10

barthbradley
Consultant
Consultant

@AidanHawkins wrote:

 

I have text parameters in identity data that show the names of different occupants in each room. 

I have created parameters named occupant 1, occupant 2, occupant 3...

Is there a way I can count how many people are in the building using a global parametre, that recognises each time I fill in an occupant it will give me a total count of the people in the building

 

 


 

Not with a Text Parameter.  

0 Likes
Message 5 of 10

AidanHawkins
Advocate
Advocate

okay so I will just create another project parametre and enter the total number of occupants in each room manually and then caluculate totals to get the total amount in each building?

 

 

0 Likes
Message 6 of 10

barthbradley
Consultant
Consultant

That'll work. 

0 Likes
Message 7 of 10

ToanDN
Consultant
Consultant

@AidanHawkins wrote:

okay so I will just create another project parametre and enter the total number of occupants in each room manually and then caluculate totals to get the total amount in each building?

 

 


Yes you can but you can also carry on with your original approach.  See my edited post.

0 Likes
Message 8 of 10

AidanHawkins
Advocate
Advocate

Morning Guys

Here is the example from my project

Please look at Level 2

How can I total the amount of occupants using the count parameter?

Thanks

Example 1.JPG

0 Likes
Message 9 of 10

ToanDN
Consultant
Consultant

Did you read my post?

0 Likes
Message 10 of 10

AidanHawkins
Advocate
Advocate

Yes but I have 2 occupant parameters

How do I add the counts together? is it possible? do I need a formula?

Thanks

Aidan

 

0 Likes