To Convert Blocks to Device Styles

You can convert a set of AutoCAD® blocks to device styles. The output of the conversion process is a drawing (DWG file) that contains the device styles.

Typically, you use this process in 1 of 2 contexts. In the first context, you want to create device styles using the blocks in your existing block libraries. During the process, you need to create a device conversion script (Custom Content File or CCF file) that contains the style settings to use to create the device styles.

In the second context, you have already converted a set of existing device styles to their individual components, customized the components, and now you want to create new device styles based on the customizations. In this case, you already have a conversion script, which you can customize and reuse.

Regardless of the context, you use only one script to produce one drawing containing device styles. For example, you would use one script to produce one drawing containing customized styles for receptacles.

To convert a set of blocks to device styles

  1. Click Manage tab MEP Content panel Batch Convert Devices .

  2. In the Batch Convert Devices dialog box, under Conversion Script File, for Path specify the device conversion script (CCF file) to use to convert the blocks to device styles.

    The conversion script contains the device style settings to use, as well as references to the drawings that contain the AutoCAD® blocks to use for the style views.

    If you want to… then…
    create a script click Create, and create the script using the Device Conversion Script dialog box. For more information, see Creating Device Conversion Scripts.
    use an existing script, such as a customized version of a script generated from converting existing device styles to blocks. click Browse, select the script, and click Open.
    Note: To make changes to the script prior to using it, click Edit, and modify the script using the Edit Device Script dialog box. For more information, see Modifying Device Conversion Scripts.
  3. For Device File, click Browse, and specify the drawing (DWG file) to contain the new device styles:
    If you want to… then…
    create the drawing in the Select File dialog box, specify the location for the new drawing, enter a name, and click Save.
    overwrite the contents of an existing drawing in the Select File dialog box, select the drawing, click Save, and then click Yes to confirm that the contents of the drawing can be overwritten.
  4. Click Generate.

    The software creates the device styles using the conversion script and the block definitions from the referenced drawings.

    Attention: If you need to make a few changes to the new device styles, modify the conversion script and repeat the conversion process to apply the changes. If you make the changes using the Style Manager instead, the changes are overwritten if you subsequently repeat the conversion process.
  5. If there are errors in the process, click Log to view them. Otherwise, click Close.