Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: ilovekorn on November 15, 2023, 09:22:42 PM

Title: How to grab "Shape Data" value and display it as text on an object?
Post by: ilovekorn on November 15, 2023, 09:22:42 PM
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 (https://prnt.sc/R_lLvHV7PvFr)
Title: Re: How to grab "Shape Data" value and display it as text on an object?
Post by: ilovekorn on November 15, 2023, 10:00:22 PM
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 =SETATREF(Prop._VisDM_F1,SETATREFEXPR(Prop._VisDM_F1))

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

If anyone has a different way of solving it, I am curious!
Title: Re: How to grab "Shape Data" value and display it as text on an object?
Post by: Nikolay on November 15, 2023, 10:11:06 PM
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