A Manhattan woman who’s suing her former divorce lawyer over their torrid affair wants a list of his sex partners for the last decade.

And Atesa Pacelli is using a 2005 case against Bill Cosby to bolster her demand.

“In Constand the court required the defendant, who is the famous comedian Bill Cosby, to produce information related to all people he had sexual relations with for the five years preceding the alleged sexual assault,” the 42-year-old says in court papers.

Andrea Constand first sued “America’s Dad” in 2005 over an alleged 2004 assault. In a January 2006 ruling a federal court judge ordered Cosby to spill the beans about any extramarital relationships. It’s unclear whether Cosby ever gave up the information.

They reached a confidential settlement in November 2006. Later Constand cooperated with prosecutors to bring criminal charges against Cosby. The case concluded with a mistrial in June.

In the meantime Pacelli is hoping the decade-old Cosby ruling will help her suit against her former matrimonial attorney, Peter Cedeno. She claims he coerced her into sex during her split from her developer husband.

She wants to know if her any of her lawyer’s lovers were clients like her.

Her “inquiry into [Cedeno’s] sexual history is an obvious and reasonable means to discover evidence of similar acts,” Pacelli says in court papers.

Pacelli believes that Cedeno had previously “used his role as an attorney to pursue sexual relationships” including one with another client’s wife between 2010 and 2012.

Cedeno, 49, denied the claims and said the probing of his love life is “irrelevant” to the case.

He’s countersuing for defamation.