CimPortList (object)

Contains an enumeration of ports.
Description: The CimPort object contains the information for a CIMPLICITY port.


Dim project As CimProject
Dim portList As CimPortList
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Set portList = project.Ports
Dim port as CimPort
set port = portList.New("TCPIP1", "S90_TCPIP")
port.Description = "A Series 90 communications port"
port.ScanRate = 1
port.ScanUnit = cimMinute
portList.Save port, FALSE
Properties: Count , Item
Methods: Delete , New , Save