Select text from level

Hello all,

I am creating a module and I want to select only text in one level. Could you please help me with that!?

The thing I wrote until now:

CadInputQueue.SendCommand "CHOOSE ELEMENT "

CadInputQueue.SendCommand "POWERSELECTOR AREA BLOCK "

CadInputQueue.SendCommand "POWERSELECTOR MODE ADD "

CadInputQueue.SendKeyin "level element select ""level name"""

..Now I want to select only! the text in “level name” and put it “active” to use it for the following:

CadInputQueue.SendCommand "Change Attributes "

CadInputQueue.SendKeyin "CHANGE ATTRIBUTES USEACTIVE ON"

Thank you in advance.

Best regards

Katrin