Inheritance: Entity
Ejemplo n.º 1
0
 protected override Property ReadSonClass(Property prop)
 {
     switch (prop.Value)
     {
         case "BLOCK":
             var block = new BLOCK(DXFData, prop);
             BLOCKList.Add(block);
             return block.ReadProperties();
         case "ENDBLK":
             var endblk = new ENDBLK(DXFData, prop);
             ENDBLKList.Add(endblk);
             return endblk.ReadProperties();
         default:
             return base.ReadSonClass(prop);
     }
 }
Ejemplo n.º 2
0
        protected override Property ReadSonClass(Property prop)
        {
            switch (prop.Value)
            {
            case "BLOCK":
                var block = new BLOCK(DXFData, prop);
                BLOCKList.Add(block);
                return(block.ReadProperties());

            case "ENDBLK":
                var endblk = new ENDBLK(DXFData, prop);
                ENDBLKList.Add(endblk);
                return(endblk.ReadProperties());

            default:
                return(base.ReadSonClass(prop));
            }
        }