 |
headus 3D tools / 3D scans Support Forums
|
 |
View previous topic :: View next topic |
Author |
Message |
710Films
Posts: 2
Joined: 29 Sep 2010
|
Posted: Wed Sep 29, 2010 8:16 pm Post subject: Can't Lauch UVLayout from Maya 2011 (Mac OS X) |
|
|
Hi,
I just upgraded UVLayout to V.2.06.3 Pro version...
I downloaded the Maya Plugin V.2. Installed the Script, Icon and Shelf.
I can't get it to "run" UVLayout, and I know that I'm supossed to modify the .mel Script, correct? I was wondering, wha tpart is it?
My Script looks likethis now:
//Path to UVLayout
global proc string uvlayout_home()
{
if( `about -win`)
{
return "C:/Program Files/headus UVLayout v2 Demo";
// return "C:/Program Files/headus UVLayout v2 Hobbyist";
// return "C:/Program Files/headus UVLayout v2 Professional";
// return "C:/Program Files (x86)/headus UVLayout v2 Demo";
// return "C:/Program Files (x86)/headus UVLayout v2 Hobbyist";
// return "C:/Program Files (x86)/headus UVLayout v2 Professional";
}
else
{
return "/Applications/headus-UVLayout-Pro.app";
// return "/Applications/headus-UVLayout-Hobby.app";
// return "/Applications/headus-UVLayout-Demo.app";
Do I delete everything BUT the "return "/Applications/headus-UVLayout-Pro.app"; section?
Thanks for your help. |
|
Back to top |
|
 |
710Films
Posts: 2
Joined: 29 Sep 2010
|
Posted: Wed Sep 29, 2010 8:27 pm Post subject: |
|
|
Can't believe this! It worked...
This is what I did (for you non-code-writing Mac users):
1) Open the script uvLayout_open.mel...
2) change the path string to the following:
//Path to UVLayout
global proc string uvlayout_home()
{
return "/Applications/headus-UVLayout-Pro.app";
}
3) Save the file - make sure Maya is closed, or re-launch, and voila!
Sweet!
Frank  |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Sep 29, 2010 9:56 pm Post subject: |
|
|
Interesting ... the code you showed in the original posting should have worked as displayed, because on a Mac its supposed to fall through to the "else" section.
Anyway, its great you managed to fix it yourself!
Phil |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|