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

Object from a label

$
0
0

Hello,
I try to get the informations from a label. I need to get the object from the leader.

I use the following code:

Dim theobject as displayableobject
Dim theview as view
Dim thepoint as point3d
LeaderData.Leader.SetValue(theobject, theview, thepoint)

If the label is created with the function note from the user interface it works perfectly.

On my drawing there are a lot of labels created with a shipbuilding function.

The object I got from this label is a scalar.

It seems to be a special type of label created for shipbuilding purpose. The text is connected to an attribute of a body.

What I need is the body Is associated to the label leader.

Is there a possibility to get the body from a scalar?
I can´t convert it to face or edge because it is a smartobject.

View: exact before NX8.5


Viewing all articles
Browse latest Browse all 785

Trending Articles



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