3D Design

3D Design

Difficulties in automatizing Faces selection in SpaceClaim

    • pribrands

      Hi all,

      I am trying to automatize the creation of a geometry in SpaceClaim. But I am having difficulting in selecting multiple faces to be extruded, when the nb of faces is a variable. I created a list with the faces names as strings. But I don't know how to convert string to ScriptSmartVariable. Any hints on that are very welcome. I am copying the important part of the script below:

      Thank you in advance,



      NbColsZ = 3

      NbColsY = 3

      for itemnb in range(NbColsY*NbColsZ):


          # Create Named Selection Group

          primarySelection = Selection.Create(facename)



    • Keyur Kanade
      Ansys Employee

      please post under geometry and cad category to get better response. 

      right now i am moving this thread to the same. 

      i am not scripting expert. but why do you need scripting? can you please check if you can make use of parameters in spaceclaim. 




      If this helps, please mark this post as 'Is Solution' to help others.

      Guidelines on the Student Community

      How to access ANSYS help links



Viewing 1 reply thread
  • You must be logged in to reply to this topic.