These could be as simple as creating primitive shapes, saving/opening files or using some popular commands like Fill. 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. ANSYS SpaceClaim Python Scripting Tutorial MAD CFD LLC 38 subscribers Subscribe 7 Share 1.3K views 1 year ago 30 second tutorial to demonstrate use of Python scripting in ANSYS SpaceClaim. When I was a novice to scripting this helped me get started and made scripting less intimidating. Hi PiotrM Im also new at scripting with Spaceclaim (and its actually harder as expected due to the lack of proper documentation or tutorials). 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. You will learn and get to speed in the scripting in Ansys SpaceClaim. My second suggestion would be to record yourself using SpaceClaim. Scripting in Ansys SpaceClaim Overview This course is designed for all the users of Ansys 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.
0 Comments
Leave a Reply. |