How to reference the rectangle mentioned in the config script

Hello Team,

I have created config as below:

Now I am refering the same in another script. But I am not getting whatever rectangle set in the config.

I am not sure whether it’s optimal soultion:
I have updated the code as below and working.
image

image

You should use like this:
log Project_details_screen().leftmenuSection

Here are a couple of links that I hope you will find useful: