_SelColor is inconsistent with all the other _SelXXX commands. You can chain sel commands to add different things like the left macro that gives me all the open poly/srfs.
But the right macro will not give me all the curves and all the red things. You can see the command complete before the RBG option can be specified. Instead, it defaults to returning anything whose color matches the output of _SelCrv.
And there’s no way around it. This macro won’t work because _SelColor is clearing the previous selection set.
SelColor would feel more consistent if it didn’t clear previous and had 4 options:
- MatchSelection (default -> new option to match anything in the current selection set)
- MatchObject (-> new option allows you to sel one obj and get all objs of matching color)
- Color (current option -> now accessible with prev selection)
- RGB (current option -> now accessible with prev selection)