CODMovePortCommand::Execute

BOOL CODMovePortCommand::Execute(void)

Moves the port.

Defined in: OdMovePortCmd.cpp

Return Value

Non-zero if the command was successful.

Comments

This function uses CODSymbolComponent::MovePort to move the port. It then checks to see if a connection port was given, and if so, creates a new connection between the two ports. This function will fail if CODCommand::m_setComponents contains anything except a single port component.