Ansys Learning Forum Forums Discuss Simulation General Mechanical space claim python script Reply To: space claim python script

Erik Kostson
Ansys Employee

Hi

 

Easiest is to use script recording when creating a new script (File -> New Script) and record the actions you take in the user interface (UI) of SC – so take all 3 steps manually in the UI as you would normally do, and you will see the corresponding script commands when recording them in a new script – see below how to activate and start the script recording (so video and search is for that only so how to start and use the script recording and not to look on the actual commands produced by this in the video that is not relevant as you are trying to do something else – so just see how to open and start a script recording hope that is more clear now)

https://www.youtube.com/watch?v=U98qtKWUoL8

Search for more videos if needed, but is fairly easy to record the actions (you just press the red record button on the new script console in SC)

https://www.google.com/search?q=recording+and+script+and+spaceclaim&rlz=1C1GCEA_enDE1032DE1032&oq=recording&gs_lcrp=EgZjaHJvbWUqBggCEEUYOzIMCAAQRRg5GLEDGIAEMgYIARBFGEAyBggCEEUYOzIKCAMQABixAxiABDINCAQQABixAxjJAxiABDINCAUQABiSAxiABBiKBTINCAYQABiSAxiABBiKBTIHCAcQABiABNIBCDU0MThqMGo3qAIIsAIB&sourceid=chrome&ie=UTF-8

If you have any further questions in the future please post in the 3D design (Spaceclaim) forum which is the appropriate forum (current forum is about mechanical analysis and not about Scpaceclaim scripting):

Also be mindful and respectful when posting in the forum.

See forum guidelines:

 

/forum/forums/topic/guidelines-for-posting-on-ansys-learning-forum/

/forum/forums/topic/forum-rules-of-conduct/

 

/forum/forums/forum/discuss-simulation/threeddesign/

 

Thank you

 

Erik

 

Closing as there is anoteher duplicate post: 

/forum/forums/topic/ansys-space-claim-sweep-using-python-script/#post-358734