headus 3D tools headus 3D tools / 3D scans
Support Forums
 
 FAQFAQ   SearchSearch    UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
headus 3D scans

Can't Lauch UVLayout from Maya 2011 (Mac OS X)

 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
710Films



Posts: 2
Joined: 29 Sep 2010

PostPosted: Wed Sep 29, 2010 8:16 pm    Post subject: Can't Lauch UVLayout from Maya 2011 (Mac OS X) Reply with quote

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
View user's profile Send private message
710Films



Posts: 2
Joined: 29 Sep 2010

PostPosted: Wed Sep 29, 2010 8:27 pm    Post subject: Reply with quote

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 Laughing
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2873
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Sep 29, 2010 9:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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