extracting points from a slice

Tecplot's automation language

Python scripts were supported in the alpha version for Legacy 360 (2013). Python inquiries in 2017 should be directed to the PyTecplot Forum.

Moderators: davetaflin, salter, steve, jprenaud, straton, Chris Idso

usman
Newbie
Posts: 2
Joined: Wed May 30, 2012 5:35 am
Location: pakistan

extracting points from a slice

Postby usman » Fri Aug 10, 2012 11:32 pm

Hi,

i have created contours of pressure on a slice position. I want to extract x,y (or radius,theta) points (along with pressure values) of this surface in a e.g 100x100 ordered grid points format.

I have created a rectangular zone (100x100x1) at the same z location as the slice. To make it have the same shape and position like the slice should i
calculate the coordinates of the ordered grid in a macro using the GETFIELDVALUE and SETFIELDVALUE macro
commands. and then later on interpolate from the slice onto the ordered grid.

I am having difficulty in using the above two macro commands. Any help will be highly appreciated.
Kindly also tell how to upload some pics / word file containing snapshots of my problem.

Chris Idso
Jedi Master
Posts: 249
Joined: Mon Jan 15, 2007 10:07 am
Location: Bellevue, WA
Contact:

Re: extracting points from a slice

Postby Chris Idso » Mon Aug 20, 2012 2:35 pm

Hello,

Did you extract your slice using the interactive slice tool, or did you use the Data/Extract/Slice from Plane feature?

Also is your slice at a onstant X,Y, or Z?
Chris


Christopher Idso

Tech Support Lead
Tecplot, Inc


Return to “Tecplot Macro Language”

Who is online

Users browsing this forum: No registered users and 2 guests