Visio Discussions > ShapeSheet & Smart Shapes

How to grab "Shape Data" value and display it as text on an object?

(1/1)

ilovekorn:
Hello!! :) :) :)

I am trying to get the PointName to display the current text, but I am unsure of what function can be used.

Would I need to use =SETAREF?
I think I need to use =SHAPETEXT() but I am not sure how

Please see below.

Screenshot:
https://prnt.sc/R_lLvHV7PvFr

ilovekorn:
I got it to work by
double clicking the object to edit the text > right click to open up field options > Custom Formula > and then I input
--- Code ---
=SETATREF(Prop._VisDM_F1,SETATREFEXPR(Prop._VisDM_F1))
--- End code ---

Here's a screenshot for what it looks like
https://prnt.sc/8lXUn2Jj-YWx

If anyone has a different way of solving it, I am curious!

Nikolay:
There is a simple way probably, unless I miss the point.  You don't need to open the ShapeSheet.
Instead, use "Insert Field" command on the ribbon, and select the field you want to show as a text.

https://youtu.be/KRufpyxaW7A?si=pKIxVqs-b1BWcdla&t=101

Navigation

[0] Message Index

Go to full version