Sets a new active viewport for the object.
Returns true if the new active viewport was successfully set; otherwise, the method returns false.