Correlation - Intergraph Smart Electrical - Customization - Intergraph

SmartPlant Enterprise SmartPlant Adapter for Smart Electrical

Language
English
Product
Intergraph Smart Electrical
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
Smart Electrical Version
2018 (8.0)

When retrieving a document all the objects are processed within that document. For each object being retrieved, it looks for an existing Smart Electrical item that should be updated. If it finds one, it generates an Update task. If it does not find one, it generates a Create task.

When we retrieve an object, we follow a standard procedure. For example, when we find an equipment object in the retrieved document we do the following:

  1. Look for a SameAs relation in the retrieved document that refers to this item. If we find one, then we use the remote UID from that SameAs and do a query for a Smart Electrical item with SP_ID = remote UID. If we find such an object, then that's the item to update.

  2. If no item to update has been found yet: Use the UID of the equipment object and do a query for a Smart Electrical item with SP_SameAsUID<n> = UID. If we find such an object, then that's the item to update.

  3. If no item to update has been found yet: Use the IObject.Name of the equipment object and do a query for a Smart Electrical item with ItemTag = Name and belonging to the same Plant Group. If we find such an object, then that's the item to update.

  4. If no item to update is found, a Create task is generated instead of an Update task.

If an item to update is found by means of a matching Item Tag, and there are no other properties to update, the resulting Update task shows that the item will be correlated when the task is run. (See the Notes tab on the properties dialog of a task). Being correlated means that the Smart Electrical item carries the UID of the retrieved object in the SP_SameAsUID plant item attribute.