You can create selection rules based on a combination of an interface definition and property definition or based on navigating a relationship definition.
For example, a Modules selection rule is based on a combination of an interface definition and property definition. Module is a property on a component. The Modules selection rule would use the ISPC_ComponentItem interface definition and SPC_ComponentItem_Module property definition to display groups of components in a module.
For example, a Bolt-up activities selection rule uses a relationship definition to display components because bolt-ups are activities related to a component.
-
Log on to SmartPlant Foundation Desktop Client.
-
Click Smart Construction > New > Administration > New Selection Rule to create a new selection rule.
-
Type a name in the Name box.
-
Type a description in the Description box.
-
Specify how you want the selection rule to display in the Smart Construction application in the Display As box.
-
Specify a sequence number in the Sequence box.
-
Specify a handler type name in the Handler Type Name box.
For property selections, type Navigation_PropertySelectionRule in the Handler Type Name box.
-
Type an interface definition name of the property in the Selection rule interfacedef UID box, if you are defining the selection rule with a combination of an interface definition and property definition.
-
Type the property definition name in the Selection rule propertydef UID box, if you are defining the selection rule with a combination of an interface definition and property definition.
-
Type a relationship definition in the Selection rule reldef UID box, if you are defining the selection rule with a relationship definition.
-
Select the Selection rule IsEnd1 option if the selection rule navigates the relationship definition from End 1 to End 2.
Clear the Selection rule IsEnd1 option if the selection rule navigates the relationship definition from End 2 to End 1.
-
Click Finish to save the new selection rule.