bdeGetPortType
Returns the type of a given port.
Syntax
portType = bdeGetPortType(port)
Inputs
- port
- The port to get the type of.
Outputs
- portType
- The type of the given port.
Examples
Get the type of a given port:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
portType = bdeGetPortType(portX);
portType = Explicit