

Lastly, if you already have some experience with scripting in SpaceClaim, you’ll appreciate that in Ansys SpaceClaim 18 we’ve populated prerecorded snippets of scripts that you can use to call common actions. When I was a novice to scripting this helped me get started and made scripting less intimidating. You’ll see the operations being performed very quickly. Play around with adjusting values and replay your actions on other models or a blank screen. This will help you to better understand the syntax used to capture your steps. For example, as you use tools like Pull or Move on your model, you’ll see your script start to get populated. Just as you may have used a macro before in other popular applications, SpaceClaim will record each modeling step you perform and capture all necessary parameters required to repeat your operation.

My second suggestion would be to record yourself using SpaceClaim. Some understanding of the syntax and what is expected with commands will help you hit the ground running. Scripting in the SpaceClaim environment uses IronPython, which is an open source language built on Python. If you are new to scripting, I’d suggest learning a little about the Python programming language and what it can do.
