Summary
The CP_XD_SEARCH command in CADPower allows you to search for and optionally replace specific values within Extended Entity Data (XDATA) attached to entities. Compatible with BricsCAD, AutoCAD, ZWCAD and ARES Commander, this tool provides a precise way to manage and edit XDATA fields in your CAD drawings.
CADPower -> Extended Entity Tools -> Extended Entity Tools -> Search and replace extended entity data

Key features include:
- XDATA Search:
- Search XDATA fields by code and position within the XDATA structure.
- Automatically detect field type (numeric or text) based on the code being searched.
- Search Scope:
- All Applications (Includes System Apps): Search through XDATA created by both system and user applications.
- User-Created Applications Only: Limit the search to XDATA created by custom or third-party applications.
- Search and Replace Options:
- Replace specific XDATA values with new ones.
- Perform case-sensitive searches to ensure precise matches.
- Embedded Search: Locate values embedded within larger XDATA strings.
- Multiple Occurrences:
- Handle XDATA structures with multiple occurrences of the same code.
- Specify which occurrence to target for search and replace.
- Flexible Search Criteria:
- For numeric fields, use relational operators (
=
,<
,>
, etc.) to define search conditions. - For text fields, perform character-based searches with optional case sensitivity.
- For numeric fields, use relational operators (
- Advanced Filtering:
- Choose to search a specific XDATA application or extend the search to all registered applications.
Applications:
- Update or replace outdated XDATA values across your drawings.
- Locate specific metadata within entities for quality control or project requirements.
- Perform targeted edits to improve the accuracy and consistency of embedded data.
Benefits:
The CP_XD_SEARCH command in CADPower streamlines the management of XDATA, ensuring clean, organized, and up-to-date metadata in your CAD drawings. Whether you’re working in BricsCAD, AutoCAD, ZWCAD or ARES Commander, this tool provides an efficient way to search, edit, and replace XDATA with precision.