bdeSetPortType
Sets the type of a port. Only works for newly created block.
Syntax
bdeSetPortType(port, portType)
Inputs
- port
- The port that will have it's type set.
- portType
- The type to set for the port. Can use different type including: activation, explicit, implicit, bus.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
bdeSetPortType(portX, 'implicit');