# OkPy

**URL:** https://forum.orkestra.online/c/okpy-related-topics/5.md

[Latest](https://forum.orkestra.online/latest.md) · [Categories](https://forum.orkestra.online/categories.md) · [Tags](https://forum.orkestra.online/tags.md)

---

## [About the OkPy category](https://forum.orkestra.online/t/about-the-okpy-category/32)

<div class="topic-metadata">

**Author:** [@m.elayoubi](https://forum.orkestra.online/u/m.elayoubi)\
**Replies:** 0

</div>

---

## [Running another OkPy tool while OkPy editor is open causes "\> Test\_" mode to run the wrong tool](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270)

<div class="topic-metadata">

**Author:** [@FilipeFinco](https://forum.orkestra.online/u/FilipeFinco)\
**Replies:** 3\
**Last updated:** [September 22, 2026, 9:27pm UTC](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270 "2026-09-22T21:27:55Z")

</div>

While working on a OkPy tool I had to run another OkPy tool to setup my model for testing the tool I am currently working on in the editor. The other tool ran normally and I continued to work on the tool open in the edit…

---

## [Strange file index bug on OkPy editor? Code gets overridden when deleting a file](https://forum.orkestra.online/t/strange-file-index-bug-on-okpy-editor-code-gets-overridden-when-deleting-a-file/272)

<div class="topic-metadata">

**Author:** [@FilipeFinco](https://forum.orkestra.online/u/FilipeFinco)\
**Replies:** 2\
**Last updated:** [September 22, 2026, 9:27pm UTC](https://forum.orkestra.online/t/strange-file-index-bug-on-okpy-editor-code-gets-overridden-when-deleting-a-file/272 "2026-09-22T21:27:39Z")

</div>

Hello, I am facing a strange bug after trying to add an image file to my tool. After adding the image file (I tried both png and jpg) it seems the editor gets the tools files mixed up. The very moment I first add the im…

---

## [OkPy Opening Speed](https://forum.orkestra.online/t/okpy-opening-speed/284)

<div class="topic-metadata">

**Author:** [@HWReedWeinstock](https://forum.orkestra.online/u/HWReedWeinstock)\
**Replies:** 4\
**Last updated:** [September 11, 2026, 8:27pm UTC](https://forum.orkestra.online/t/okpy-opening-speed/284 "2026-09-11T20:27:36Z")

</div>

I have been noticing the first time I run an Okpy Tool after launching Revit it takes about 20-30 seconds to see a dialog appear. Are there any Anti Virus or other settings i should be aware of to make runtime faster?

---

## [Orkestra Learn From Experts #3 - Enrique Galicia](https://forum.orkestra.online/t/orkestra-learn-from-experts-3-enrique-galicia/271)

<div class="topic-metadata">

**Author:** [@emrullah.yildiz](https://forum.orkestra.online/u/emrullah.yildiz)\
**Replies:** 0\
**Last updated:** [August 18, 2026, 12:17pm UTC](https://forum.orkestra.online/t/orkestra-learn-from-experts-3-enrique-galicia/271 "2026-08-18T12:17:48Z")

</div>

Hello Orkestrators! A proud moment for us at Orkestra Online: we’ve now delivered three episodes of our Learn From Experts series, bringing together some strong voices from the AEC automation community. The idea behind…

---

## [Branding lost on OkPy script after restoring Tool Backup](https://forum.orkestra.online/t/branding-lost-on-okpy-script-after-restoring-tool-backup/261)

<div class="topic-metadata">

**Author:** [@FilipeFinco](https://forum.orkestra.online/u/FilipeFinco)\
**Replies:** 3\
**Last updated:** [July 14, 2026, 10:26am UTC](https://forum.orkestra.online/t/branding-lost-on-okpy-script-after-restoring-tool-backup/261 "2026-07-14T10:26:57Z")

</div>

While working on a tool my Revit crashed, and I wanted to restore my tool from the auto-backup (great feature btw). However when opening the backup version of the tool the branding (also great feature!) is missing when …

---

## [UI - WPF and XAML](https://forum.orkestra.online/t/ui-wpf-and-xaml/251)

<div class="topic-metadata">

**Author:** [@LF\_BIM](https://forum.orkestra.online/u/LF_BIM)\
**Replies:** 1\
**Last updated:** [April 13, 2026, 10:02am UTC](https://forum.orkestra.online/t/ui-wpf-and-xaml/251 "2026-04-13T10:02:04Z")

</div>

Hello, We are currently evaluating OkPy to determine whether the solution meets our needs before considering a subscription. Our main challenge at this stage is the migration of our existing pyRevit scripts. As part of …

---

## [Link to Okpy documentation is down](https://forum.orkestra.online/t/link-to-okpy-documentation-is-down/205)

<div class="topic-metadata">

**Author:** [@tuah.hamid](https://forum.orkestra.online/u/tuah.hamid)\
**Replies:** 3\
**Last updated:** [April 30, 2025, 6:42am UTC](https://forum.orkestra.online/t/link-to-okpy-documentation-is-down/205 "2025-04-30T06:42:14Z")

</div>

Hi Orkestra community, I’m trying to find the documentation page for Okpy. The current documentation seems to be down. Is there a different documentation page or a github wiki?

---

## [Difficulties With OkPy in Revit 2025](https://forum.orkestra.online/t/difficulties-with-okpy-in-revit-2025/198)

<div class="topic-metadata">

**Author:** [@jblanchard](https://forum.orkestra.online/u/jblanchard)\
**Replies:** 2\
**Last updated:** [April 3, 2025, 9:49pm UTC](https://forum.orkestra.online/t/difficulties-with-okpy-in-revit-2025/198 "2025-04-03T21:49:02Z")

</div>

Hello! I’m navigating translating all our IronPython scripts to CPython with the Orkestra integration with Revit 2025 - it’s been a process so far and I’m nearly done but I’m having a really difficult time with this port…

---

## [Change dropdown menu-content accordingly to input](https://forum.orkestra.online/t/change-dropdown-menu-content-accordingly-to-input/194)

<div class="topic-metadata">

**Author:** [@MilanSabel1](https://forum.orkestra.online/u/MilanSabel1)\
**Replies:** 3\
**Last updated:** [March 24, 2025, 10:46am UTC](https://forum.orkestra.online/t/change-dropdown-menu-content-accordingly-to-input/194 "2025-03-24T10:46:10Z")

</div>

Hi, I’ve been struggling for a while but unable to figure it out. I want the user to select a material from the ‘MatInput’ -dropdown menu. The dropdown menu ‘AspectInput’ should update to a specific dictionary according…

---

## [OKpy - Close UI After Run](https://forum.orkestra.online/t/okpy-close-ui-after-run/116)

<div class="topic-metadata">

**Author:** [@jonny89](https://forum.orkestra.online/u/jonny89)\
**Replies:** 3\
**Last updated:** [March 19, 2024, 3:59pm UTC](https://forum.orkestra.online/t/okpy-close-ui-after-run/116 "2024-03-19T15:59:21Z")

</div>

Is there a method or state i should use to close the user interface after the run button is clicked? At the moment it always seems to stay open in the background and if the users doesn’t notice this they can end up with …

---

## [OKpy - Set Width of UI](https://forum.orkestra.online/t/okpy-set-width-of-ui/117)

<div class="topic-metadata">

**Author:** [@jonny89](https://forum.orkestra.online/u/jonny89)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 2:51pm UTC](https://forum.orkestra.online/t/okpy-set-width-of-ui/117 "2024-01-16T14:51:53Z")

</div>

Is it possible for us to change the default width of the UI? I have noticed we can change the length of inputs but it would be great to make some UI open wider by default.

---

## [OkPy - Output Text Window](https://forum.orkestra.online/t/okpy-output-text-window/83)

<div class="topic-metadata">

**Author:** [@jblanchard](https://forum.orkestra.online/u/jblanchard)\
**Replies:** 5\
**Last updated:** [August 25, 2023, 1:40pm UTC](https://forum.orkestra.online/t/okpy-output-text-window/83 "2023-08-25T13:40:45Z")

</div>

Hi there! I’m running a version of the pyRevit tool to find all revision tags of a selected revision and its standard output is a text window. I’m seeing no way currently to display the printed output of the script being…

---

## [Try to write a script to match all loaded Families' filled region to Project filled region](https://forum.orkestra.online/t/try-to-write-a-script-to-match-all-loaded-families-filled-region-to-project-filled-region/55)

<div class="topic-metadata">

**Author:** [@ja8on](https://forum.orkestra.online/u/ja8on)\
**Replies:** 5\
**Last updated:** [May 9, 2023, 4:31pm UTC](https://forum.orkestra.online/t/try-to-write-a-script-to-match-all-loaded-families-filled-region-to-project-filled-region/55 "2023-05-09T16:31:33Z")

</div>

Hi all, I am trying to write a script to overwrite all filled region properties in the project to all loaded families, so that I do not have to open and change all the filled region with the same name in project from ev…

---

## [OKPy vs Dynamo / Python Discrepancy](https://forum.orkestra.online/t/okpy-vs-dynamo-python-discrepancy/38)

<div class="topic-metadata">

**Author:** [@criddell](https://forum.orkestra.online/u/criddell)\
**Replies:** 5\
**Last updated:** [March 16, 2023, 6:22pm UTC](https://forum.orkestra.online/t/okpy-vs-dynamo-python-discrepancy/38 "2023-03-16T18:22:15Z")

</div>

I’m testing out the OKPy workflow and hit a roadblock that perhaps someone could help me with. The objective of what I’m testing is a simple script that will take in a model category , color override , and fill pattern …

---

## [OkPy Python environment](https://forum.orkestra.online/t/okpy-python-environment/26)

<div class="topic-metadata">

**Author:** [@mclough](https://forum.orkestra.online/u/mclough)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 9:27pm UTC](https://forum.orkestra.online/t/okpy-python-environment/26 "2023-02-03T21:27:15Z")

</div>

I’m trying to get acquainted with OkPy. is it correct to say that OkPy works off its own python environment? when i run sys.path and sys.version i get this result: i also notice the version doesn’t change when i run …
