# Programming input data into a section of the mesh?

**URL:** https://discourse.paraview.org/t/programming-input-data-into-a-section-of-the-mesh/3419
**Category:** ParaView Support
**Tags:** python
**Created:** [January 27, 2020, 8:43pm UTC](https://discourse.paraview.org/t/programming-input-data-into-a-section-of-the-mesh/3419 "2020-01-27T20:43:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mohammed\_Fuad\_Choudh](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mohammed_fuad_choudh/32/2802_2.png) [@Mohammed\_Fuad\_Choudh](https://discourse.paraview.org/u/Mohammed_Fuad_Choudh)
#### Post date: [January 27, 2020, 8:43pm UTC](https://discourse.paraview.org/t/programming-input-data-into-a-section-of-the-mesh/3419/1 "2020-01-27T20:43:34Z")

</div>

Hello,

I’ve imported a geometry into paraview that already has some solution data. I want to filter the Mesh into different regions using the Threshold Filter, group those regions together into a new object, and finally program each region to have a different value ex: Temperature: 500K

How can I do the last step programatically? Can someone point me to modifying cell/point properties like temperature?

Thanks

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 28, 2020, 2:58am UTC](https://discourse.paraview.org/t/programming-input-data-into-a-section-of-the-mesh/3419/2 "2020-01-28T02:58:55Z")

</div>

For each part you want to threshold :  
`Threshold + Calculator`

Then, select all the calculators and :  
`GroupDataSet`

---

<div class="post-metadata">

### Author: ![Mohammed\_Fuad\_Choudh](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mohammed_fuad_choudh/32/2802_2.png) [@Mohammed\_Fuad\_Choudh](https://discourse.paraview.org/u/Mohammed_Fuad_Choudh)
#### Post date: [January 28, 2020, 2:30pm UTC](https://discourse.paraview.org/t/programming-input-data-into-a-section-of-the-mesh/3419/3 "2020-01-28T14:30:26Z")

</div>

Thank you!
