# Setting nonlinear subdivision level through script

**URL:** https://discourse.paraview.org/t/setting-nonlinear-subdivision-level-through-script/6250
**Category:** ParaView Support
**Tags:** high-order-elements, python
**Created:** [January 18, 2021, 9:28am UTC](https://discourse.paraview.org/t/setting-nonlinear-subdivision-level-through-script/6250 "2021-01-18T09:28:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vachan-potluri](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vachan-potluri/32/2919_2.png) [@vachan-potluri](https://discourse.paraview.org/u/vachan-potluri)
#### Post date: [January 18, 2021, 9:28am UTC](https://discourse.paraview.org/t/setting-nonlinear-subdivision-level-through-script/6250/1 "2021-01-18T09:28:52Z")

</div>

Hi,

I have ParaView 5.6 and a bunch of `pvtu` files on a server to visualise. These contain high order data and I want to extract data over a line using a script.

I have a working script for the default case (linear cells). According to [this](https://github.com/dealii/dealii/wiki/Notes-on-visualizing-high-order-output) wiki page, Nonlinear Subdivision Level has to be manually set to visualise the high order data.

So my question is how can I do this setting through a paraview-python script?

P.S. I cannot use Trace Recorder for this on my personal device because it doesn’t support the required paraview version for high order visualisation.
