created selectionSETS help

i have a floating window with rollouts and one of them i want to use the selectionset function in max.

So right now its working but not exactly how I'd like. Right now it just reads the selection sets that are already in the scene. So the dropdown list does display the selections sets if they exist.

However I'd like it to work just like the one on the "Main" toolbar in max. So where I just type in the "name" and it creates a selection set. So then the dropdownlist just grows.

I've been reading in the maxscrpt help file but can't seem to make out how actually is used to make the "create selectionset" work.

I hope this makes sense.

Thanks

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jdigital's picture

Never mind I figured out a

Never mind I figured out a work around which isn't ideal but works.

Instead of having one "dropdownlist" I now have to have both the dropdownlist & a listbox with button to create a selection set.

It works just fine but would have been nice to figure out how to be able to "type" in values into the dropdownlist like how the selection sets work on the main toolbar in 3dsmax.

Anyway thanks

kronkhal's picture

Hi jdigital, I am looking

Hi jdigital,

I am looking for a script to easily select the selection sets I've created (or create new ones). Does your script allows to select the selection sets on the scene? Or it only creates new ones?

Is it available for download?

Thanks!

http://kronkhal.jimdo.com

jdigital's picture

OK so I figured out what

OK so I figured out what command will create a selectionset now

selectionSets["whatisthis"] = getcurrentselection()

So if i select some objects and type that code in the listner it creates that selectionset. This is great however I have another problem.

I'm trying to use a "Dropdownlist" but I don't see the option or command to "create" when using a dropdownlist. I only see the following:

"open"
"close"
"oktoclose"
"resized"
"moved"

i tried to use the option "entered" but didn't seem to fly.

I'm just trying to replicate the selectionset dropdownlist that's on the maintoolbar in max just in my own floater rollout script.

I hope someone can help.

Thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.