I'm trying to figure out how can I possibly make NX10 change automatically the constraints in an assembly as I replace a part for another.
First thing I tried is to define constraints with name attributes. In a very simple exemple I define contraints relative to the absolute CSYS of the assembly.
First constraint: align axis
Second constraint: face and datum touch
When I create another part and define axis and face for the constrains with the exact same name the program recognize the change and adapt the constraints but there's an error that I can't explain. It looks like both constraints can work fine separately but not together. Does anyone has an idea of what to do to make it work?
All files are there so you can take a look of what I'm trying to achieve.
While aligning the axes, use orientation as 'Infer Center/Axis'.
Is this what you are trying to achieve?
What I try to do is to use the "replace component" function select a randum part and that the program automatically update the constraints following the name attribute.
In this particular case I want the axis of the part named "ROT_AXIS" and the Z axis of the assembly to be align and that the XY plane of the assembly match with the face that I named "FIT_BASE".
But when I try do that this is what it looks like:
Both constraints work fine when alone but together it doesn't work.
It does work, maybe you have not defined constraints correctly. I have recorded the video using the parts provided by you and there is no problem while replacing the component.
Use 'Touch Align' constraint with orientation 'Infer Center/Axis' to constrain named datum axis of component with CSYS datum axis of assembly and orientaion 'Touch' to constrain named face of component with datum plane of CSYS.