General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

How to extract Ids of all the nodes on a face (surface) using Python scripting

    • user deleted
      Subscriber

      I want to create a list of all the node ids on a surface.

      In APDL this would be
      asel,s,area,,68,, ! Selects Area-68
      nsla,s,1 ! Selects node on this area
      Then I get their ids

      How do I do same using Python scripting in mechanical? 
      Any help would be great
      Thank you. 


    • user deleted
      Subscriber
    • Erik Kostson
      Ansys Employee

      Glad that script helped.

      All the best

      Erik

Viewing 2 reply threads
  • The topic ‘How to extract Ids of all the nodes on a face (surface) using Python scripting’ is closed to new replies.