Yep.
TPE stands for traded player exception, and exceptions are used by teams who are operating above the cap. Therefore, you can either use cap space or your exceptions, but not both.
Except for the exception to the exceptions (room), which the NBA added to just try and confuse the situation...