Idea

Maryam H2 avatar image
0 Likes"
Maryam H2 suggested Jason Lightfoot commented

Counter in objects group and time tables

I found out it would be helpful and faster to have a count of selected items, (similar to what we see in Excel as count of selected cells feature) for Timetables and Object Groups, as I've shown below. When there is so many members in groups or timetables and just want to do a quick check, having this count would make things faster and less likely to mistake the count. Not sure though if anyone else knows a quicker way to do the counting of members.


1711655900445.png

timetablesobjectcounter
1711655900445.png (260.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

2 Comments

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie commented

In a script console you can get the number of objects in a group with

Group("Group1").length
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot commented

For the group you can use a script window to evaluate the expression:

Group("CleanASCMFG_Operators2").length

for the timetable its a little more complex:

node(">variables/members",Tools.get("TimeTable","ShiftAB_Combined_ALL")).subnodes.length

You may be able to better manage the members through the use of parameters (that change the number of members) or templates (that ensure instances are also added to the group/timetable) removing the need to do what seems to be a check of a manual member adding process.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Maryam H2 avatar image Maryam H2 commented ·

great, it's much faster - thanks!

I saw models using parameter table to create members, one problem I had with that was the placement of operators in the floor plan. can we designate the reset location of operators in the model if using parametrs table (in a room or zone)? and also keeping a pointer label on each operators uniquely so they walk to a specific spot in a room after gowning process - i didn't try how i can do that in process flow yet.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Maryam H2 commented ·
You could store the spawn and room positions (array of 3 values) in a array or table and use that to look up locations to position when created to add labels for later referral.
0 Likes 0 ·

Write a Comment

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas