Quantcast
Channel: NX Journaling - Journaling / NXOpen API
Viewing all articles
Browse latest Browse all 783

NXOpen.UF.Disp.DisplayTemporaryText Example

$
0
0

I would like to "mark" some information on Parts in an Assembly in my active monitor view as shown in picture. The marking data is taken from Parts' attribute.

Currently, I am able to obtain the attributes and get the abs/view location. I am looking into the way to display "Part Number 1", "Part Number 2", and "Part Number 3"

An example:
http://i64.tinypic.com/25tapuf.jpg
This is assumed I only have 3 parts with Child.Name =
"Part Number 1"
"Part Number 2"
"Part Number 3"

After searching, I found that NXOpen.UF.Disp.DisplayTemporaryText may be able to help me achieve what I would like to have but there is no example

Parameters

view_tag as Tag,
which_views as UFDisp.ViewType,
text as String,
text_coord as Double,
ref_point as UFDisp.extRef,
color UFObj.DispProps,
char_size as Double,
hardware as Int32

Can anyone help me with an example how to use this function


Viewing all articles
Browse latest Browse all 783

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>