Problem with a selection

hi gusy, I'm new with maxscripts & I've a little problem.

I'm don't know how to use a selection a made

/*my selection*/

on selectButton pressed do
(
obj = selectByName title:"Select Light" single:true selectButton.text =obj.name
LightSelection = obj
)

/*how can I use this selection below?*/

on CopyButton pressed do
(
for i = 1 to count.value do
(
instance $ name: .............

 

thx in advance

 

Ben

Comments

Comment viewing options

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

I made it. ^^   you can

I made it. ^^

 

you can find it on 3dscool.com

 

Comment viewing options

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