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.
3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

How could I get the coordinate position of vertex by command in AIM

TAGGED: 

    • sjyu
      Subscriber

      Could we get the vertex coordinate in X/Y/Z direction by command in Discovery AIM?

    • sjyu
      Subscriber

      for example, we know the name of vertex like "VERTEX3", how to get the coordinate by command?  Thanks!

    • Naresh Patre
      Ansys Employee

      Hello Frank

      Could you please share some more details about your requirement? WHere are you trying to use this coordinate information? 

      • sjyu
        Subscriber

        Naresh Patre I want to calculate the direction between two vertexes based on the coordinate. then I can set the spring stiffness available on this direction by command.

    • Naresh Patre
      Ansys Employee

      Hello Frank

      I am checking with the team on this and will get back to you.

    • Naresh Patre
      Ansys Employee

      Hi Frank

      Apologies for the delay in getting back to you as I was on vacation for last 10 days. I got following response from one of the experts:
      If the user has the vertexes selected they should be able to use the .Location command I think to get this information and then use this to create the spring. My suggestion would be to create a local coordinate system using the two points as reference geometry and then just use that coordinate system for their joint/spring. This is something that should be recorded by the journaling functionality and then reused in a script.

Viewing 4 reply threads
  • The topic ‘How could I get the coordinate position of vertex by command in AIM’ is closed to new replies.
[bingo_chatbox]