Cancel
Showing results for 
Search instead for 
Did you mean: 

Show small dialog

Pioneer
Pioneer

Hi all,

 

Is it possible using API to display the dialog which connect to object like as attached picture?

This is useful to show object information.

 

Thanks 

 

Terry

label.jpg

6 REPLIES

Re: Show small dialog

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor
What exactly you want? you want to measure something?

Re: Show small dialog

Pioneer
Pioneer

I want to show objects information by number of small dialogs on screen and each dialog has link pointed to the object.

 

Terry

Re: Show small dialog

Pioneer
Pioneer

Finally I used tempoary line and text to show out informaiton on screen (Left), however I 'm still looking for the possibility to use a small dialog which look like the attached picture (Right). Is there any functions can do the similar...?

 

Thanks

 

Terry

Re: Show small dialog

Phenom
Phenom

NX does not have any built in API to create these small 'temporary' dialogs (as far as I know).

But you could get something more like you want with some careful usage of the following (or their wrapper methods):

 

UF_DISP_labeled_conehead
UF_DISP_display_temporary_line
UF_DISP_display_temporary_point
UF_DISP_display_temporary_text

 

You could possibly even create a tiny WinForms dialog that sat at the end of the leader line you displayed. But that's an awful lot of work for a simple label.

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: Show small dialog

Pioneer
Pioneer

Thanks Graham, I also consider using winfrom but as you said it becomes complicated if I display more than hundred labels on screen...

Re: Show small dialog

Esteemed Contributor
Esteemed Contributor

Have you submitted an ER?

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled