State police said the ex-boyfriend of a Westmoreland County woman who was attacked and tied up by intruders in her home, planned the crime himself.