Design - Object - Port Relationship

 

Overview

 
Objects and Ports are searchable within collections. The IDesign interface supports direct recasting into an ObjectCollection, whereby any object can then be searched for. Once objects are found, certain types can be recast into an IPortCollection whereby a port can be searched for. This is called Drill-Down. By the same token, parent interfaces are searchable by using the IExpressEntity.
 

Drill-Down

 
 

Parent Searching

 
  • An Object's parent is the Design
  • A Port's parent is an Object
  • Object and Port Collections do not have parents