Dialogs.ShowPropertyListBox seems broken


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

import Rhino

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

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:

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:
  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"
  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"

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

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

1 Like

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?)

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

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

1 Like

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?)

1 Like

This seems to work here:

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=""
    results = rs.PropertyListBox(objs, names, "Modify object name(s)")
    if results:
        for i in xrange(len(objs)):
            rs.ObjectName( objs[i], results[i] )

– Dale

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.


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

1 Like