Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki Class Editor Schema Differencing and Supplementing
    • Sign In
    • -OpenPlant | AutoPLANT Wiki
      • -OpenPlant
        • +CONNECT Services - OpenPlant
        • +Example Configuration - CONNECT Edition
        • +Installations - OpenPlant CONNECT Edition Applications
        • +OpenPlant Download Links & Videos
        • OpenPlant Product Compatibility
        • +OpenPlant Modeler CONNECT
        • +OpenPlant PID CONNECT
        • +OpenPlant Isometrics Manager CONNECT
        • +OpenPlant Orthographics Manager CONNECT
        • +OpenPlant Support Engineering CONNECT
        • +OpenPlant Project Administrator CONNECT
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • +OpenPlant Modeler v8i
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • -OpenPlant PID v8i
          • +Application Solutions - OPPID
          • +Class Editor - OpenPlant PID
          • +Customization - OpenPlant PID
          • +Database - Plant Project
          • How to Cascade Associated Item's Value from Associated Class to Fitting Class in OpenPlant PID V8i
          • How to cascade Associated Items value from Pipeline to Reducer using Notifier in OpenPlant PID V8i
          • How to Change the Existing Cell Component Graphics in OpenPlant PID V8i
          • How to Fix Modified Tag Value Upon Second Sync in OpenPlant PID V8i
          • How to Hide the Actuator Prompt for Control Valve in OpenPlant PID V8i
          • How to include custom schema in OpenPlant PID under component manager
          • How to Point Custom WorkSpace Location in OpenPlant PID SS10
          • How to set the Fail Mode List for control valve Placement in OpenPlant PID V8i
          • +Properties - OpenPlant PID
          • +Release Notes - OpenPlant PID
          • +Training - OpenPlant PID
          • -White Papers/Guidelines - OPPID
            • Class Editor Schema Differencing and Supplementing
            • +OPPID - Assembly DGN folder locations
            • OPPID - Cell Orientation procedures
            • OPPID - Project Locations and Definitions
            • OPPID - Project Units explained or What makes a Metric project a Metric Project
            • OPPID Database Documents and their Component Links
            • OPPID DGN - Database Guid and Keytag storage
        • +OpenPlant Orthographics Manager v8i
        • +OpenPlant Support Engineering v8i
        • +OpenPlant ModelServer v8i
        • +OpenPlant Reporting v8i
        • How to Connect with Bentley Technical Support Team using Microsoft Teams
        • How to Connect with Bentley Technical Support Team using Microsoft Teams via Browser
        • How to get list of installed applications/programs on Windows Machine using Command Prompt.
        • How to get list of Windows Updates installed on the machine using Command Prompt.
        • How to Package WorkSpace to be Shareable to Users for OpenPlant Projects
        • How to find iModel.dgn file of another domain in PlantSight
      • +Bentley AutoPLANT
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
      • Your Feedback is important to us!

     
     Questions about this article, topic, or product? Click here. 

    Class Editor Schema Differencing and Supplementing

    Applies To 
    Product(s): Bentley Class Editor
    Version(s):
    Environment:  Windows 7/8.1/10( 64 bit)
    Area:  Class Editor
    Subarea:  Schema Differencing
    Original Author: Bentley Product Advantage Group

    Description

    You can compare one schema with a different schema, or you can compare different saved copies of the same schema.
    The results of the comparison are displayed in the left pane of the Schema Differencing dialog. The results are displayed with respect to the target schema only.

    The differences are color coded as follows:

    • Gray (No Difference) — Specifies classes, properties, and/or relationships that are the same in the source and target schemas.
    • Green (New) — specifies the new classes, properties, relationships, and custom attributes in the target schema.
    • Red (Deleted) — specifies the classes, properties, relationships, and custom attributes that are in the target schema but not in the source schema.
    • Blue (Modified) — specifies any changes to classes, properties, relationships, and custom attributes in the source and target schemas.

    To compare classes in different schemas

    1. Open your projects older version schema and select Tools > Schema Differencing.


    2. Source Schema will be selected, so select Target Schema drop-down list and the select Browse to your new schema location
    3. Select a Target Schema which you would like to upgrade and click Compare.


    4. (Optional) You can change view type from Hierarchy to Category.


    5. Review the differences (with respect to the target schema) and compare the schemas.
    6. (Optional) If a class exists in a target schema, you can select its properties and custom attributes.
    7. (Optional) If a class does not exist in a target schema, you can select only the class. You cannot select its properties and custom attributes.
    8. (Optional) If there is a new class in a target schema, you cannot select the properties without selecting the class.
    9. Select the check boxes for the classes and properties that you want to add to the target schema.
      If you select a check box next to a red entry, the class or property will be deleted from the target schema.
    10. Select relationship classes and custom attributes the same way.
    11. Click Commit to finalize the changes.
      Committing an item is subject to its association with other selected or unselected items. For example, if a relationship class is selected in order to commit it to the target schema, but its source and target constraints have not been selected, then its relationship class would be committed without its constraints.
      New classes with their properties are added to Schema2.
    12. Review the target schema to confirm that the differences have been committed. 

    Sometimes all of the differences selected for the target schema will not be committed the first time that you click Commit. This is because of a certain ordering of classes, properties, and reference schemas that does not make it possible to commit them all at once. Therefore it is recommended that you evaluate the differences after clicking Commit to ensure that your changes have taken place. If they have not, you must click Commit again.

    If different users have made changes to the same version of a schema and if they have saved these copies, you can run a difference report on that schema. In order to compare the copies of the same schema you have to open the schema in the Tree pane and place the copy of the schema in a different location. You cannot compare two copies of the same schema that are in the same location.

    To compare saved copies of the same schema

    1. Open SamplePlantSchema in the Tree pane.
    2. Select Tools > Schema Differencing.
    3. Select SamplePlantSchema from the Source Schema drop-down list.
    4. Select Browse from the Target Schema drop-down list. The Open dialog opens.
    5. Browse to the location of the copy of SamplePlantSchema.
    6. Click Compare.

    See Also

    DOCX

    DOCX

    Comments or Corrections?

    Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!

    • PID
    • Supplementing
    • Class Editor
    • schema differencing
    • OpenPLANT PowerPID
    • Share
    • History
    • More
    • Cancel
    • Stephen Morrow Created by Bentley Colleague Stephen Morrow
    • When: Fri, Jul 1 2011 1:18 PM
    • Kestutis Mitkus Last revision by Bentley Colleague Kestutis Mitkus
    • When: Fri, Jan 13 2017 3:49 AM
    • Revisions: 6
    • Comments: 1
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies