When adding new custom classes to the OpenPlant schemas, the same class might be needed on both OpenPlant.01.08.ecschema.xml, hereinafter referred to as OpenPlant Schema, and OpenPlant_3D.01.08.ecschema.xml, hereinafter referred to as OpenPlant3D Schema. In such cases, the user should keep in mind that all the classes that are common to both schemas have their origin in the OpenPlant Schema. Hence, the classes in the OpenPlant3D Schema are Derived from the existing classes with the same name in the OpenPlant Schema. The opposite of a Derived class is a Base class.
In this context, but not limited to it, the user might need to add a Base class to a class. Below, the step-by-step on how to accomplish this in the context described above.
Steps to Accomplish
Now, the custom class created in the OpenPlant 3D Schema is a Derived class of the class with the same name in the OpenPlant Schema. This means that it inherits all its properties, plus it can have some more of its own.
All the attributes that are added to the Base class in the OpenPlant Schema will be automatically passed down to the Derived class in the OpenPlant 3D schema.