Hi
Below is something that might be of help using Workbench scripting and calling Mechanical from there.
https://www.linkedin.com/pulse/script-tip-friday-automate-imported-loads-set-up-?trk=pulse-article_more-articles_related-content-card
All the best
Erik