×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NXOpen: code to update the status bar when saving causes flcikering in status bar

NXOpen: code to update the status bar when saving causes flcikering in status bar

NXOpen: code to update the status bar when saving causes flcikering in status bar

(OP)
I have my hooks in place to do some custom save operations when the user saves in NX. However, my code can take many minutes to run so I want to provide updates in the status bar while saving so the user doesn't think NX crashed.

This should work but does not (Java):

UFSession ufs = (UFSession) SessionFactory.get("UFSession");
UFUi ufui = ufs.ui();
ufui.setStatus(status); // This should work.... but doesn't?

When saving there is the save bar visible which does repaint while saving and the area to the right of it that flickers with various text messages while saving. I can see the message flicker but they don't stay up. They immediately disappear.

What is going on here? I'm on NX 8.5.2.3.

RE: NXOpen: code to update the status bar when saving causes flcikering in status bar

Hi

I tested your code in .net and NX8 and it works as intended.

How many status updates do you have? Perhaps some of the operations between status updates are done so fast that the status message is barely visible(flickering).

Have you tried timing with code the intervals between the update status? or add pauses to check if the status are displayed?
You can try running your code without the save operation, and check the last status shown in the status bar. The save operation has its own status updates.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources