Wrong number of arguments on call to reorder.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  10 October 2005
Question Wrong number of arguments on call to reorder.

I have a problem. I have scripted a script that uses the reorder command. After I sourced the script and ran it I can't manually reorder in the Outliner, I get this message.

// Error: reorder -relative -3 ben1_pPlane ; //
// Error: Wrong number of arguments on call to reorder. //

this the script

PHP Code:
 global proc kf_readLayoutReorder (string $name)
string $s;
int $i 0;
string $line[];
string $dirname = `pwd`;
string $tokens[];
string $exampleFileName = ($dirname "/" $name ".txt");
string $planeNames[];
$fileId = `fopen $exampleFileName "r"`;
string $nextLine = `fgetline $fileId`;
  while ( 
size$nextLine ) > 
tokenize ($nextLine$tokens;
$planeNames[$i] = $tokens[0];
$nextLine = `fgetline $fileId`;
$i $i 1;
fclose $fileId;
$i 0;
  for (
$s in $planeNames)
reorder -back $planeNames[$i];
$i $i 1;
  10 October 2005
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:33 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.