Home | Forum Index | Log in | Register | Profile
  Knowledge Base  
  Watched Topics  
  RSS feed  
  Tecplot Data Format       (TecIO Library)
 Log in 


Tecplot Add-on: Code Generator

This user-contributed add-on is unsupported. Please use forums for questions and comments.

(Please e-mail support@tecplot.com if you have an add-on you'd like to share or link to.)

Tecplot offers an enormous array of style settings. If you are writing an add-on or python automation, you can use the Code Generator to deter­mine the hierarchy of the Style Value you need. These snippets can be cut and pasted. The 2008R2 version will generate python-compatible code for Tecplot "get" functions.
  • Written by: Scott Fowler
  • Compatible with: Tecplot 360/Focus 2008
  • Known Limitations:
    1. The Python style generation is available only in Tecplot 360/Focus 2008 Release 2 (September 2008)
    2. Style generation for string parameters (e.g., time/date values) refers to a memory location, not the actual string value. This is a bug.
    3. ArgList: appendSet, appendSringList do not copy the appended items [bug 9892]
  • Instructions:
    1. Add this line to your tecplot.add file:
      $!LoadAddon "codegenerator"
    2. Start Tecplot. There will be a new menu option under Tools:

      The help page has a lot more detail. However, there are three modes (they're all performing the same function):
      • Toolbox mode - In Tecplot 360/Focus 2008, we added a StyleValue class (see the ADK reference manual) to simplify working with style settings. We recommend using this versus classic mode.

      • Classic mode - generates code using Tecplot's TcUtil layer. These functions are all in C, many available in FORTRAN.

      • Python mode - generates set style functions that are accessible via Python. This mode is supported only for Tecplot 360/Focus 2008 Release 2 (September 2008):

If you haven't already, take a minute to REGISTER for the Tecplot Talk forum. click here to register
The complete archives of the original Tecplot Talk email discussion group are available online. click here to view the archives
Most Recent Posts
How to load only last zone...
Problems showing triangulated ...
group of figures...
Re: Animating xy maps with all...
Re: Animating xy maps with all...

Powered by phpBB © 2001, 2005 phpBB Group
CONTOURS online newsletter   
   ©2006-2007 Tecplot, Inc. All rights reserved.  Privacy Policy turndown