We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation 3D Design Ansys space claim sweep using python script Reply To: Ansys space claim sweep using python script

Erik Kostson
Ansys Employee

 

 

Hi

Ansys employees are not allowed to provide exact and extensive scripts – perhaps other forum members (not from Ansys) can do that .

What we can do is to give advice on how to easily create such a script.

1. Go to File-New Script.

2. Press the red record button as shown in the video image attached in your first post (think it is pressed by default):

3. Take steps 1-3. So as you would do this in the user interface (UI) so create a curve manually, a plane and a sketch, and then use the extrude tool, to create your geometry in the UI. These steps are now recorded and you have a Spaceclaim (SC) script which you can reuse and readapt. So this is a great way to record and create scripts in SC.

Hope this is clear.

Erik 

 

 

Â