One of the ways of creating scripts in Ansys Discovery is through scripting commands. While creating scripts to perform desired workflow, we often need to access geometrical entities like bodies, faces, etc. and other objects like planes, coordinate system, etc. located in the Model Tree of Ansys Discovery. Consider an example where we need to remove a hole from a body through scripting. In addition to knowing the appropriate command for removing a hole, we also need to access the appropriate body and the face representing the hole and then select that face for removing.
This lesson focuses on the scripting commands associated with accessing and selecting various objects. It also includes 3 workshops to get hands-on experience with these commands.
The following topics are covered in this lesson: