Aniket
Ansys Employee

you can create an extension (https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/act_dev/act_dev_defining.html) for Mechanical and have these functions inside the extension. Now if you load the extension by default, you can call these functions inside Mechanical Extensions by using these two commands.

If you have built snippets inside Mechanical, add them into your extension, and then you can call using the method I mentioned above from workbench page.

-Aniket

How to access Ansys help links

Guidelines for Posting on Ansys Learning Forum