# Project Properties via code

**URL:** <https://forum.inductiveautomation.com/t/project-properties-via-code/31991>\
**Category:** Ignition\
**Created:** [February 6, 2020, 1:18pm UTC](https://forum.inductiveautomation.com/t/project-properties-via-code/31991 "2020-02-06T13:18:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 7, 2020, 4:35pm UTC](https://forum.inductiveautomation.com/t/project-properties-via-code/31991/2 "2020-02-07T16:35:32Z")

</div>

This isn’t directly possible - you can theoretically retrieve project properties in the runtime, but modifying them wouldn’t actually do anything to your running client.

If you just need to toggle the menu bars, then that’s the approach to take. Theoeretically, something like this _might_ work:

```python
from javax.swing import SwingUtilities
from com.inductiveautomation.factorypmi.application import FPMIApp

fpmiapp = SwingUtilities.getAncestorOfClass(FPMIApp, <some component reference>)
if fpmiapp is not None:
    # to hide
    fpmiapp.clientPanel.menu = None
    # to show
    fpmiapp.clientPanel.rebuildMenu()

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/project-properties-via-code/31991)._
