Summary
The CP_QUERYDATA command in CADPower is a versatile tool for retrieving and displaying object-specific data stored as XDATA within CAD drawings. This command allows users to query object data interactively and view it in a structured format, making it easier to inspect and analyze embedded information. It is fully compatible with popular CAD platforms like BricsCAD, AutoCAD, ZWCAD, and ARES Commander, ensuring efficient data management across different CAD environments.
CADPower -> CADPower Object Table Data Tools -> CADPower Object Table Data Tools -> Query Object Data
Key features include:
- Interactive Object Data Querying:
Select objects directly from the drawing to retrieve and view their attached object data. - Support for Multiple Data Types:
Query fields with String, Real, Integer, and Link data types, ensuring compatibility with various project requirements. - Clear and Structured Display:
Presents queried data in an easy-to-read dialog box, simplifying the review process for complex datasets. - On-Screen Data Display:
Optionally display object data as temporary or permanent text annotations alongside the objects. - Field-Specific Queries:
Focus on specific fields or query all data fields attached to selected entities. - Cross-Platform Compatibility:
Seamlessly works across BricsCAD, AutoCAD, ZWCAD, and ARES Commander, ensuring consistent performance. - Linked File Access:
If fields include Link data types, such as file paths, the command provides options to open the linked files directly.
Practical Applications:
- GIS and Surveying: Query geographic coordinates, elevation details, and land-use classifications.
- BIM Models: Retrieve material properties, supplier names, and structural specifications.
- Mechanical Designs: Inspect object-specific parameters like weights, materials, and part numbers.
- Infrastructure Projects: Access utility details like pipe sizes, cable specifications, and stationing information.
Step-by-Step Workflow:
- Select Objects:
Choose one or more objects to query their data. - Specify Fields:
Select the fields you want to display or view all available fields. - View Data:
The queried data appears in a structured dialog box for easy review. - Display as Labels (Optional):
Optionally display the queried information as text annotations in the drawing. - Access Linked Files (If Applicable):
If the data includes file links, open the associated files with a single click.
Example Use Case:
A site engineer working on a utility layout plan uses CP_ATTACHDATA to assign pipe specifications (e.g., diameter, material, and flow capacity) to polyline entities representing underground utilities. Later, the engineer employs CP_QUERYDATA to review these specifications on-site without manually inspecting object properties through native CAD tools.
The CP_QUERYDATA command in CADPower is an essential tool for accessing and understanding object-specific information directly within BricsCAD, AutoCAD, ZWCAD, and ARES Commander, ensuring clarity, accuracy, and efficiency in data-driven CAD workflows.