The container for all block definitions. Think of this as the "dictionary" of blocks available in the drawing.

If your code is running from a modeless dialog, always lock the document before modifying the database. Conclusion

Using the Transaction object ensures that your drawing database remains stable and allows for easy rollbacks if an error occurs.

Once a definition exists, you can "insert" it into the Model Space by creating a BlockReference . Locate the BlockTableRecord ID.

Part of the BlockTableRecord . Defines the tag, prompt, and default value.

Mastering AutoCAD Block .NET: A Comprehensive Guide to Automating Blocks

Attached to the BlockReference . This stores the specific value for that instance of the block.

Dynamic blocks add complexity because they use ( *U... ) to represent different states. To manipulate dynamic properties (like "Visibility" or "Length"):