Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX Expression Equal To Component Translation

Status
Not open for further replies.

DHuskic

Computer
Dec 18, 2012
114
Is there a way to set an expression equal to a component's translation? The information I want connected to the expression would be under Component Properties -> Information. This opens a listing window and under Component Translations, the output looks like something below. I want to create 3 expressions equal to the Delta X, Y, Z.

Code:
Component Translations:
 
Delta X              =       0.0000
Delta Y              =       0.0000
Delta Z              =      -0.1000
 
Component Rotations:
 
X-axis Vector        XC =   -1.0000               X =   -1.0000           
                     YC =    0.0000               Y =    0.0000           
                     ZC =    0.0000               Z =    0.0000           
 
Y-axis Vector        XC =    0.0000               X =    0.0000           
                     YC =   -1.0000               Y =   -1.0000           
                     ZC =    0.0000               Z =    0.0000           
 
Z-axis Vector        XC =    0.0000               X =    0.0000           
                     YC =    0.0000               Y =    0.0000           
                     ZC =    1.0000               Z =    1.0000           
 
Component is Absolutely Positioned
 
------------------------------------------------------------
Object dependency information is unavailable.
 
------------------------------------------------------------

DHuskic
Nx8.5 & Nx9.0
 
Replies continue below

Recommended for you

Does the component part file have a datum csys feature at absolute? If so, (in the assembly) switch the component to use the 'entire part' reference set (or any ref set that includes the datum csys) then create an "analysis -> measure point" feature in the assembly (turn on the 'associative' and 'create individual coordinate expressions' options). You can now switch back to the original reference set; the expressions will update when the component is moved.

This is for NX 9 and above, NX 8.5 does not have the 'measure point' function.

www.nxjournaling.com
 
I asked this question on behalf of a coworker, some of this is above my head, but this was his response:

The problem with this is the assembly is not currently assembled.

We are working in “assm-1”
We need to use the absolute 0,0,0 of “assm-2” (which will be added later) for the base value.
We then need the difference between the absolute 0,0,0 of “assm-3” and the absolute 0,0,0 of “assm-2” (which will be a child of assm-2 later)

All of the assemblies will be cloned into each other with a prefix added to the name.
Because the assembly is not assembled and named yet, we cannot use a direct wavelinked feature, or an interpart expression, as these will both break because of the new name.

An interpart expression will have to be created during the cloning process using component identity attributes.
ie.
<assm_1::xyz_base> = <assm_2::xyz_home>,
<assm_1::xyz_part> = <assm_3::xyz_home>,

Now in assm-1 we can make the expression ~~ assm3_move = xyz_base- xyz_part

DHuskic
Nx9.0
 
I must be missing something here. If the assemblies are not assembled yet, you would have no component translation to reference, making the original question absurd.

www.nxjournaling.com
 
We import the components into assemblies via Mold Wizard, and our designers move these components occasionally. We need the translation values for our dimensions that get imported as well.

DHuskic
Nx9.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor