Functions | |
Boolean_t | TecUtilDataSetReadX (ArgList_pa ArgList) |
Read one or more data files into Tecplot to form a new data set in the current frame. | |
void | TecUtilDataLoadBegin (void) |
Notifies Tecplot that a major data load operation is about to begin. | |
void | TecUtilDataLoadEnd (void) |
Notifies Tecplot that a major data load operation has completed. |
void TecUtilDataLoadBegin | ( | void | ) |
Notifies Tecplot that a major data load operation is about to begin.
Please see TecUtilDataLoadEnd() for more details.
TecUtilDataLoadBegin() and TecUtilDataLoadEnd() are used together with add-ons that perform a moving window of calculations through data. This is particularly important for add-ons processing transient data.
Results = TecUtil.DataLoadBegin() Output: Results[0] ReturnVal NONE
void TecUtilDataLoadEnd | ( | void | ) |
Notifies Tecplot that a major data load operation has completed.
At the beginning or end of each major data load operation Tecplot examines its current memory use and decides if it needs to unload any data.
After this call all data references (i.e. field data, node maps, face neighbors, etc.) previously acquired by the add-on are invalid and should be re-acquired before using them again.
TecUtilDataLoadBegin() and TecUtilDataLoadEnd() are used together with add-ons that perform a moving window of calculations through data. This is particularly important for add-ons processing transient data.
Results = TecUtil.DataLoadEnd() Output: Results[0] ReturnVal NONE
Boolean_t TecUtilDataSetReadX | ( | ArgList_pa | ArgList | ) |
Read one or more data files into Tecplot to form a new data set in the current frame.
ArgList | Set of Arglist entries. This is built using calls to TecUtilArgListAppendXXXX functions. Arglist Values SV_READDATAOPTION
SV_RESETSTYLE
SV_FILENAMESORINSTRUCTIONS
SV_DATASETREADER
SV_INITIALPLOTFIRSTZONEONLY
SV_INITIALPLOTTYPE
SV_INCLUDETEXT
SV_INCLUDEGEOM
SV_INCLUDECUSTOMLABL
SV_INCLUDEDATA
SV_COLLAPSEZONESANDVARS
SV_ASSIGNSTRANDIDS
SV_ADDZONESTOEXISTINGSTRANDS
SV_ZONELIST
SV_VARLOADMODE
SV_VARPOSITIONLIST
SV_VARNAMELIST
SV_ISKIP
SV_JSKIP
SV_KSKIP
|
Must have one or more frames.
INTEGER*4 FUNCTION TecUtilDataSetReadX(ArgListPtr) POINTER (ArgListPtr, ArgList)
Python Syntax:
Results = TecUtil.DataSetReadX(ArgList)
Input:
ArgList dictionary
Output:
Results[0] ReturnVal boolean
Read in a the file newdata.plt. Note that some arglist entries are shown here using their default values as an example only as they normally would not have to be provided.
StringList_pa Instructions = TecUtilStringListAlloc(); ArgList_pa ArgList; TecUtilLockStart(AddOnID); ArgList = TecUtilArgListAlloc(); TecUtilStringListAppendString(Instructions, "newdata.plt"); TecUtilArgListAppendInt(ArgList, SV_READDATAOPTION, ReadDataOption_NewData); TecUtilArgListAppendInt(ArgList, SV_RESETSTYLE, TRUE); TecUtilArgListAppendStringList(ArgList,SV_FILENAMESORINSTRUCTIONS, Instructions); TecUtilArgListAppendInt(ArgList, SV_INITIALPLOTFIRSTZONEONLY,FALSE); TecUtilArgListAppendInt(ArgList, SV_INITIALPLOTTYPE,PlotType_Automatic); TecUtilArgListAppendInt(ArgList, SV_INCLUDETEXT, TRUE); TecUtilArgListAppendInt(ArgList, SV_INCLUDEGEOM, TRUE); TecUtilArgListAppendInt(ArgList, SV_INCLUDECUSTOMLABELS, TRUE); TecUtilArgListAppendInt(ArgList, SV_INCLUDEDATA, TRUE); TecUtilArgListAppendInt(ArgList, SV_COLLAPSEZONESANDVARS, FALSE); TecUtilArgListAppendInt(ArgList, SV_VARLOADMODE, VarLoadMode_ByPosition); TecUtilArgListAppendArray(ArgList, SV_VARPOSITIONLIST, NULL); TecUtilArgListAppendInt(ArgList, SV_ISKIP, 1); TecUtilArgListAppendInt(ArgList, SV_JSKIP, 1); TecUtilArgListAppendInt(ArgList, SV_KSKIP, 1); TecUtilDataSetReadX(ArgList); TecUtilStringListDealloc(&Instructions); TecUtilArgListDealloc(&ArgList); TecUtilLockFinish(AddOnID);