# Python query about turning off Static Switch Paramter from Material Instance (not value)

**URL:** <https://forums.unrealengine.com/t/python-query-about-turning-off-static-switch-paramter-from-material-instance-not-value/1719851>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, editor\
**Created:** [February 29, 2024, 6:53am UTC](https://forums.unrealengine.com/t/python-query-about-turning-off-static-switch-paramter-from-material-instance-not-value/1719851 "2024-02-29T06:53:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vizard15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vizard15](https://forums.unrealengine.com/u/Vizard15)\
**Post date:** [February 29, 2024, 6:53am UTC](https://forums.unrealengine.com/t/python-query-about-turning-off-static-switch-paramter-from-material-instance-not-value/1719851/1 "2024-02-29T06:53:30Z")

</div>

Hello,

I’m trying to write a python script to blanket turn off the use of Normal maps in the project for optimisation tests. To turn off the static switch param value I can use:

```auto
loaded_instance = unreal.EditorAssetLibrary.load_asset(my_instance)
unreal.MaterialEditingLibrary.set_material_instance_static_switch_parameter_value(loaded_instance, "Use Normal Map", False)

```

What I’d like to do is to turn off the “Use Normal Map” flag (refer to image)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/3/493dd5a97186d1ec9f559cab86801c04a253bba0.png)

There doesn’t seem to be any calls in the [unreal.MaterialEditingLibrary](https://docs.unrealengine.com/5.3/en-US/PythonAPI/class/MaterialEditingLibrary.html). I’m using UE 5.3, and in a previous project I have found a script that called `unreal.MaterialEditingLibrary.remove_material_instance_static_switch_parameter_value_override()` but that seems to have been deprecated.

Appretiate the help.

---

<div class="post-metadata">

**Author:** ![Em4Russ0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/em4russ0/32/710746_2.png) [@Em4Russ0](https://forums.unrealengine.com/u/Em4Russ0)\
**Post date:** [August 27, 2026, 8:10am UTC](https://forums.unrealengine.com/t/python-query-about-turning-off-static-switch-paramter-from-material-instance-not-value/1719851/2 "2026-08-27T08:10:50Z")

</div>

Bump! I’d like to know this as well! I searched through the code and found nothing.
