<HTML>
<HEAD>
<link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY>
<TITLE>mqc_parseLayerSpecification</TITLE>
<H1>mqc_parseLayerSpecification</H1><H4>Synopsis</H4><PRE><FONT COLOR = blue>Defun: mqc_parseLayerSpecification(
       List, $layer_category )
@{...} List;

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

<B>Description:</B>
Get layer no. list from layer string (e.g. "1-5;8;21-18") or category name
    (e.g. "SOLID")

<B>Input:</B>
    (List)  layer_category  -  Layer_category's item is a special format quoted
                   string to specify the NX layer(s) on which the NX entities
                   are placed.
               The layer specification string contains any combination of the
                   layer numbers, layer ranges, and/or layer category names.
               Layer numbers, such as, 1,3,255
               Layer ranges, such as 1-30, 200-256
               Layer categories, such as model, solid and etc
               If more than one item is specified, they must be separated by
                   either a comma, or a semi-colon.
               For example,  "1,3,20-30;SOLID", "1", "FACET, DATUM" are
                   correct layer specifications.

<B>Input Arguments:</B>
layer_category
                         Layer_category's item is a special format quoted string to specify the NX layer(s) on which the NX entities are placed.

<B>Returns:</B>
A list of layer no.
For example:
{1,2,3,5,12,15,16,17,19,20,25,26}.
Note:
    1. Each item of layer_category must be a string.
    2. If there is a category named "5", then this routine will get this
       category's layers, instead collecting layer 5.
    3. The user can use ;or, as seperator character in each string of
       layer_category

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