Exemple #1
0
        private static DwgBlockHeader GetBlockRecordWithName(string name, DwgLayer layer)
        {
            var block = new DwgBlock(name)
            {
                Layer = layer
            };
            var endBlock = new DwgEndBlock()
            {
                Layer = layer
            };

            return(new DwgBlockHeader(name, block, endBlock));
        }
Exemple #2
0
 internal static DwgBlockHeader GetModelSpaceBlockRecord(DwgLayer layer)
 {
     return(GetBlockRecordWithName(ModelSpaceBlockName, layer));
 }