SELECT FACE BY USER COLOR

From Macros Wiki
Jump to: navigation, search

Up

Command

SELECT_FACE_BY_USER_COLOR <solid> <red> <green> <blue> [<add to selection>]


Select an faces of a given user color

Parameters

<solid>
Solid number (0=all solids)
<red>
Red component of color (0 to 255)
<green>
Green component of color (0 to 255)
<blue>
Blue component of color (0 to 255)
<add to selection>
0=replace selected faces with the faces of this color, 1=add to selected faces

Example

SELECT_FACE_BY_USER_COLOR 7, 255, 0, 0  ! select all faces on solid 7 that are red


SELECT_FACE_BY_USER_COLOR 3, 0, 255, 0, 0  ! select all faces on solid 3 that are green
SELECT_FACE_BY_USER_COLOR 3, 0, 0, 255, 1  ! and all faces on solid 3 that are blue