ScriptSpot

Forum topic · General Scripting

pick object problem

By dussla · 2012-08-31

Description

i have selection before

i would like to make new selection
so i use pickobject count:#multiple

but that didn;t work

is there my fault ?

Comments (6)

i found thist ,but that didn;t not work in max9

dussla · 2012-09-01

rollout myRol "Trying to select multiple objects" width:164 height:45
(
button myButton "Click me" pos:[13,9] width:135 height:25
on myButton pressed do (
local objs = #()
objs = pickobject count:#multiple
messagebox ("Result: " + objs as string)

)
)

try (destroydialog myRol) catch()
createdialog myRol

thank you speed answer

dussla · 2012-08-31

always thank you for speed answer
i will try~

kimarotta · 2012-08-31

run "a = pickObject count:#multiple" in listener... and select with mouse objects that be a array... and click enter ...

"a" array is create with objects selects...

could understand?

i tried ,but there is problem

dussla · 2012-08-31

i run that code in listener
that is good

but i have to use code in ms script file
i made selet.ms with that code
that didn't work
what problem?

kimarotta · 2012-08-31

can you post the script or part of it to understand?

that is your code

dussla · 2012-08-31

i made sel.ms

there is

your code only