ScriptSpot home

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)
dussla

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

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

dussla

thank you speed answer

always thank you for speed answer
i will try~

Willian Kim

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?

Reply to Willian Kim
dussla

i tried ,but there is problem

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?

Reply to dussla
Willian Kim

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