14
15
char label[DXF_BUF_SIZE]; /* read in from dxf file */
17
19
strcpy(layer, UNIDENTIFIED_LAYER);
20
22
/* read in lines and process information until a 0 is read in */
21
23
while ((code = dxf_get_code(dxf)) != 0) {
26
28
case 1: /* label value */
27
29
label_len = strlen(dxf_buf);
31
36
if (!layer_flag && *dxf_buf) {
35
fprintf(stdout, _("Layer %d: %s\n"), num_layers,
41
43
* (flag_invert == 0 && is_layer_in_list == 0) ||
42
44
* (flag_invert == 1 && is_layer_in_list == 1)