Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

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

Mechanical Scripting – Accessing nodes associated with named selections

    • Jake
      Subscriber

      Hello, 

       

      Using mechanical scripting in python, how can I access the nodes associated with a named selection? 
      For instance, if I had a named selection called ns that's geometry is 2 edges how do I get mechanical scripting to access the nodes and the associated data on those edges? 

      Thanks. 

    • ErKo
      Ansys Employee

      Hi

      Below is a link to a sample script that does that:

      https://discuss.ansys.com/discussion/2930/how-to-extract-ids-of-all-the-nodes-on-a-face-surface-using-python-scripting


      All the best

      Erik

       

       

       

    • Jake
      Subscriber

       

      --

       

      Thanks. 

       

    • ErKo
      Ansys Employee

       

      Erik

       

Viewing 3 reply threads
  • The topic ‘Mechanical Scripting – Accessing nodes associated with named selections’ is closed to new replies.
[bingo_chatbox]