Abaqus - script

hi, everyone, How to get the content of legend through script.

Abaqus