Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5800

Rhino 6 WIP: PropertyListBox not working?

$
0
0

@Michael_Meyer wrote:

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

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5800

Trending Articles