How to.. > Work with 3D and Part Libraries > Synchronize library elements
Synchronize library elements
When you save a model, Creo Elements/Direct Model Manager replaces any library parts that were created in offline mode or loaded from the file system with the same parts stored in the database. This process breaks any cross-part references, including Creo Elements/Direct Annotation dimension, 3D Doc dimensions, parametric relations, and assembly relations.
To avoid breaking cross-part references, synchronize library elements before creating cross-part references.
To synchronize library elements in Creo Elements/Direct Modeling and Creo Elements/Direct Model Manager:
In Creo Elements/Direct Modeling, click File > Model Manager > Sync Library Elements. The synchronization process replaces the library parts in Creo Elements/Direct Modeling with the Creo Elements/Direct Model Manager database library parts. It also stores the library parts that do not exist in the Creo Elements/Direct Model Manager database.
To control auto synchronization:
Library elements are automatically synchronized when you save a model. You can change this behavior by customizing the Lisp functions in Creo Elements/Direct Modeling. See the Creo Elements/Direct Modeling customization documentation for information on customizing Lisp functions.
To turn auto synchronization of library elements off:
(setf ModelManager::*auto-synchronize-library-elements* nil)
To turn auto synchronization of library elements on:
(setf ModelManager::*auto-synchronize-library-elements* t)
* 
A duplicate library part created in Creo Elements/Direct Modeling, which has the same name but a different sysid from the existing library part in the Creo Elements/Direct Model Manager database, can cause a sysid conflict in Creo Elements/Direct Model Manager. To avoid this, during the synchronization process, Creo Elements/Direct Model Manager compares the names of the library parts which were created in Creo Elements/Direct Modeling with the names of the Creo Elements/Direct Model Manager database library parts and the new library parts replace the ones stored in the database.
Was this helpful?