Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to update the Cue/Status Bar of NX using NXOpen? 1

Status
Not open for further replies.

biw01

Automotive
Dec 31, 2011
152
Hello Friends,

Can someone let me know if it is possible to update the cue/status bar of NX with some custom message using NXOpen?

Regards,
Amitabh
 
Replies continue below

Recommended for you

There are wrapper methods for placing a message on the prompt line and on the status line.

I use

Option Strict Off
Imports System
Imports NXOpen
Imports NXOpenUI
Imports NXOpen.UF

Module project1
Dim s As Session = Session.GetSession()
Dim ufs As UFSession = UFSession.GetUFSession()
Dim ui As UI = UI.GetUI()
Dim lw As ListingWindow = s.ListingWindow
Dim wp As Part = s.Parts.Work

then anywhere in the program the commands are

ufs.Ui.SetPrompt("Message for prompt line")
ufs.Ui.SetStatus("Message for status line")

Remember that many ui commands allow you to write messages to the prompt line.

Hope this helps.

Frank Swinkels
 
Thank you Frank.
I will test this and get back if i have more queries.
Thanks once again for the prompt help.

Regards,
Amitabh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor