개정판 5b85a67f
Exclude OID Text
Change-Id: Ida19216a55402a69292d8383ca0d6976881f5e30
DTI_PID/OdReadExMgd/OdReadExMgd.cs | ||
---|---|---|
499 | 499 |
{ |
500 | 500 |
if (obj is DBText) |
501 | 501 |
{ |
502 |
dumpTextData(obj as DBText, indent, BlockReferenceNode); |
|
502 |
DBText text = obj as DBText; |
|
503 |
if (!(text.TextString.Length == 36 && text.TextString.Replace("-","").Length == 32)) |
|
504 |
{ |
|
505 |
dumpTextData(text, indent, BlockReferenceNode); |
|
506 |
} |
|
503 | 507 |
} |
504 | 508 |
else if (obj is MText) |
505 | 509 |
{ |
506 | 510 |
MText mtext = obj as MText; |
507 |
|
|
508 |
DBObjectCollection objs = new DBObjectCollection(); |
|
509 |
mtext.Explode(objs); |
|
510 |
foreach (var item in objs) |
|
511 |
if (pBlkRef.BlockId == mtext.BlockId) |
|
511 | 512 |
{ |
512 |
dumpTextData(item as DBText, indent, BlockReferenceNode); |
|
513 |
DBObjectCollection objs = new DBObjectCollection(); |
|
514 |
mtext.Explode(objs); |
|
515 |
foreach (var item in objs) |
|
516 |
{ |
|
517 |
DBText subText = item as DBText; |
|
518 |
if (!(subText.TextString.Length == 36 && subText.TextString.Replace("-", "").Length == 32)) |
|
519 |
{ |
|
520 |
dumpTextData(subText, indent, BlockReferenceNode); |
|
521 |
} |
|
522 |
} |
|
513 | 523 |
} |
514 | 524 |
} |
515 | 525 |
} |
내보내기 Unified diff