-
-
November 5, 2018 at 2:43 pm
bezi.khoubeib
SubscriberHello,
i have been using the *get command to measure the rotation of an external point:
- (my_pilot=_npilot)
- *get,my_ux,node,my_pilot,u,x
- pi=acos(-1)
my_rotx=my_rotx*180/pi
how do you use this commands to measure the rotation of simultaneously two or more external points. (and have multiple results and not combined results for the rotations)
regards,
Vanderbezi
-
November 5, 2018 at 3:30 pm
Rohith Patchigolla
Ansys EmployeeHello Vanderbezi,Â
Rotation of an external point (or remote point) can be accessed directly by RMB on Solution --> Insert --> Probe --> Flexible Rotation.
Then you can scope this remote point and get the rotation result.Â
You can do this for multiple remote points.Â
If you want to use commands for multiple remote points, you can extend the script as shown below.Â
Below commands under remote points.
Â
1st remote point --> my_pilot1 = _npilot
2nd remote point --> my_pilot2 = _npilot
Â
Below commands under Solution.
*get,my_rotx1,node,my_pilot1,rot,x
*get,my_rotx2,node,my_pilot2,rot,x
pi=acos(-1)
my_rotx1=my_rotx1*180/pi
my_rotx2=my_rotx2*180/pi
Hope this helps.Â
Best regards,
Rohith
Â
-
- The topic ‘Measuring rotation in multiple places’ is closed to new replies.
-
5844
-
1906
-
1420
-
1305
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.