Rhino 6 WIP: PropertyListBox not working?


#1

Hi @dale,

the PropertyListBox window from my Python script doesn’t popup in Rhino 6 WIP anymore. In Rhino 5 it works.

import rhinoscriptsyntax as rs

def TestPropertyListBox():

    items = [ 'Anchor x:', 'Anchor y:' ]
    values = [ 0.5, 0.5 ]
    results = rs.PropertyListBox(items, values, 'Add Object', "What should the object contain?")

##########################################################################
# Check to see if this file is being executed as the "main" python
# script instead of being used as a module by some other python script
# This allows us to use the module which ever way we want.
if( __name__ == "__main__" ):
    TestPropertyListBox()

Any ideas?

Thanks

Michael
www.flexiCAD.com


#2

Hi Michael,

this seems to work here on a slightly newer built than the current public one. Have tried this again after a restart of the WIP ?

c.


#3

Hi Clement,

on the latest version (6.0.17143.8371, 23.05.2017) it doesn’t run here.

I will check with the next ones again. Thank you very much

Michael
www.flexiCAD.com


(Wim Dekeyser) #4

I’m also running (6.0.17143.8371, 2017-05-23) and that snipplet works fine here:


#5

Hi wim,

thank you. I’ve tested it again, no PropertyListBox window shows here up under Windows 10.

Cheers

Michael
www.flexiCAD.com