The wblock Operation

The AcDbDatabase class contains an overloaded wblock() function with four forms that correspond to the options of the AutoCAD WBLOCK command. These functions can be used to create a new database from an existing database or to create a new database containing specified entities from an input database.