Expression which retrieves the property of an item types elements linked by a geometric constraint

at the request of a moderator as part of an exchange on a topic I allow myself to post this idea.
Is it possible to add an expression in item types which retrieves information from an object linked by a geometric constraint.
Like for example " this.GetElement ()." Geometric constraint " property name "
This would create a quick link between several elements accessible to all without having advanced knowledge in computer programming.
Useful for many fields of application!

Thank you for your attention to this request

Regards, Cyril B. // A french user (with school English)