thehive
03-18-2006, 12:57 PM
here is my script im tryin to apply an xfrom to a bunch of object sparately
mapped function .pos
global ChunksArray = $bricks_* as array
(
NumChunks = ChunksArray.count
for i = 1 to NumChunks collect
modPanel.addModToSelection (XForm ()) ui:on
on Release do
(
(
(
this is the error i get
-- Syntax error: at ., expected name
-- In line:
1967
#(OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, ...)
-- Type error: Call needs function or class, got: true
-- Compile error: Unexpected end-of-script
-- In line:
mapped function .pos
global ChunksArray = $bricks_* as array
(
NumChunks = ChunksArray.count
for i = 1 to NumChunks collect
modPanel.addModToSelection (XForm ()) ui:on
on Release do
(
(
(
this is the error i get
-- Syntax error: at ., expected name
-- In line:
1967
#(OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, OK, ...)
-- Type error: Call needs function or class, got: true
-- Compile error: Unexpected end-of-script
-- In line:
