Former Knicks president and coach Isiah Thomas said coach Mike Woodson’s team had “a great year’’ despite a second-round KO, and believes it will get better by using the Spurs’ blueprint of improving role players.

“I think they had a great year, won the Atlantic, got eliminated by what we know now is a much greater Indiana team than anyone gave credit to,’’ Thomas said on the AmericanAirlines Arena floor before the Heat’s 103-100 overtime win over the Spurs in Game 6 of the NBA Finals Tuesday night. “[Roy] Hibbert was the difference in the series. He became the best center in the East.’’

Asked if the Knicks have topped out considering their salary-cap situation this summer, Thomas said, “They got to keep improving. Watching this series, if it has shown us anything with San Antonio, your role players can get better every year.

“Right now, if the Knicks are going to improve, it’s going to have to be through the draft, development of role players and some of their core players. I thought Carmelo Anthony was probably the most improved player on the team. I think they got to get better with their role players and use San Antonio as the model.’’