Forums:
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