CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Tecplot (http://www.cfd-online.com/Forums/tecplot/)
-   -   Tecplot - Macro: Variable with variable name... (http://www.cfd-online.com/Forums/tecplot/75117-tecplot-macro-variable-variable-name.html)

trial April 16, 2010 12:35

Tecplot - Macro: Variable with variable name...
 
Hello,

is it possible to define variables in Tecplot macros with a variable name?
I tried something like this in a loop:

$!GETFIELDVALUE (|Y|NEXTPOINT||)

didn't work out!

If anyone has an idea or KNOWS that it doesn't work would make me very happy. Thanks for your help.

Cheerio,
trial

quarkz April 17, 2010 03:04

You can try the www.tecplottalk.com forum. Tecplot specialists 'll be there to help you.

Светлана January 8, 2014 23:52

After $!GETFIELDVALUE and a space you usually type the name of macro variable to put the value into. Unclear what you want from your description and snippet. Please elaborate.

scott_rumage January 9, 2014 10:53

It is my understanding that Tecplot’s macro language does not support the use of a variable within a variable.

If one’s work requires this, then the alternative is to write a Python script in Tecplot.

Scott


All times are GMT -4. The time now is 04:24.