• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. Deutsch
    4. Español
    5. Français
    6. Italiano
    7. 日本語
    8. 한국어
AutoCAD 2025 for Mac Developer and ObjectARX
    • Customization Guide
    • DXF Reference
    • AutoLISP and DCL
    • ObjectARX
      • ObjectARX: Developer's Guide
        • ObjectARX Introductory Concepts
          • Overview of ObjectARX
          • Database Primer
          • ObjectARX Application Basics
          • Database Operations
            • Initial Database
            • Creating and Populating a Database
            • Saving a Database
            • The wblock Operation
              • Creating a New Database from an Existing Database
              • Creating a New Database with Entities
            • Inserting a Database
            • Setting Current Database Values
            • Example of Database Operations
            • Long Transactions
            • External References
            • Indexes and Filters
            • Drawing Summary Information
            • Last Saved by Autodesk Software
          • Database Objects
          • Entities
          • Container Objects
        • Basic Interaction with AutoCAD
        • Custom Objects
        • Advanced Topics
        • ObjectARX Graphics, Geometry, and Boundary Representation Libraries
      • ObjectARX: Reference Guide
      • ObjectARX: Release Notes
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    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.

    Topics in this section
    • Creating a New Database from an Existing Database
    • Creating a New Database with Entities
    Parent topic: Database Operations

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved