/TEE, Label, Fname, Ext, --
Writes a list of commands to a specified file at the same
time that the commands are being executed.
LabelIndicates how ANSYS is to interpret this /TEE command:
Signals the beginning
of the command text that is to be written to Fname. If Fname already exists, specifying
NEW causes the contents of Fname to be
overwritten.
Indicates that you
want to append to Fname the command text
that follows.
Signals the end of the
command text that is to be written to or appended to Fname.
FnameFile name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name.
ExtFilename extension (eight-character maximum).
If you plan to execute the file as if it
were an ANSYS command, use the extension .mac.
--Unused field.
You can use the /TEE command to record a macro to a specified file at the same time that the macro is being executed. It is similar to the Linux tee command.
For more information about the /TEE command, see the Introducing APDL of the ANSYS Parametric Design Language Guide.
The following example illustrates the use of the /TEE command. If you issue these commands:
/tee,new,myfile,mac et,1,42,0,0,1 ex,1,3e7 /tee,end /tee,append,myfile,mac n,1,8 n,5,11 fill ngen,5,5,1,5,1,0,1 /tee,end
the content of myfile.mac is:
et,1,42,0,0,1 ex,1,3e7 n,1,8 n,5,11 fill ngen,5,5,1,5,1,0,1
This command is valid in any processor, but only during an interactive run.