

The Python commands used in this method is differnt compare to Python used in ACT method.This is a most power full method that exist with full automation capability. The second method which is in "gray" area is Python in conjunction with JAVA scripting. Therefore, I would say that ACT is semi automated method. Then, the whole process can't be fully automated. However, if you want to use different modules in the analysis e.g. The advantage of using ACT is that the APIs are given by ANSYS and there is a good help available on how you can write the script to automate the analysis.

First method that Claudio already mentioned is ANSYS Customization Toolkit (ACT) based on Python scripting. I hope this will help you to start automating your model.There are two different ways of performing automation in ANSYS. You can also follow IronPython syntax given in this web page. In this script, they have used smart variables for automating geometry.

You can download sample script from this link. Because your SC geometry is linked to Mechanical - contacts, mesh, loads etc by 'Named selections' only.

If you are interested in SC geometry update and linking this updated geometry to Mechanical, then you also need to think about 'Named selections' creation for all possible combination of input parameters. If you are interested in just automating SC geometry, then you only need to think about all possible combination of input parameters. Use 'if-else' for creating different possible combination of input parameters conditions. Start with selection of correct sketch plane by recording, and then go ahead with recording each geometry operation. So, you will be creating script step by step considering all possible combination of input parameters. You need to run geometry again and again with already recorded SC script for all possible combination of input parameters one by one, and insert smart variables in script under that combination of input parameters (use if- else) by clicking on geometry(curve or face or solid). The only problem with smart variables is that, you need to use smart variables for all possible combination of input parameters. Using smart variables is also a best way at the moment. If you don't know IronPython, you can use smart variables in program. SpaceClaim(SC) scripting is based on IronPython.
