Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

CADPower

Attach Object Data: CP_ATTACHDATA – CADPower Command

Summary

The CP_ATTACHDATA command in CADPower enables users to attach custom object data directly to entities within a CAD drawing. This data is stored using Extended Entity Data (XDATA) and remains embedded in the drawing, eliminating the need for external database connections. The command is fully compatible with major CAD platforms like BricsCAD, AutoCAD, ZWCAD, and ARES Commander, ensuring efficient, data-driven design workflows.

CADPower -> CADPower Object Table Data Tools -> CADPower Object Table Data Tools -> Attach Object Data

Key features include:

  • Attach Object Data Effortlessly:
    Add structured information (like material properties, cost details, or geographical attributes) to drawing entities with minimal effort.
  • XDATA-Based Data Storage:
    Object data is stored directly within the drawing using CAD-native XDATA. This ensures data integrity without relying on external databases.
  • Customizable Data Fields:
    Attach various data types (e.g., String, Real, Integer, or Link) to entities. Define fields using the CP_DATAMAN command and populate them easily using CP_ATTACHDATA.
  • Flexible Field Management:
    Add or remove fields, set default values, and update existing records without altering the geometry of the associated objects.
  • External File Attachment:
    Attach references to external files (e.g., PDFs, images, or spreadsheets) to CAD objects. The associated files can be opened directly via the Show button.
  • Interactive User Interface:
    User-friendly dialogs allow for easy data input and modification without needing to edit code or databases manually.
  • Cross-Platform Functionality:
    Seamlessly integrates with BricsCAD, AutoCAD, ZWCAD, and ARES Commander, maintaining consistent performance across different design environments.
  • Supports Thematic Mapping:
    Attached object data can be used later for thematic analysis, labeling, or extraction into reports.

Practical Applications:

  • GIS and Mapping: Attach geographic coordinates, elevations, and classifications to site plans.
  • Building Information Modeling (BIM): Add material properties, supplier information, and construction costs.
  • Mechanical Design: Associate part numbers, specifications, and supplier data directly with components.
  • Asset Management: Link equipment details and maintenance records to facility drawings.

Example Workflow:

  1. Create Data Structure: Use CP_DATAMAN to define a database structure.
  2. Attach Data: Run CP_ATTACHDATA to apply this structure to selected entities.
  3. Retrieve Data: Use other CADPower tools like CP_EXTRACTDATA to generate reports.
  4. Visualize or Share: Share drawings with embedded data or link files for documentation purposes.

The CP_ATTACHDATA command in CADPower bridges the gap between CAD geometry and relevant object information, enhancing drawing intelligence in BricsCAD, AutoCAD, ZWCAD, and ARES Commander. It is an essential tool for professionals seeking better data organization, increased productivity, and streamlined design documentation.