# Dialogs.ShowPropertyListBox seems broken

**URL:** <https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271>\
**Category:** Rhino Developer\
**Tags:** rhinocommon\
**Created:** [May 14, 2019, 7:46pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271 "2019-05-14T19:46:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willem](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/willem/32/554347_2.png) [@Willem](https://discourse.mcneel.com/u/Willem)\
**Post date:** [May 14, 2019, 7:46pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/1 "2019-05-14T19:46:01Z")

</div>

Hi,

It seems Dialogs.ShowPropertyListBox is broken, I cannot get it to work in V6 while the code below works fine in V6

```python
import Rhino

Rhino.UI.Dialogs.ShowPropertyListBox('title', 'message', ['items'], ['values'])

```

UPDATE  
forgot to send system info and while checking that I realized I got a message about the RhinoScript plugin not loading, It might be related? If I type RunScript or Loadscript rhino reports it’s an unknown command

@chanley can you check if your RhinoScript plugin is loaded by running runscript command?

Update my system info:

```auto
Rhino 6 SR15 2019-5-7 (Rhino 6, 6.15.19127.12061, Git hash:master @ 1ad7f43a70c96f327e9efba4674dfdbcaabdf4fa)
License type: Commercial, build 2019-05-07
License details: Cloud Zoo. In use by: Willem Derks ()

Windows 10.0 SR0.0 or greater (Physical RAM: 32Gb)
Machine name: WD10

Hybrid graphics system.
Primary display: Intel(R) HD Graphics 630 (Intel) Memory: 1GB, Driver date: 5-17-2017 (M-D-Y).
Primary OpenGL: NVIDIA GeForce GTX 1070 (NVidia) Memory: 8GB, Driver date: 3-17-2019 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 419.67

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: On
  Redraw scene when viewports are exposed: On
  
  Anti-alias mode: 8x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: Height
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 3-17-2019
  Driver Version: 25.21.14.1967
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 8 GB

Rhino plugins
  C:\Program Files\Rhino 6\Plug-ins\Commands.rhp	"Commands"	6.15.19127.12061
  C:\Program Files\Rhino 6\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins\Iris (1cd9c8f5-c901-426c-8e80-d6a2e2b18bba)\1.0.6911.20081\Iris.WinR6.rhp	"Iris"	1.0.0.0
  C:\Program Files\Rhino 6\Plug-ins\RPC.rhp	"RPC"	
  C:\Program Files\Rhino 6\Plug-ins\AnimationTools.rhp	"AnimationTools"	
  C:\Program Files\Rhino 6\Plug-ins\RhinoRender.rhp	"Rhino Render"	
  C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	6.15.19127.12061
  C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp	"Renderer Development Kit UI"	
  C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 6\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	6.15.19127.12061
  C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	6.15.19127.12061
  C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	6.15.19127.12061
  C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Users\Willem\AppData\Roaming\McNeel\Rhinoceros\packages\6.0\rhino-render-next\0.0.2\RhinoRenderNext.rhp	"Rhino Render Next"	0.0.2.0

```

---

<div class="post-metadata">

**Author:** ![chanley](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chanley/32/341693_2.png) [@chanley](https://discourse.mcneel.com/u/chanley)\
**Post date:** [May 14, 2019, 8:09pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/2 "2019-05-14T20:09:51Z")

</div>

confirming that I am seeing the same, (none working) behavior.

Version 6 SR15  
(6.15.19127.12061, 5/7/2019)

---

<div class="post-metadata">

**Author:** ![chanley](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chanley/32/341693_2.png) [@chanley](https://discourse.mcneel.com/u/chanley)\
**Post date:** [May 14, 2019, 8:27pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/3 "2019-05-14T20:27:16Z")

</div>

Hrm, Yes, I get the same error when running LoadScript or Runscript, (Unknown Command).  
in the plugin manager, I see that it looks like it’s not loaded? (not sure if this is related?)

 ![pluginmanager](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/1/0/10788ce33430febe4fcbbdf0bad139ef9ca353f0.png)

---

<div class="post-metadata">

**Author:** ![Willem](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/willem/32/554347_2.png) [@Willem](https://discourse.mcneel.com/u/Willem)\
**Post date:** [May 14, 2019, 8:32pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/4 "2019-05-14T20:32:55Z")

</div>

Thanks for checking  
I remembered seeing a similar issue before so I found it and hooked up to that thread:

> [@File Info command](https://discourse.mcneel.com/t/file-info-command/82952/12):
>
> That did not get it. This may help. I just over the weekend installed the WIP rhino7. Also, I recall just updating Rhino 6. Everytime I start Rhino6 up it says “more or less” that it can’t load rhino script up.

We’ll have to wait for someone at RMA to check on it @dale are you able to help us out?

---

<div class="post-metadata">

**Author:** ![chanley](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chanley/32/341693_2.png) [@chanley](https://discourse.mcneel.com/u/chanley)\
**Post date:** [May 14, 2019, 8:34pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/5 "2019-05-14T20:34:09Z")

</div>

I unchecked the enabled box for the rhinoscript plugin, then checked “ask to load disabled plugins”, and restarted, after trying to reload, I got this. (looks like a bug?)  
 ![plugin](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/0/60731d782f1db1ffb98d255b945e1eb67cb1651e.png)

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/685184_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [May 14, 2019, 9:11pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/6 "2019-05-14T21:11:26Z")

</div>

This seems to work here:

```auto
import rhinoscriptsyntax as rs
objs = rs.GetObjects("Select Objects")
if objs:
    names = []
    for obj in objs:
        name = rs.ObjectName(obj)
        if name is None: name=""
        names.append(name)
    results = rs.PropertyListBox(objs, names, "Modify object name(s)")
    if results:
        for i in xrange(len(objs)):
            rs.ObjectName( objs[i], results[i] )

```

– Dale

---

<div class="post-metadata">

**Author:** ![Willem](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/willem/32/554347_2.png) [@Willem](https://discourse.mcneel.com/u/Willem)\
**Post date:** [May 14, 2019, 9:41pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/7 "2019-05-14T21:41:47Z")

</div>

I Dale

Thanks for the reply, I get your script to work as well as the example I posted  
Also rhinoscript plugin is loaded now and all seems ok.  
All that was inbetween this are a couple of restarts one was after I did a repair as per Pascals recommendation in another thread.

However after that repair and a restart the plugin still did not load…

We best leave it for now and I’ll report back if I have the issue popping up again.

Thanks  
-Willem

---

<div class="post-metadata">

**Author:** ![chanley](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chanley/32/341693_2.png) [@chanley](https://discourse.mcneel.com/u/chanley)\
**Post date:** [May 14, 2019, 9:55pm UTC](https://discourse.mcneel.com/t/dialogs-showpropertylistbox-seems-broken/83271/8 "2019-05-14T21:55:49Z")

</div>

for conclusion, after reading, I also performed a repair, and then a restart, and the issue seems to have gone away.
