05-29-2015 10:22 AM
We switched to NX8.5 this year and back when I was testing it I recall having the problem I'm going to describe and resolving it. But now its come back to bite me again and I can't recall what the solution was.
When I open an assembly part the ANT looks like this:
We have a macro (a real macro, not a journal) that makes some small modifications to a CAM object (operation or tool or whatever), it does absolutely nothing regarding assemblies. BUT after executing this macro the ANT now looks like this:
You can see that the descriptive name has < and > around it and the component name has underscores ( _ ) around it (the yellow highlight was added by me).
This isn't a problem until the user wants to run an application I wrote that does work with the components. At this point it gets the component names from some attributes and tries to find the instances of these components. Only now the component names have changed it fails to find them.
What the hell is changing the component name and descriptive part name??? And why???
Like I say I'm sure I found some setting or something regarding this a few months back, but I'm damned if I can find anything now.
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: [NX8.5.3.3 MP11 64bit] Testing: [NX12.0.2 MP1]
Solved! Go to Solution.
05-29-2015 10:29 AM - edited 05-29-2015 10:32 AM
If Preferences -> assembly -> descriptive file name is set to something other than "file name", you will get the angle brackets around the name.
Perhaps the macro is inadvertently changing the file name option.
05-29-2015 10:34 AM
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: [NX8.5.3.3 MP11 64bit] Testing: [NX12.0.2 MP1]
05-29-2015 11:02 AM
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: [NX8.5.3.3 MP11 64bit] Testing: [NX12.0.2 MP1]