FILTER SHAPES

From Macros Wiki
Jump to navigationJump to search

Command

FILTER_SHAPES <keep/remove> <type>


Filter the current list of shapes by either keeping just the given type of shape, or removing the given type of shape.

Parameters

<keep/remove>
KEEP or REMOVE
<type>
One of the following shape types

OPEN, CLOSED, DIR_CW, DIR_CCW, SHAPES, HOLES, INNERS or OUTERS

Example

FILTER_SHAPES REMOVE, OUTERS
FILTER_SHAPES KEEP, HOLES

This will result in the list of shapes containing only holes that are not outer shapes.