Sync DB - CADWorx - Help

CADWorx Structure

Language
English
Product
CADWorx
Subproduct
Structure
Search by Category
Help
CADWorx Version
22

Mouse Icon CADWorx Structure tab: Tools panel > Sync DB Sync DB Structure

Keyboard Command line: STRSYNCDB

Checks all components in the drawing and updates them according to the current value in the database. This command does not write new records to the database for new components that are in the model but are not in the database. You need to use Live Database before using this command.

When a drawing has a live database attached, you can open the database and edit the STR tables in the database file. Changing any other column value does not have any effect on the drawing.

The external database does not update newly created custom data if the database itself is opened in a separate session.

After data is changed and you run Sync DB Sync DB Structure, the data is updated. The Sync DB Sync DB Structure command now works in conjunction with the SyncOnStartUp variable in Configuration Settings. Setting the SyncOnStartUp variable to Synchronize With Changes Review displays the Synchronize Component dialog box that enables you to review the changes made to a database and decide which ones to accept or reject. These changes also include the custom data fields created in the Specification Editor.

Synchronize with a Database

  1. On the Tools panel, click Sync DB Sync DB Structure.

    SHARED Tip You can also type STRSYNCDB in the command line.

  2. Click Yes to confirm that you want to synchronize the drawing with the database.

    OR

    The Synchronize Component dialog box displays.

    Review the information and accept or reject the changes.

    If you reject the changes, the changes you made in the database file are reset to the previous information.