I posted this quite a while ago, to help automate it a bit
Post
_________________________
matt worland
ECE Design