how to add new block using draftsight api?

how to add new block with attribute value include to a drawing with mouse specifying the location of the block to be places.

thanks in advance