08-10-2016 06:28 AM
08-10-2016 09:28 AM
You can use information -> object and pick the component. The coordinates and rotation matrix will be shown in the information window. You can find a journal here that will convert the rotation matrix to angles about the X, Y, and Z axes.
08-11-2016 01:53 PM
08-11-2016 02:04 PM
Follow the link in my previous post, copy and paste the code into a new text file, save the text file in a convenient location with the extension .vb. In NX, go to tools -> journal -> play and browse to the file that you saved, press run journal.
NX reports the rotation matrix, not the Rx, Ry, and Rz angles. The journal code will convert the rotation matrix to Rx, Ry, and Rz angles for you.
08-11-2016 02:09 PM
Here is a version of the journal attached for your convenience. I could not directly upload a .vb file, you will need to remove the .txt extension from this.
08-11-2016 11:20 PM
08-11-2016 11:44 PM
08-12-2016 01:21 AM
It is working now thank you so much for your support.
One more thing i need to ask
how could i move a part or assembly in some co-ordinate and angle.
Refer image for your reference.
This option is available in catia but i didn't get this option in NX.
please let me know any command is there or not.
or any other way which we can use.
thank you in advance
08-12-2016 09:24 AM
In the move component command, there is a motion option called "delta XYZ"; this option will allow you to key in values for the X, Y, and Z translations, but there is no option for rotation. You can use the angle motion to pick/specify a vector to rotate about and key in an angular value. If you want to specify all the translations and rotations from a single interface, your best bet is to use the "dynamic" motion option. Using dynamic, a large XYZ triad will appear in the "specify orientation" step; click on one of the coneheads and key in a value for translation, or click on one of the spheres between the vectors to key in a rotation. For instance, if you click on the sphere that connects the X and Y vectors, this will rotate the component about the Z axis; you can drag on the sphere handle or key in an exact value in the input box that appears.
08-12-2016 11:31 PM