# The tool (Reset Properties in Polygonal Region) 's parameters and the value class format of new property

**URL:** <https://discourse.opengeosys.org/t/the-tool-reset-properties-in-polygonal-region-s-parameters-and-the-value-class-format-of-new-property/1312>\
**Category:** Help & Support\
**Tags:** ogs6\
**Created:** [October 18, 2023, 3:15pm UTC](https://discourse.opengeosys.org/t/the-tool-reset-properties-in-polygonal-region-s-parameters-and-the-value-class-format-of-new-property/1312 "2023-10-18T15:15:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minouc](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/minouc/32/1092_2.png) [@Minouc](https://discourse.opengeosys.org/u/Minouc)\
**Post date:** [October 18, 2023, 3:15pm UTC](https://discourse.opengeosys.org/t/the-tool-reset-properties-in-polygonal-region-s-parameters-and-the-value-class-format-of-new-property/1312/1 "2023-10-18T15:15:09Z")

</div>

Hi.Problems encountered when using ResetPropertiesInPolygonalRegion tool to define grid properties for areas; first, the toolkit’s value types only include int and char, but I need double-precision floating point types, or an exponent based on base 10. How to solve this problem? Also, it seems that the newly added property name cannot contain underline characters. Is it because the tools provided by ogs cannot use such symbols?  
Dear joergbuchwald also give another way to set properties in different regions,like VTUInterface.I’m working on trying this. But I still want to know if the previous approach will work.

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [October 19, 2023, 6:58am UTC](https://discourse.opengeosys.org/t/the-tool-reset-properties-in-polygonal-region-s-parameters-and-the-value-class-format-of-new-property/1312/2 "2023-10-19T06:58:42Z")

</div>

It is correct that the tool `ResetPropertiesInPolygonalRegion` can set `integer`, `character`, and `boolean` properties. An integer property could be used in paraview calculator to generate floating point number property.  
Underscores in names are allowed. However, it looks like adding any new property generally requires the `MaterialIDs` property is already in the mesh. I’m not sure, but this could be a bug.

---

<div class="post-metadata">

**Author:** ![Minouc](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/minouc/32/1092_2.png) [@Minouc](https://discourse.opengeosys.org/u/Minouc)\
**Post date:** [October 19, 2023, 2:25pm UTC](https://discourse.opengeosys.org/t/the-tool-reset-properties-in-polygonal-region-s-parameters-and-the-value-class-format-of-new-property/1312/3 "2023-10-19T14:25:15Z")

</div>

> [@thomas.fischer](#):
>
> An integer property could be used in paraview calculator to generate floating point number property.

But what I need is to define different values in different MaterialIDs. So in my impression, calculator does not seem to be able to implement this function.If the tool ResetPropertiesInPolygonalRegion cannot solve the problem of inputting floating point data types, then I can only find another way.
