Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How to Reference a Schema into Primary Schema
    • 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
            • 'Locate Missing Reference Schema Files' message while loading Schema in Class Editor
            • ECExpressions explained - Calculated ECProperty
            • How to Get Line Tag info For Pressure Reducing Valve
            • How to Modify/Add Validation State to Components in OpenPlant PID
            • How to Reference a Schema into Primary Schema
          • +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
        • +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. 

    How to Reference a Schema into Primary Schema

    Applies To 
    Product(s): OpenPlant PID
    Version(s): 08.11.10.XXX (SS5) | 08.11.11.XXX (SS6)
    Environment:  Windows 7/8.1/10 (64 bit)
    Area:  Class Editor
    Subarea:  Reference
    Original Author: Harpreet Singh, Bentley Product Advantage Group

    Background

    User added all his custom properties in OpenPlant_ProjectProperties.01.07 schema and want to see all these properties in class editor by loading only OpenPlant_PID.01.07 schema. Currently, it shows the properties and classes of OpenPlant.01.07 schema its own classes and properties. For this example, a test property is added in PLANT_BASE_OBJECT class of OpenPlant_ProjectProperties.01.07 schema as shown below.

    Steps to Accomplish

    1. Open OpenPlant_PID.01.07 schema in notepad. This schema is located in C:\ProgramData\Bentley\OpenPlantPID (SS6)\WorkSpace\Projects\%PROJECT%\Dataset\schemas folder.



    2. Add below line in the schema in references section as shown in the picture below.

          <ECSchemaReference name="OpenPlant_ProjectProperties" version="01.07" prefix="opproj" />



    3. Find PLANT_BASE_OBJECT class in OpenPlant_PID.01.07 schema in notepad.



    4. Add below line to add base class in PLANT_BASE_OBJECT.

              <BaseClass>opproj:PLANT_BASE_OBJECT</BaseClass>



    5. Save the changes and load OpenPlant_PID.01.07 schema in class editor.



    6. You will see the property in the schema without opening OpenPlant_ProjectProperties.01.07 schema.

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/19903.locate-missing-reference-schema-files-message-while-loading-schema-in-class-editor

    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! 

    • 08.11.11.xxx
    • OpenPlant_ProjectProperties
    • OpenPlant PID
    • Reference
    • Class Editor
    • OpenPlant_PID
    • schema
    • Share
    • History
    • More
    • Cancel
    • Harpreet Singh Created by Harpreet Singh
    • When: Thu, Feb 16 2017 8:09 AM
    • Harpreet Singh Last revision by Harpreet Singh
    • When: Thu, Feb 16 2017 8:11 AM
    • Revisions: 3
    • Comments: 0
    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