Tecplot 360 Quick Reference Guide
Tecplot 360 Quick Reference Guide
-debug dbugfile
-develop -f fontfile -h homedir -loadaddon addonname -m colormapfile -n -nobatchlog -nostdaddons -notoolbar -p scriptfile
Use quick playback mode. Ignores delay and pause commands. Place the macro functions in quickpanelfile in the Quick Macro Panel, instead of using the macros from the default file, tecplot.mcr. Turns off all standard-out messages (UNIX/Linux only). Set the filename for routing Print Files to printfile. Use stylefile as a stylesheet for the first frame (*.sty). Open the Quick Macro Panel upon startup. Display the version number. Run in full screen mode. Set the filename for export files to exportfile. Display macro commands in the Macro Viewer. This allows you to see macro commands prior to their launch.
3D Rotate Tools
Click-and-drag ALT-Click-and-drag Middle-click-and-drag/ALTRight-click-and-drag Right-click-and-drag C O R S T X Y Z Rotate about the rotation origin. Rotate about the viewer position using the active Rotate tool. Smoothly zoom in and out of the data. Translate the data. Move the rotation origin to the probed point, ignoring zones. Set the center of rotation. Switch to Rollerball rotation. Switch to Spherical rotation. Switch to Twist rotation. Switch to X-axis rotation. Switch to Y-axis rotation. Switch to Z-axis rotation.
Probe Tool
If the pointer is over a single valid cell, the interpolated field values from all nodes in the cell are returned. If multiple cells are candidates, the action is dependent upon the plot type: For 2D, the cell from the highest number zone is used. For 3D, the cell closest to the viewer is used. If the pointer is over a single valid cell, the field values from the nearest node in the cell are returned. If multiple cells are candidates, the action is dependent upon the plot type: For 2D, the cell from the highest number zone is used. For 3D, the cell closest to the viewer is used. If the pointer is not over any cell, then the field values from nearest data point (as measured in distance on the screen) are returned. The field values from the nearest point on the screen are returned (ignoring surfaces, zone number, and depth of the point). This is useful in 3D for probing on data points that are on the back side of a closed surface without having to rotate the object. In 2D, this is useful for probing on data points for zones that may be underneath other zones. Probe only on streamtraces, iso-surfaces, or slices. ALT-click If multiple cells are candidates, the action is dependent upon the plot type: For 2D, the cell from the highest number zone is used. For 3D, the cell closest to the viewer is used. Probe only on streamtraces, iso-surfaces, or slices. If multiple cells are candidates, the action is dependent upon the plot type: For 2D, the cell from the highest number zone is used. For 3D, the cell closest to the viewer is used. If the pointer is not over any cell, then the field values from nearest data point (as measured in distance on the screen) are returned.
Click
CTRL-click
SHIFT-CTRL-click
ALT-CTRL-click
ALT-CTRL-SHIFT-click X, Y T, R
Probe only on streamtraces, iso-surfaces, or slices. The field values from the nearest point on the screen are returned. When probing, press X or Y in XY Line to switch dependencies, or R or T in Polar Line.
Slice Tool
+ Click Turn on start/end slices, or increment the number of intermediate slices. Turn off start/end slices, or decrement the number of intermediate slices. If no slices are displayed for the current slice group, place the primary slice. Otherwise, move the closest displayed start, end, and primary slice from its current position to the clicked position. Place the start, end, or primary slice (whichever is closer to the click position) on the nearest derived object (streamtrace, slice or iso-surface). Place the start, end, or primary slice (whichever is closer to the click position) on the nearest data point. Switch to slicing constant I, J, or K-planes, respectively. Available for ordered zones only. Switch to slicing constant X-, Y-, or Z-planes, respectively. Switch between slice groups. (Slice groups are available in Tecplot 360 only.)
Translate/Magnify Tool
+ Drag SHIFT-drag SHIFT - SHIFT - + Reduce the magnification of the data. Increase the magnification of the data. Translate the data. Translate the paper. Reduce the magnification of the paper. Increase the magnification of the paper.
Zoom Tool
Click CTRL-click Drag Center the zoom around the location of your click. Center the zoom around the location of your click and zoom out. Draw a box to set the frame view.
CTRL-F
Macro Variables
Variables
|AUXDATASET:Auxname|
Notes
Retrieves auxiliary data named Auxname from a dataset. For example, |AUXDATASET:Reynolds| retrieves auxiliary data Reynolds. Retrieves auxiliary data named Auxname from a frame. For example, |AUXFRAME:MyFrame| retrieves auxiliary data MyFrame from the active frame. Retrieves auxiliary data named Auxname from a specific zone. For example, |AUXZONE[3]:BC| retrieves auxiliary data "BC" from zone 3. Maximum value of the n-axis range, where n is one of: Aa, R, X, Y or Z. Minimum value of the n-axis range, where n is one of: Aa, R, X, Y or Z. Returns the byte ordering (INTEL or MOTOROLA). Returns the dataset file name. Returns the title of the dataset, or No Data Set if a dataset does not exist. Returns the date in the form of dd Mmm yyyy. Returns the position of the end slice. Returns YES/NO to help macros complete record commands in the proper order. Returns the name of the active frame. Returns 1 if in batch mode, 0 if in interactive mode. Returns 1 if a dataset exists, and 0 otherwise. Returns the current iso-surfaces iso-value. Returns the current layout file name. Innermost loop counter. Returns the path to the directory containing the most recently opened macro file. Maximum value of the blanking variable. Maximum value of the contour variable. [I, J or K]-dimension of the first active zone (2D or 3D Cartesian plots only). For finite-element zones, MAXI returns the total number of nodes, MAXJ returns the total number of elements and MAXK returns the number of nodes per face (cellbased) or total number of faces (face-based). Maximum value of the variable assigned to the n-axis, where n is one of: A , R, X, Y, or Z. Maximum value of the scatter sizing variable in the active zones. Maximum value of the variable assigned to the [X, Y, Z]-vector component of the active zones. Maximum value of the variable nnn. Minimum value of the blanking variable.
a
|AUXFRAME:Auxname|
|AUXZONE:Auxname| |AXISMAXn| |AXISMINn| |BYTEORDERING| |DATASETFNAME| |DATASETTITLE| |DATE| |ENDSLICEPOS| |EXPORTISRECORDING| |FRAMENAME| |INBATCHMODE| |ISDATASETAVAILABLE| |ISOSURFACELEVEL| |LAYOUTFNAME| |LOOP| |MACROFILEPATH| |MAXB| |MAXC|
Variables
|MINC| |MINS| |MINU|, |MINV|, |MINW| |MINVAR[nnn]| |MINn| |NUMFRAMES| |NUMFIELDMAPS| |NUMLINEMAPS|
Notes
Minimum value of the contour variable. Minimum value of the scatter sizing variable for the active zones. Minimum value of the variable assigned to the [X, Y, Z]-vector component for the active zones. Minimum value of the variable nnn. Minimum value of the variable assigned to the n-axis, where n is one of: Aa, R, X, Y, or Z. Number of frames. Number of fieldmaps assigned to the active frame. Number of linemaps assigned to the active frame. Number of processors used. This may be different than the total number on the machine because of the $!Limits MaxAvailableProcessors configuration file command, or because of a product limitation. Tecplot Focus is limited to one processor, while Tecplot 360 is limited to eight. Number of variables in the current dataset. Number of zones in the current dataset. Returns 1=UNIX/Linux/Macintosh, 2=Windows. The height of the paper (in inches). The size of the paper (e.g. Letter or A4). The width of the paper (in inches). Returns the type of platform (e.g. SGI or Windows). Returns the plot type. 0 = Sketch, 1 = XY Line, 2 = 2D, 3 = 3D, 4 = Polar Line. Returns the file name of the last file sent for printing. Plane type to which slices are assigned. The current solution time. Returns the solution time of zone nnn. If ACTIVEOFFSET= is used, the integer value indicates the first zone associated with the nnnth active field map. Position of the first slice. Streamtrace starting position in X, Y, Z coordinates. Returns the streamtrace type such as Surface Line or Surface Ribbon. Path to the home directory. The version number. The current time in the form of hh:mm:ss. The name of a specified variable.
|NUMPROCESSORSUSED|
|NUMVARS| |NUMZONES| |OPSYS| |PAPERHEIGHT| |PAPERSIZE| |PAPERWIDTH| |PLATFORMNAME| |PLOTTYPE| |PRINTFNAME| |SLICEPLANETYPE| |SOLUTIONTIME| |SOLUTIONTIME[[ACTIV EOFFSET=]nnn]| |STARTSLICEPOS| |STREAMSTARTPOS| |STREAMTYPE| |TECHOME| |TECPLOTVERSION| |TIME| |VARNAME|
Variables
|ZONEMESHCOLOR[nnn] | |ZONENAME[nnn]|
Notes
Returns the color of the mesh for zone nnn. Returns the name of zone nnn.
a. where A represents the theta (or angle) axis variable in Polar Line plots.
Dynamic Text
Variables
&(AUXDATASET:name) &(AUXFRAME:name) &(AUXPAGE:name) &(AUXVAR[nnn]:name)
Notes
The value of the named auxiliary data attached to the dataset. The value of the named auxiliary data attached to the frame. The value of the named auxiliary data attached to the page. The value of the named auxiliary data attached to variable nnn. The value of the named auxiliary data attached to linemap Q, where Q = either nnn or ACTIVEOFFSET = nnn and nnn = linemap number. If ACTIVEOFFSET= is used, the integer value indicates the first linemap associated with the nnnth active fieldmap. The value of the named auxiliary data attached to Q, where Q = either nnn or ACTIVEOFFSET = nnn and nnn = zone number. If ACTIVEOFFSET= is used, the integer value indicates the first zone associated with the nnnth active fieldmap. Maximum value of the current n-axis range, where n is one of: Aa, R, X, Y, or Z. Minimum value of the current n-axis range, where n is one of: Aa, R, X, Y, or Z. Displays the platforms byte ordering (INTEL or MOTOROLA). The current date, in the format dd Mmm yyyy. Filename of the nnnth file associated with the current dataset. If nnn is omitted, then all dataset filenames are shown, separated by new lines. The current dataset title. The position of the ending slice plane. Returns YES if recording is active, otherwise returns NO. The frame name. Returns a value of 1 if the software is in batch mode, 0 if interactive. Returns a value of 1 if a dataset exists for the current frame, 0 if nonexistent. The value of the contour variable on the nnnth iso-surface. The name of the current layout file. Innermost loop counter. Path to the folder containing the most recently opened macro file.
&(AUXLINEMAP[Q]:name)
&(AUXZONE[Q]:name) &(AXISMAXn) &(AXISMINn) &(BYTEORDERING) &(DATE) &(DATASETFNAME[nnn]) &(DATASETTITLE) &(ENDSLICEPOS[<slice grouporactiveoffset>]) &(EXPORTISRECORDING) &(FRAMENAME) &(INBATCHMODE) &(ISDATASETAVAILABLE) &(ISOSURFACELEVEL[<iso surfacegrouporactiveoffset>] [nnn]) &(LAYOUTFNAME) &(LOOP) &(MACROFILEPATH)
Variables
&(MAXn)
Notes
Maximum value of the n variable, where n is one of: Aa, R, X, Y, or Z. For 2D or 3D Cartesian plots, the value is calculated from all active zones. For line plots, the value is calculated from the zone assigned to the first active linemap. Maximum value of the blanking variable for the first active constraint. For 2D or 3D Cartesian plots, the value is calculated from the active zones. For line plots, the value is calculated from the zone assigned to the first active linemap. Maximum value of the contour variable for contour group 1. For 2D or 3D Cartesian plots, the value is calculated from the active zones. For line plots, the value is calculated from the zone assigned to the first active linemap. [I, J, K]-dimension of the first active zone for 2D and 3D Cartesian plot types. For finite-element data, I represents the number of nodes in the first active zone, J represents the number of elements in the first active zone, and K represents the number of nodes per element (cell-based) or total number of faces (face-based) in the first active zone. Maximum value of the scatter sizing variable of the active zones. Maximum value of the variable assigned to the [X, Y, Z]-vector component of the active zones. Maximum value of variable nnn. Minimum value of the n variable, where n is one of: Aa, R, X, Y, or Z. For 2D or 3D Cartesian plots, the value is calculated from all active zones. For line plots, the value is calculated from the zone assigned to the first active linemap. Minimum value of the blanking variable of the first active blanking constraint. For 2D or 3D Cartesian plots, the value is calculated from all active zones. For line plots, the value is calculated from the zone assigned to the first active linemap. Minimum value of the contour variable of contour group 1. For 2D or 3D Cartesian plots, the value is calculated from all active zones. For line plots, the value is calculated from the zone assigned to the first active linemap. Minimum value of the scatter sizing variable for the active zones. Minimum value of the variable assigned to the [X, Y, Z]-vector component for the active zones. Minimum value of variable nnn. Number of frames. Number of processors used. This may be different than the total number on the machine because of the $!Limits MaxAvailableProcessors configuration file command, or because of a product limitation. Tecplot Focus is limited to one processor, while Tecplot 360 is limited to eight. Number of variables in the current dataset. Number of XY-linemaps assigned to the current frame. Number of zones in current dataset. Displays the current operating system. 1=UNIX/Linux/Macintosh, 2=Windows. The paper height (in inches).
&(MAXB)
&(MAXC)
&(MINB)
&(MINC) &(MINS) &(MINU), &(MINV), &(MINW) &(MINVAR[nnn]) &(NUMFRAMES) &(NUMPROCESSORS USED) &(NUMVARS) &(NUMXYMAPS) &(NUMZONES) &(OPSYS) &(PAPERHEIGHT)
Variables
&(PAPERWIDTH) &(PLATFORM) &(PLOTTYPE) &(PRIMARYSLICEPOS [<slicegrouporactiveoffset>]) &(PRINTFNAME) &(SLICEPLANETYPE[<slice grouporactiveoffset>]) &(SOLUTIONTIME) The paper width (in inches).
Notes
The platform type (e.g. SGI or WINDOWS). Plot type of the current frame: 0 for Sketch, 1 for XY Line, 2 for Cartesian 2D, 3 for Cartesian 3D, and 4 for Polar Line. The primary slice position. The name of the current print file. The type of the slice plane (X, Y, Z, I, J or K-planes). The current solution time. Solution time of Q, where Q = either nnn or ACTIVEOFFSET = nnn and nnn = zone number. If ACTIVEOFFSET= is used, the integer value indicates the fist zone associated with the nnnth active fieldmap. &(SOLUTIONTIME[5]) displays the solution time of the 5th zone. &(SOLUTIONTIME[ACTIVEOFFSET=3]) displays the solution time of the first zone in the 3rd active fieldmap. The position of the starting slice plane. The strandID of a zone in dynamic text. Starting position (X, Y, Z) of the nnnth streamtrace. Type (Surface Line, Volume Line, Volume Ribbon, Volume Rod) of the nnnth streamtrace. The value of the system environment variable string. Path to the home directory. Displays the version number. The current time, in the format hh:mm:ss. The variable name of variable nnn. Color of the mesh for Q, where Q = either nnn or ACTIVEOFFSET = nnn and nnn = zone number. If ACTIVEOFFSET= is used, the integer value indicates the nnnth active zone for field plots or the zone associated with the nnnth active linemap for line plots. The zone name of Q, where Q = either nnn or ACTIVEOFFSET = nnn and nnn = zone number. If ACTIVEOFFSET= is used, the integer value indicates the nnnth active zone for field plots or the zone associated with the nnnth active linemap for line plots.
&(SOLUTIONTIME[Q])
&(STARTSLICEPOS[<slice grouporactiveoffset>]) &(STRANDID[x]) &(STREAMSTARTPOS [nnn]) &(STREAMTYPE[nnn]) &($string) &(TECHOME) &(TECPLOTVERSION) &(TIME) &(VARNAME[nnn])
&(ZONEMESHCOLOR[Q])
&(ZONENAME[Q])
a. where A represents the theta (or angle) axis variable in Polar Line plots.
10
Custom Characters
11
To run the above module, either call the module from a macro file or launch the module from the Quick Python Scripts dialog.
Macro File
To call the Python script helloworld.py from a macro file, add this syntax to the macro file:
$!ADDONCOMMAND ADDONID = 'Python Utility' COMMAND = 'RUNPYFUNCTION MODULE="helloworld" FUNCTION="hello_world"'
Additional Resources
For detailed information on any of the topics discussed in this guide, refer to the Users Manual (included in your installation package). For additional information or help with your product, please visit our Tecplot Talk forum (www.tecplottalk.com). Tecplot Talk hosts a collection of user-supported forums for each of the Tecplot products. Forums also cover macros, data visualization concepts, installation issues, and more. Tecplot Talk also offers sample add-ons and Python modules freely available for download.
12