Dynamic Text name help

631
2
04-23-2021 02:04 PM
Labels (3)
HaileyG
New Contributor II

I am trying to figure out how to get the dynamic text to read the name of the layout feature it refers to. For example, the name of this text feature is "Plot 1". Instead of having to open up properties and type in "Plot 1" is there a dynamic text script that will just use the name field? 

Referring to picture, name would say Plot 1 and the text field would fill with that namedynamic text.JPG

0 Kudos
2 Replies
CarlMorrison
Occasional Contributor

One quick way is to navigate to the Insert tab on the ribbon, on the Graphics and Text panel select Dynamic Text and browse to the Layout section and select Name which will place text on your layout.  Open that text element and copy the dynamic text code and past it into your text.  Your version should look like this 

<dyn type="layout" name="Plot1"  property="name"/>

 

0 Kudos
HaileyG
New Contributor II

Thank you for the suggestion! That just seems to return the name of the layout though, not the name of the text element. I am just trying to get the name of my text to match what the actual text says. 

0 Kudos