Difference between revisions of "HowTo:Create a new MetaClass"
(→See also) |
|||
Line 16: | Line 16: | ||
[[Category:How-To]] | [[Category:How-To]] | ||
− |
Revision as of 15:45, 2 February 2015
A new MetaClass has to be created as a derivative (child) from another class (parent). This can easily be done in the Class Browser control by
- Navigate to the favoured parent MetaClass in the Class Browser
- Create a new child MetaClass with Derive new object from the context menu
- Edit name and description, either
- in the Class Browser
- by opening and connecting the new MetaClass to the Object Editor control
- Save the object with Ctrl+S
Technical background
The system creates a new instance of CUSTOMMETACLASS and sets the Inherit property with the parent MetaClass. A custom MetaClass is consequently also an instance of CUSTOMMETACLASS and can be treated as a Content Object.