Unable to Create a New Custom Object - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

SmartPlant Foundation uses the relationship between a component schema and a domain to determine what database tables to use to store data for objects with class definitions belonging to custom component schemas. You must create the relationship between the custom component schemas and domain in SmartPlant Foundation after you load the custom component schemas into the database using the Schema Import Wizard; otherwise, you will receive an error when creating objects of the custom class definitions associated with that component schema.

Error Message

When you try to create an instance of a class definition that is part of a component schema that is not related to a domain in SmartPlant Foundation, the following error message appears:

“ClassDef [name of class def of object you are trying to create] is not currently modeled so a valid Domain cannot be found"

Solution

To resolve this error, create a relationship between the new component schema and a domain.

  1. Click Find > Schema > Component Schemas, and find your newly modeled and loaded component schema.

  2. Press the Ctrl key, and drag the component schema to the New Items window.

  3. Click Find > Administration > Domain, and find the domain in which objects in the new component schema should be stored.

  4. Create a relationship between the domain and the component schema using a drag and drop operation.