Displaying the name of a component in the 3D word

Hello,

i would like to display the name of a component in the 3D world. I would use the Geometry Feature Text. The tricky part for me is to prepare the Text property that the displayed text changes automatically, when the Component name changes.

I found out that I can set Text = Name. This allows to change the displayed text, when the feature name changes. For my desired behaviour, I would need something like:

Text = myComponent.Name

Is there an easy way to obtain the components name using the Text property or do I need a Python script for this?

Thank you in advance for your help!