Solidworks API vs DriveWorks for automating models

Has anyone had experience with using SW API or DriveWorks (or both) to generate models? Which approach would you recommend and why?