# Can't Get Maketree Script To Work?

**URL:** https://forum.highend3d.com/t/cant-get-maketree-script-to-work/3048
**Category:** Maya
**Tags:** mel
**Created:** [June 8, 2006, 7:20am UTC](https://forum.highend3d.com/t/cant-get-maketree-script-to-work/3048 "2006-06-08T07:20:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![knowyouremeny](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/k/3d9bf3/32.png) [@knowyouremeny](https://forum.highend3d.com/u/knowyouremeny)
#### Post date: [June 8, 2006, 7:20am UTC](https://forum.highend3d.com/t/cant-get-maketree-script-to-work/3048/1 "2006-06-08T07:20:56Z")

</div>

This one: [http://www.highend3d.com/maya/downloads/me.../misc/1729.html](http://www.highend3d.com/maya/downloads/me.../misc/1729.html)

I extracted it and everything, and it recognizes the command in the script editor, but I get lots of syntax errors. The first one is:

QUOTE  
makeTree;  
// Error: expression -n "emit" -o "" -s "  
 //  
// Error: Unterminated string. //

Is this line supposed to be terminated with a semicolon?

The readme says it was programmed for Maya 4. Maybe I'm outta luck. ![](http://www.highend3d.com/boards/style_emoticons/<#EMO_DIR#>/sad.gif)

---

<div class="post-metadata">

### Author: ![naughty](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/35a633/32.png) [@naughty](https://forum.highend3d.com/u/naughty)
#### Post date: [June 12, 2006, 4:33pm UTC](https://forum.highend3d.com/t/cant-get-maketree-script-to-work/3048/2 "2006-06-12T16:33:06Z")

</div>

QUOTE(knowyouremeny @ 06/07/06, 11:20 PM) [snapback]239429[/snapback]  
This one: [http://www.highend3d.com/maya/downloads/me.../misc/1729.html](http://www.highend3d.com/maya/downloads/me.../misc/1729.html)

I extracted it and everything, and it recognizes the command in the script editor, but I get lots of syntax errors. The first one is:  
Is this line supposed to be terminated with a semicolon?

The readme says it was programmed for Maya 4. Maybe I'm outta luck. ![](http://www.highend3d.com/boards/style_emoticons/<#EMO_DIR#>/sad.gif)

String syntax changed at Maya 5.0 (or was it 6.0?!?). Most scripts written for 4.5 or earlier had to be re-written (edited) if they contained complex string constructs.

---

<div class="post-metadata">

### Author: ![kurianos3d](https://forum.highend3d.com/user_avatar/forum.highend3d.com/kurianos3d/32/55947_2.png) [@kurianos3d](https://forum.highend3d.com/u/kurianos3d)
#### Post date: [June 14, 2006, 10:34am UTC](https://forum.highend3d.com/t/cant-get-maketree-script-to-work/3048/3 "2006-06-14T10:34:44Z")

</div>

QUOTE(knowyouremeny @ 06/08/06, 12:50 PM) [snapback]239429[/snapback]  
This one: [http://www.highend3d.com/maya/downloads/me.../misc/1729.html](http://www.highend3d.com/maya/downloads/me.../misc/1729.html)

I extracted it and everything, and it recognizes the command in the script editor, but I get lots of syntax errors. The first one is:

Is this line supposed to be terminated with a semicolon?

The readme says it was programmed for Maya 4. Maybe I'm outta luck. ![](http://www.highend3d.com/boards/style_emoticons/<#EMO_DIR#>/sad.gif)

Yes ..same issue got for me also...we want to cahnge all expressions lines...i think i have a copy

i will put in highend jsut give soem time for me
