<node3d:GUI:droplist>.getItemCount

Returns the number of items in the droplist.

 

<node3d:GUI:droplist>.getItemCount()

 

Remarks

This command will return the number of items in the droplist.

Return Value

The number of items in the droplist.

Example

list = viz.addDropList()
list.setPosition(.5,.5)
options = ['A','B','C','D']
list.addItems(options)
print list.getItemCount()#Returns 4