I'm missing something here and it is not working.
(
obj = getCurrentSelection()
track = prs ()
if obj.Transform.controller == track then
(
print "this is true"
)
else
(
print "this is false"
)
)
Forum topic · General Scripting
By JokerMartini · 2010-11-22
I'm missing something here and it is not working.
(
obj = getCurrentSelection()
track = prs ()
if obj.Transform.controller == track then
(
print "this is true"
)
else
(
print "this is false"
)
)
answer
JokerMartini · 2010-11-22
(
for current in selection do
(
if (classOf current.transform.controller) == prs then
(
print "this is true"
)--end if
else
(
print "this is false"
)--end else
)--end for
)