Count a visibility (yes/no) parameter

Count a visibility (yes/no) parameter

oliv420v
Explorer Explorer
551 Views
5 Replies
Message 1 of 6

Count a visibility (yes/no) parameter

oliv420v
Explorer
Explorer

Hello

I working on a Family. Its a desk with 4 different sub families that works fine. Now i have made a Yes/no visibility parameter to show if the desk have a chair or not, the visiblity also work fine.

Now i need to create a schudule to count how many sub families that have chairs, how can i count my visibility parameter?

0 Likes
Accepted solutions (1)
552 Views
5 Replies
Replies (5)
Message 2 of 6

ToanDN
Consultant
Consultant

Change the visibility parameter to shared parameter so you can add it to the schedule.  Sort by it and add footer.  Add Count to the schedule and you can have the Count for the visibility parameter.

Message 3 of 6

oliv420v
Explorer
Explorer

My be im wrong. But that will change all the deck then i change yes/no. It have to be inviduel for any object. 

We have 1600 deck in total, just to keep it simple we have 800 with screen and computers and 800 empty. Now i have to make any inviduel deck to have a chair or not. So maybe i have 50 deck with screens and no chair and 100 empty desk with a chair.

0 Likes
Message 4 of 6

ToanDN
Consultant
Consultant

No I did not mention anything about changing the yes/no parameter value that may affect the quantity. The schedule is to count them, not change them.

 

Another way is use shared nested families for chair and screen in the desk family then you can schedule and count them directly.

 

If you are still unclear, share the model here.

0 Likes
Message 5 of 6

oliv420v
Explorer
Explorer

Hello

 

I still dont get how i can count it. I have attach my desk family. Hope you can help me

0 Likes
Message 6 of 6

ToanDN
Consultant
Consultant
Accepted solution

You can change Stol to a shared parameter then you can add it to na schedule:

 

ToanDN_0-1667171573947.png

 

ToanDN_1-1667171590482.png

 

To keep the Stol value in the project before changing the parameter, make a group of all the furniture with Stol = No, reload the family with the shared parameter, then edit the group and change Stol to No.  When done you can ungroup.

0 Likes