3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

How to select specific faces with script

    • Yukta Sharma
      Subscriber

      I have a big geomerty to clean and it has many holes that I have to fill. 

      I want to write a script for it. 

      I want to select all cylindrical faces with diameter of 4 or less than 4 and then fill them. 

      I tried using the record method but it only work on the excat same geometry. 

    • Devendra Badgujar
      Forum Moderator

      Hello Yuktu, 

      You can use Group Selection option in SpaceClaim or Power Select option in Discovery to select similar objects. 

      If you are using Discovery, there is identification tool where you find all the holes based on the max diameter you specify. You can refer this Ansys Discovery - Detect Tool - Ansys Knowledge 

      You can refer this Ansys Discovery Scripting - Access Objects | Ansys Courses which demonstrates commands associated with accessing and selecting various objects.

      Regards,

      Devendra

Viewing 1 reply thread
  • The topic ‘How to select specific faces with script’ is closed to new replies.