CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Extract Data from Polyline in a Macro (Tecplot) (https://www.cfd-online.com/Forums/main/15679-extract-data-polyline-macro-tecplot.html)

Joe September 5, 2008 03:46

Extract Data from Polyline in a Macro (Tecplot)
 
Hi Guys

I am trying to extract a number of points from a couple of polylines.

The idea is to get the data and compare it to an experimental microphone array.

This has to be done via macro as I have 1024 DES-timesteps.

The macro works fine, however it does not give me the correct coordinates

I attached the relevant part of the macro below (the line breaks are as they should be, the forum here seems to cut them out)

Any comment would be appreciated

$!ACTIVEFIELDZONES = [6] $!EXTRACTFROMPOLYLINE

EXTRACTTHROUGHVOLUME = NO

EXTRACTLINEPOINTSONLY = NO

INCLUDEDISTANCEVAR = NO

NUMPTS = 32

EXTRACTTOFILE = NO

RAWDATA 2 -772.000000000 750.000000000 0 228.000000000 750.000000000 0 $!PICK SETMOUSEMODE

MOUSEMODE = SELECT $!EXTRACTFROMPOLYLINE

EXTRACTTHROUGHVOLUME = NO

EXTRACTLINEPOINTSONLY = NO

INCLUDEDISTANCEVAR = NO

NUMPTS = 32

EXTRACTTOFILE = NO

RAWDATA 2 -272.00000000 1250.00000000 0 -272.00000000 250.000000000 0 $!PICK SETMOUSEMODE

MOUSEMODE = SELECT $!WRITEDATASET "/media/FESTPLATTE/DES_Philipp/PLT_Dateien/plt/top|DUMMY|.dat"

INCLUDETEXT = NO

INCLUDEGEOM = NO

INCLUDECUSTOMLABELS = NO

ASSOCIATELAYOUTWITHDATAFILE = NO

ZONELIST = [8-9]

VARPOSITIONLIST = [1-3,8]

BINARY = NO

USEPOINTFORMAT = YES

PRECISION = 9



All times are GMT -4. The time now is 04:44.