Schematic features contained in a schematic diagram can be related to each other by specifying rules or executing custom code during the diagram loading. For example, if their geometry is appropriate (Polyline or Polygon), schematic nodes can display as containers around schematic features by specifying a Spatial Query rule or Relationship rule.
Schematics can also automatically display schematic feature nodes as containers around schematic feature groups when two predefined attributes are specified on the schematic feature classes that implement these schematic features—that is, on the schematic feature classes that implement the schematic features you want to be related to these container node schematic features. These specific predefined attributes are PEN and PTN:
- The PEN predefined attribute is expected to return the identifier of the container node schematic feature that will be automatically related to the schematic features.
- The PTN predefined attribute must return the name of the schematic feature class that implements this container node schematic feature.