ScriptSpot

Forum topic · General Scripting

Pick object without the pickbutton

By titane357 · 2012-01-13

Description

hello
I would like to select objects, run my script and pick an object in the scene, so my selected objects are in the same Layer than picked one.
But I don't want to have to click a "pickbutton" after running my script.
Is it possible ?
Thanks.
Happy new year !!!!

Comments (5)

miauu · 2012-01-14

Glad you like it. :)

miauu · 2012-01-13

The script is ready. Just wait few minutes to uplaod it to my blog. :)

titane357 · 2012-01-14

Many thanks miauu, it's exactly what I needed ! :-)

titane357 · 2012-01-14

what I was looking for, was : "XXX = pickObject"
but I could never do such a nice script alone so quickly !!!!
you saved me long hours of work....