I am looking for a way to chain multiple commands together automatically from one click of a button.
My current workflow involves clicking a specific point from an exploded pointcloud - using select color - grouping all those points - naming the group based on its grey scale value (0-255) - then hiding the group and repeating until all are grouped.
the three commands are -
Select by colour
Set group name
I need to do this roughly 150 times per file, which means upwards of 700 clicks which takes approx 30 minutes, I would like to reduce this time.
Is there a way, either on rhino or using Python, to create a new button (as opposed to using runpython script command as this may involve an equal amount of clicks) to automatically run these three command just from one click?
the other time consuming/click consuming process is -
To find the color value for each group I need to click on the display color, then ‘other’ and type this in after using ‘setgroupname’ command, if there was a way to automatically extract the color value and type this into the ‘setgroupname’ command, that would speed things up even more, but for now I would be grateful to have the three commands run consecutively with less clicking!
Any ideas rhino experts?