The macro language does not understand nested macro variables. For example, this expression:
Is interpreted as:
1. Macro variable: |ZONENAME[|
2. Characters "LOOP"
3. Macro variable: |]|
To get around this limitation, you can use the extendmcr add-on. This add-on is not enabled by default (go yell at Jim), so you'll have to edit your tecplot.add file. Then you can do something like this:
Code: Select all
Command='QUERY.ZONENAMEBYNUM |Loop| MyZone'
$!If "|MyZone|" == "myname"