개정판 5355aa15
Explode blocks starting with "PIPING"
Change-Id: Ie88315fda0ca5498994f677dcc35aa4f22b3ab28
DTI_PID/OdReadExMgd/OdReadExMgd.cs | ||
---|---|---|
3441 | 3441 |
if (pEnt.GetRXClass().Name != "AcDbBlockReference") continue; |
3442 | 3442 |
BlockReference blockRef = (BlockReference)pEnt; |
3443 | 3443 |
|
3444 |
if (blockRef.Name.ToUpper().StartsWith("PIPING")) |
|
3445 |
{ |
|
3446 |
oidSet.Add(entid); |
|
3447 |
continue; |
|
3448 |
} |
|
3449 |
|
|
3444 | 3450 |
using (BlockTableRecord pBtr = (BlockTableRecord)blockRef.BlockTableRecord.Open(OpenMode.ForRead, false, true)) |
3445 | 3451 |
{ |
3446 | 3452 |
bool isNestedBlock = false; |
내보내기 Unified diff