If I execute the Tcl script with a set_property LOC command similar to the following example, I receive exception errors and the PlanAhead tool crashes.
set my_port [get_ports we]
set _we_loc [get_property LOC $my_port]
set_property LOC "" $my_port
set_property LOC AB17 $my_port
The problem is that when a port is deleted by using the "delete_port $my_port" statement, the pointer $my_port still holds the old pointer port data.
A subsequent reference of the $my_port will cause the software to crash.
To correct this issue, call "set my_port [get_ports we]" again to reset $my_port.