cancel
Showing results for 
Search instead for 
Did you mean: 

how to get textblock size of annotation text

I have created a udo in nx11 using NXOpen in C#.

I want size of textBlock as shown in fig in orange box.Please find attached sna.

Is there any API in nxopen which gives exact box of text or any information about text.

Thanks.

 

3 REPLIES

Re: how to get textblock size of annotation text

Siemens Phenom Siemens Phenom
Siemens Phenom

There is an Open C function called UF_DRF_ask_annotation_text_box() that might do what you want.

 

It is also wrapped for use in .Net as UFDrf.AskAnnotationTextBox().

Re: how to get textblock size of annotation text

Thanks for your quick reply.

Itried this function "UFDrf.AskAnnotationTextBox()."

But its output i.e left corner point is not exactly at left corner of note.

what could be the reason?please find attached snapshot.

 

Re: how to get textblock size of annotation text

Siemens Phenom Siemens Phenom
Siemens Phenom

 

Please log an IR with GTAC so we can investigate thoroughly.  We will need your data.

 

Thanks!