프로젝트

일반

사용자정보

개정판 57fef04d

ID57fef04dd3c109512a489a8a7e8e744f9dd8dbe4
상위 4e5f76b3
하위 6d7fc0ea, 81c6b53c

조봉훈이(가) 약 2년 전에 추가함

Change non-plot layer

Change-Id: I28bc226d1f2834e8d241c8310c3487a7249b7363

차이점 보기:

DTI_PID/OdReadExMgd/OdReadExMgd.cs
3419 3419
            
3420 3420
            using (Transaction tr = pDb.TransactionManager.StartTransaction())
3421 3421
            {
3422
                LayerTable lt = tr.GetObject(pDb.LayerTableId, OpenMode.ForRead) as LayerTable;
3423
                string layerName = "DWG-FORM";
3424
                if (!lt.Has(layerName))
3425
                {
3426
                    layerName = "0";
3427
                }
3422 3428
                BlockTable bt = (BlockTable)tr.GetObject(pDb.BlockTableId, OpenMode.ForRead);
3423 3429
                BlockTableRecord btrModelSpace = (BlockTableRecord)tr.GetObject(bt[BlockTableRecord.ModelSpace], OpenMode.ForRead);
3424 3430

  
......
3430 3436
                    ent.ColorIndex = 7;
3431 3437
                    if (exceptLayerList.Contains(ent.Layer))
3432 3438
                    {
3433
                        ent.Layer = "0";
3439
                        ent.Layer = layerName;
3434 3440
                    }
3435 3441

  
3436 3442
                    if (ent is BlockReference)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)