SAN FRANCISCO  When it comes to Apple products, the iPad and the iPhone get all the headlines.

But in recent years, the company’s Macintosh line of computers has enjoyed a remarkable revival that has been vital to Apple’s emergence as the most valued technology company on Wall Street.

In the latest sign of that comeback, Autodesk plans to announce on Tuesday that it is bringing its flagship AutoCAD design and engineering software to the Mac for the first time in nearly two decades.

The return of AutoCAD to the Mac could help Apple sustain its momentum in the competitive market for personal computers, especially with business customers, where Apple has made significant inroads recently. Autodesk estimates that 10 million people use the AutoCAD software around the world, and the company said that its customers had been asking for a Mac version with growing frequency.

“This is an endorsement from our side that design and engineering customers are taking the Macintosh seriously again,” said Amar Hanspal, senior vice president for platform solutions at Autodesk.