# convertIntoMolecule Filter resets Styling parameters

**URL:** https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640
**Category:** Development
**Created:** [June 22, 2020, 10:31am UTC](https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640 "2020-06-22T10:31:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![christian89](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7ba0ec/32.png) [@christian89](https://discourse.paraview.org/u/christian89)
#### Post date: [June 22, 2020, 10:31am UTC](https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640/1 "2020-06-22T10:31:58Z")

</div>

Hey folks,

I am using the convertIntoMolecule Filter to render Particles in v.5.8.0. Therefore I set in my macro the Styling parameter AtomicRadiusArrayName=‘my\_array\_name’.  
But every time the parameter is not accepted without any error and set to ‘Atomic Radius’.  
Also when the object was hidden and again activated the Styling parameters are reset to defaults.  
So I have to fix it manually which can be very annoying.

I hope this can be fixed in a future release.

Thanks  
Christian

---

<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: [June 22, 2020, 11:03am UTC](https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640/2 "2020-06-22T11:03:37Z")

</div>

Can you share a dataset ?

FYI : @nicolas.vuaille

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [June 22, 2020, 12:37pm UTC](https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640/3 "2020-06-22T12:37:25Z")

</div>

Thanks for reporting!

From what I try, it seems that the property is correctly applied, but the combobox displays the wrong name (that still is a bug). Can you confirm ?

---

<div class="post-metadata">

### Author: ![christian89](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/7ba0ec/32.png) [@christian89](https://discourse.paraview.org/u/christian89)
#### Post date: [June 22, 2020, 2:01pm UTC](https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640/4 "2020-06-22T14:01:27Z")

</div>

If you click the properties in the combobox, everything is fine, unless if you switch sources in the pipeline as you can see in this short video I made:

[/uploads/default/original/2X/2/2ae957c5d74a97d030428384653af0632645ee1a.webm](https://discourse.paraview.org/uploads/default/original/2X/2/2ae957c5d74a97d030428384653af0632645ee1a.webm)

Also it is not possible to modify the item  
convertIntoMoleculeDisplay.AtomicRadiusArrayName = ‘radius’  
by Makrofile.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [July 3, 2020, 7:49am UTC](https://discourse.paraview.org/t/convertintomolecule-filter-resets-styling-parameters/4640/5 "2020-07-03T07:49:27Z")

</div>

For the macro part, you should also specify

`convertIntoMolecule1Display.AtomicRadiusType = 'Input Array'`

For the reset problem, I opened an issue on the bug tracker : [https://gitlab.kitware.com/paraview/paraview/-/issues/20059](https://gitlab.kitware.com/paraview/paraview/-/issues/20059)
