<HTML>
<HEAD>
<link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY>
<TITLE>mqc_selectEntitiesWithFilters</TITLE>
<H1>mqc_selectEntitiesWithFilters</H1><H4>Synopsis</H4><PRE><FONT COLOR = blue>Defun: mqc_selectEntitiesWithFilters(
       List ( $select_by_entity_type, {ALL} ),
       List ( $select_by_layer, {"ALL"} ),
       List ( $select_by_attribute, {"ALL"} ),
       List ( $select_by_color, {ALL} ),
       List ( $select_by_line_width, {ALL} ),
       List ( $select_by_line_font, {ALL} ),
       List ( $select_by_entity_name, {"ALL"} ),
       List ( $filter_by_entity_type, {} ),
       List ( $filter_by_layer, {} ),
       List ( $filter_by_attribute, {} ),
       List ( $filter_by_color, {} ),
       List ( $filter_by_line_width, {} ),
       List ( $filter_by_line_font, {} ),
       List ( $filter_by_entity_name, {} ),
       Boolean ( $ignore_blanked?, True ),
       Boolean ( $ignore_entity_occurrence?, True ) )
@{...} List;

</FONT></PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">

<B>Description:</B>
Collect tags of entities from those passed selection options or filter options.
selection options takes precedence over filter options.
Support the following filter options:
    Entity Type/Subtype, Layer/Category, User Defined Attribute, Line Width,
    Line Font, Color, Entity_Name

<B>Input:</B>
    (List)  select_by_entity_type - All the entity types in the class selection
                                    dialog are supported here.
                                    Default is {"ALL"} means "Select all entities"
    (List)  select_by_layer       - Select entities on these layers.
                                    Must be a list of layers string or category
                                    name string, Such as: {"8,10-12", "SOLID"}
                                    Default is {"ALL"} means "Select all entities"
                                    on layers 1-256
    (List)  select_by_attribute   - A list of attribute filters.
                                    Each sublist must be {Attribute_Type,
                                    "Attribute Title", Low_Value, High_Value}
                                    Support following attribute types:
                                     Integer, Real, Time, Null, String, Reference
                                    
<B>Examples:</B>
                                    {{Integer,"Solid", 5, 10},
                                     {Real,"Density", 2.55, 8.55},
                                     {Time,"Date","21-Dec-2004","30-Dec-2004"},
                                     {Null,"Pass_Check"},
                                     {String,"Entity_Info", "a","z"},
                                     {Reference,"Ref_Line"}}
                                    Default is {ALL} means "select all entities"
    (List)  select_by_color       - A multiple list of color RGB.
                                    
<B>Examples:</B> {{255,0,0},{102,102,102}}
                                    Default is {ALL} means "select all entities"
    (List)  select_by_line_width  - Select entities of specified line width
                                    Support following line width:
                                    Normal_Line_Width, Thin_Line_Width, Thick_Line_Width
                                    
<B>Examples:</B> {Thin_Line_Width, Thick_Line_Width}
                                    Default is {ALL} means "select all entities"
    (List)  select_by_line_font   - Select curves of specified line font,
                                    Support following line font:
                                    Solid_Line_Font, Dashed_Line_Font, Phantom_Line_Font,
                                    Center_Line_Font, Dotted_Line_Font, Long_Dashed_Line_Font,
                                    Dotted_Dashed_Line_Font
                                    
<B>Examples:</B> {Solid_Line_Font, Dashed_Line_Font}
                                    Default is {ALL} means "select all entities"
    (List)  select_by_entity_name - Select entities with name
                                    
<B>Examples:</B> {"Front_Wheel", "Back_Wheel"}
                                    Default is {"ALL"} means "select all entities"
    (List)  filter_by_entity_type - See select_by_entity_type,
                                    Default is {}, which will not filter out any entity
    (List)  filter_by_layer       - See select_by_layer
                                    Default is {}: filter out no entity
    (List)  filter_by_attribute   - See select_by_attribute
                                    Default is {}: filter out no entity
    (List)  filter_by_color       - See select_by_color
                                    Default is {}: filter out no entity
    (List)  filter_by_line_width  - See select_by_line_width
                                    Default is {}: filter out no entity
    (List)  filter_by_line_font   - See select_by_line_font
                                    Default is {}: filter out no entity
    (List)  filter_by_entity_name - See select_by_entity_name
                                    Default is {}: filter out no entity
    (Boolean) ignore_blanked?     - true: filter out blanked entity.
                                    false: select entities no matter
                                           they are blanked or not.
                                    Default is true.
    (boolean)ignore_entity_occurrence?
                                  - true: filter out occurence entity,
                                    false: select entities no matter
                                           they are occurence or not.
                                    Default is true.

<B>Input Arguments:</B>
select_by_entity_type - All the entity types in the class selection dialog are supported here
select_by_layer - Select entities on these layers
select_by_attribute - A list of attribute filters
select_by_color - A multiple list of color RGB.
select_by_line_width - Select entities of specified line width
select_by_line_font - Select curves of specified line font
select_by_entity_name - Select entities with name
filter_by_entity_type - See select_by_entity_type
filter_by_layer - See select_by_layer
filter_by_attribute - See select_by_attribute
filter_by_color - See select_by_color
filter_by_line_width - See select_by_line_width
filter_by_line_font - See select_by_line_font
filter_by_entity_name - See select_by_entity_name
ignore_blanked? - filter out blanked entity or not
ignore_entity_occurrence? - filter out occurence entity

<B>Returns:</B>
List of tags of the entities that pass the filter settings.

<B>See Also:</B>
</PRE></FONT></PRE>
<p class=EndLine>&nbsp;</p>
<p class=blank>&nbsp;</p>
</BODY>
</HTML>
