CimProject.Ports (read-only property)

Gets the list of ports.
Syntax: Set CimPortList = object.Ports
Description: The CimProject.Ports property is read-only and returns a collection object that is used to add and modify ports.

Example

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim portList as CimPortList
set portList = project.Ports