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. 

    • Erik Kostson
      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. 

       

    • Erik Kostson
      Ansys Employee

       

      Erik

       

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