[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 590: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 646: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1068: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1068: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1068: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
Tecplot Talk • opening multiple data files using macros
Page 1 of 1

opening multiple data files using macros

Posted: Wed Apr 02, 2014 10:22 pm
by nipunarora088
I have to handle many data files and on each file i have to perform similar functions for which i have already written a macro script. The name of the files are in the numerical order like "plunging_1.plt", "plunging_2.plt","plunging_3.plt",,,,,.

#!MC 1200
# Created by Tecplot 360 build 12.0.0.4231
$!VarSet |MFBD| = 'C:\Program Files (x86)\Tecplot\Tec360 2011\bin'
$!READDATASET '"H:\Plunging_membrane\codes\newman\22_3_14\plunging_1.plt" '



Is it possible to open these files using a for loop instead of opening each file individually and then executing the same commands.

Re: opening multiple data files using macros

Posted: Thu Apr 03, 2014 6:50 am
by salter

Re: opening multiple data files using macros

Posted: Thu Apr 03, 2014 8:49 am
by nipunarora088

Re: opening multiple data files using macros

Posted: Fri Apr 04, 2014 6:55 am
by salter
You are most welcome.