Design software maker Autodesk, Inc. said Thursday after the markets closed that it swung to a second quarter loss, hurt by lower revenue and a hefty tax charge. However, the company’s quarterly earnings per share, excluding items, came in above analysts’ expectations, but its quarterly revenue fell short of analysts’ forecast.