Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

migrate sketches from Nx2 to Nx5

Status
Not open for further replies.

uwam2ie

Automotive
Jul 11, 2005
1,008
I have a question to Nx2 to Nx5 geometrie migration.
We have created many parts created in nx1 and nx2 years ago. Those parts are in strong in reuse.
The sketch visualation behaviour was changed in Nx4- Sketches new created in Nx5 are shown in object color - editing nx2 skteches shown in sketch line color -nx2 behaviour. Is there a way to migrate the nx2 sketches to Nx5 behaviour without recreation?
thx in ad
 
Replies continue below

Recommended for you

Sketches are shown in Object Color ONLY if you set the option for that. You can toggle the option OFF and then NX 5 will behave just like NX 2 sketches.

Now if the question was how do I change a Sketch curve's color to an object color instead of Sketch colors, then while outside the sketch task, select the sketch curves and use...

Edit -> Object Display...

...change the object color (which will have no effect on the colors used when the Object Color option is toggled OFF).

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
If you're talking about the Display Object Color option in the Sketcher, this can be either set as the default behavior at...

Customer Defaults -> Sketcher -> General -> All

...or it can be overridden at...

Preferences -> Sketch -> General

...but you have to be in the Sketch task for you get access to this option. You can also un-hide the Display Object Color toggle on the Sketcher toolbar inside the Sketch task and control it from there.

If your question was how do you upgrade an old sketch to the latest color scheme, you can do that by going to...

Preferences -> Sketch -> Colors

...and selecting the 'Inherit from Customer Defaults' button, which will upgrade older sketches to the latest color standards.

If this doesn't cover what you're looking for let me know, but please be very specific as there are many issues dealing with sketches and colors so we need to make sure we're both talking about the same thing.


John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
John you are right ...
try to follow me...
the sketches are in a def part buttom up thinking.
We are in context of the assy the sketches to be linked are
shown in the entire part references set
Sketches created in nx2 are shown in the cyan in this case not the object color of the sketch(grey), newly created sketches are shown in object color grey of the sketch.
This behaviour as I know was introduced in NX4 -
The color standard was not touched - in the seed part -
reused from nx2 to nx5 (cdf included).
What to do to get the same visualisation of the sketches maybe to get back the old look?
thx so far
 
When you say 'in context', are you saying that the Sketches are in the the current Work Part, which is NOT the Displayed Part? Are you also implying that when the Sketches ARE in the Displayed Part that there is NO difference in appearance between the old and new sketches? That his difference is ONLY seen when the Work Part is NOT the Displayed Part?

One thing to keep in mind, when working 'in context' the Displayed Part controls the appearance of the objects, not the Work Part.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
In context for me is that the sketches are not in the current part - the sketch geometrie is in a component in this case in the def part (buttom up)- As you sayed that the displayed part controls the appearance why are nx2 sketches cyan - new created sketches (nx5) in the def part grey -
 
OK, I checked this out using several versions of NX including NX 5.0, NX 6.0, NX 7.0 and NX 7.5, and we're at least consistent ;-)

It would appear that when an Assembly/Component/Sketch scheme like your example is first opened, that for some reason, when working 'in context', that you see the sketches AS IF they were set to display their 'Object' colors even though when you go to the actual Part file, that option has NOT been toggled ON.

Now I did discover a rather strange behavior in that if while working 'in context', AND ONLY while working 'in context' (the part with the sketches is the Work part and the Assembly is the Displayed part), if I were to EDIT EITHER one of the sketches (even if all I do is simply enter the sketch task and then immediately leave it), that when I return the assembly to be BOTH the Work and Displayed part (I'm NO longer working 'in context'), that the appearance is NOW correct (it matches what you would see if you had made ONLY the part with the sketches the Displayed part). Now you might think that this as 'fixed' the behavior and that saving to the parts will make it all right. Sorry, but saving the files, and the closing them, the next time they are opened, we're right back where we started.

As to what's causing this, I can't really say, but I suspect that it has something to do with not being able to properly pass the display criteria from the Component part to the Assembly part when it's first opened or at least not until the Sketches are forced to be fully loaded, WHILE WORKING IN CONTEXT, by editing them in context.

Now I could open a PR and see what development has to say about this but since this appears to have been the default behavior for some time now I suspect that they will not put a very high priority on this since it a doesn't cause any real harm, other than not seeing the sketch colors properly when working 'in context'. If I do open the PR, I'll pass along anything I learn.

BTW, I don't think this has anything to do with whether the Sketches were created in NX 2.0 or NX 5.0, or ANY version for that matter, since when I looked at your sketches, sketch_000 was created with objects which are 'Cyan' while sketch_001 was create with object which are 'Pure Green' (which is how they are seen 'in context'). One thing I did learn is that with NX 7.5, when you ask to list the information about an object, BOTH the 'Color' (AKA Object Color) AND the 'Display Color' of the object is listed, whereas prior to NX 7.5 only the 'Color' (AKA Object Color) was listed. This may indicate that development is aware of this unexpected display situation and while have not yet fixed it, they are at least providing more information about the colors of the object, both actual and displayed, which might help users to at least better understand what's happening, if not exactly why.

As I said before, I can open a PR if you would like me to follow-up or not, just let me know, OK?

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
... thanks John
would be nice if you do the call. In most cases ( BTW there was no in this case) I get them back ...closed - with works as designed - I'm tired doing calls
 
OK, I showed this behavior to the leader of the Sketcher group and he agrees that it shouldn't act this way and he agrees that I should open a PR, which I intend to do. However, as I suspected, he stated that while he'll make sure that the PR is reviewed quickly, that unless the fix is trivial, that it will not be given a very high priority as it appears to have no impact on the validity or integrity of the assembly model where the odd behavior is observed, and besides, this has been working this way since the release of NX 5.0 and yet it's the first time anyone has brought it to his attention so it's either something no one else has ever noticed or since it never hart anything, no one has ever felt compelled to contact GTAC and open an IR/PR.

Anyway, if I learn anything, I'll pass it along.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
OK, an update.

We tracked down the problem and it has been fixed. However, since there are workarounds and the behavior does not prevent a user from doing his/her work, the fix is only being submitted to NX 8.0.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor