コード例 #1
0
 public AcBlockRef(BlockReference entity, AcTransaction trans)
     : base(entity, trans)
 {
     this.Name          = entity.Name;
     this.BlockDef      = trans.GetBlockDef(this.Name);
     this.HasAttributes = this.BlockDef.HasAttributes;
     _position          = entity.Position;
     _scale             = entity.ScaleFactors.X;
 }