CADWorxP&ID tab: Modify > Block Manager
Modify toolbar: Block Manager
P&ID menu: Accessory > Database > Block Manager
Command line: PIDUPDATEDBDWG
Changes the block or layer name of a component. This command displays the Block and Layer Manager dialog box.
Component Category
Specifies a component category.
Component Type
Specifies a component type from the selected category.
Component list
Displays components in the drawing for the selected component category and component type. Select the component to move to a new block or layer.
Database view list
Displays all rows from database for the selected values of Component Category and Component Type. Select one or more rows to view the components in the drawing view. The drawing zooms to the components and red arrows appear.
New Component Category
Displays the new component category, matching the selected value of Component Category.
New Component Type
Specifies a new component type from the selected category.
New component list
Displays components for the selected component category and component type. Select one component.
New Layer Name
Specifies a new layer name. Type the needed name.
Show Selected
Highlights a component in the database view list when it is selected in the drawing view.
Change Layer
Modifies the layer name of rows selected in the database view list to the value selected for New Layer Name.
Change Block
Modifies the block name of rows selected in the database view list to the component selected in the new component list.
Update DB from DWG
Adds the block name, layer name and coordinates of each component of the current drawing into the columns of corresponding database tables.
Update DB and DWG
Adds changes made using Change Layer and Change Block to the current drawing and database.
Batch Mode Commands
The following command-line-only commands perform block and layer operations to all appropriate database tables and all drawings in the project:
PIDWRITELAYERTODB
Writes layer names of the components into the database for each drawing in the current project. The database column CW_LAYER_ is used to store the layer information.
PIDWRITEBLOCKTODB
Writes block names of the components into the database for each drawing in the current project. The database column CW_BLOCK_ is used to store the block information.
PIDWRITECOORDINATESTODB
Writes coordinates of the components into the database for each drawing in the current project. The database columns CW_RES_01_ and CW_RES_02_ are used to store the coordinate information.
PIDUPDATELAYERFROMDB
Updates all drawing files in the current project folder with layer names from the database if they are different.
PIDUPDATEBLOCKFROMDB
Updates all drawing files in the current project folder with block names from the database if they are different.