In the AutoCAD environment, the system has automatically generated a default database, including 9 symbol tables and a famous object dictionary. There is already a zero-layer record in the layer table. The block table has two records: "model_space" and "paper_space.
In the AutoCAD database, an object is actually a record in the database, and its storage structure is in the form of a linked list. The block table contains pointers pointing to the linked list of the model space and the paper space respectively, and the linked list pointer pointing to the storage object in the linked list of the model space. The table storing the object is called a block table record. Therefore, the essence of generating an object is to add a record to the block Table Record of the AutoCAD database. Application in ARXProgram.
Generally, the database used to create database objects is the default database automatically generated when entering the AutoCAD environment. In fact, you can also create a database using the acdbdatabase class as needed. Because the new database is not the current database, the entities added to the database will not be displayed on the current screen.