View previous topic :: View next topic |
Author |
Message |
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Tue Nov 06, 2007 11:55 pm Post subject: |
|
|
"has it been updated/tested ok with 2008? "
No sorry, I haven't gotten round to doing that yet. One thing you should check is that you've changed the uvlayout_home() return value in uvlayout_open.mel. By default its "C:/Program Files/headus UVLayout" so you'll need to change it to "C:/Program Files/headus UVLayout v2 Professional". And if I remember correctly, MEL needs uniz style forward slashes in those paths too.
Phil
|
|
Back to top |
|
|
BigErn
Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 12:07 am Post subject: |
|
|
Hey Phil, a good idea, I changed the slashes but no luck still. So in theory it can now see the correct DIR, but still no luck with loading.
I will keep trying and if I get it working I`ll post how
Hope it will work soon tho!
Ta,
Paul
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 12:16 am Post subject: |
|
|
Edit uvlayout_open.mel and look for the debug variable ... set it to "1", reload the script, then you'll hopefully get something like the attached image in the Script Editor window when you try and "Run UVLayout". It confirms the setting of the "home" variable, then checks that uvlayout.exe exists in that folder, then shows the "start" command used to run UVLayout.
Phil
Description: |
|
Filesize: |
82.08 KB |
Viewed: |
33309 Time(s) |
|
|
|
Back to top |
|
|
BigErn
Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 5:16 pm Post subject: |
|
|
Hey Phil, thanks for the help! I was looking for a debugging line to see what was going on, but I`m no scripter, just simple artist
This is whats going on when I click on RUN.
Code: | uvlayout_run;
uvlayout -plugin uvl4128.obj > /dev/null 2>&1 &
|
Sort of says something is bad to me, as its not like your image.
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 5:28 pm Post subject: |
|
|
Interesting ... thats the Linux start up call. Are you doing this under Linux, or Windows? It could be that the code in the script that detects the OS is broken under Maya 2008.
Phil
|
|
Back to top |
|
|
BigErn
Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 5:39 pm Post subject: |
|
|
Ah, I should have said at first, WinXp here!
Thanks,
Paul
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 5:55 pm Post subject: |
|
|
OK, that must be the problem then! The MEL script uses this line to use different code for Windows or Linux ...
if( `exists Win32Init`)
... so that mustn't be working correctly under Maya 2008.
I'll get Maya 2008 installed here so I can find the correct solution, but in the meantime you could edit uvlayout_open.mel and change the 3 occurrences of "`exists Win32Init`" to "1". So those lines should look like this ...
if( 1)
... and that'll force it to run the Windows code.
Phil
|
|
Back to top |
|
|
BigErn
Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 6:08 pm Post subject: |
|
|
and now its working! Excellent work
thanks Phil ! :
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Nov 07, 2007 6:31 pm Post subject: |
|
|
Great! I'm downloading 2008 now, so should hopefully have a fixed script ready sometime in the next couple of days.
Phil
|
|
Back to top |
|
|
pietro
Posts: 3
Joined: 09 Nov 2007
Location: London
|
Posted: Fri Nov 09, 2007 3:23 am Post subject: send back to maya not working |
|
|
Hi guys, I installed the plugin for the Linux version, and everything works fine except for the point where I'm supposed to return my uvd mesh to maya.
I don't know how to do it, since my UVlayout interface doesn't have any "SEND" button but it looks like the interface when you start it from a shell...
i tried to send via the shelf button or the SEND MESH button in the info pane, but I'll never goes back to maya and when i press the X key to retrieve it i don't get anything...
Where can it be that I made a mistake??
Thanks
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Sun Nov 11, 2007 5:20 pm Post subject: |
|
|
" my UVlayout interface doesn't have any "SEND" button "
Thats odd. If the mesh got loaded automatically into UVLayout when you did the "Send" from Maya, then its definitely running in plugin mode, so should be showing the Send button in the UVLayout GUI too.
Which version of UVLayout are you running?
Phil
|
|
Back to top |
|
|
pietro
Posts: 3
Joined: 09 Nov 2007
Location: London
|
Posted: Mon Nov 12, 2007 2:26 am Post subject: |
|
|
Hi Phil,
thanks for your answer.
I'm running version 2.00.02
I tried also to run it for a shell with the flag -plugin, but it opens as usual with no Send button but only Load Save and Update.
Can it be that is missing something from the installation??
Thanks
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Mon Nov 12, 2007 3:33 am Post subject: |
|
|
"I'm running version 2.00.02 "
I did some work on the plugin code right after that release, so it is possible that something was broken in the Linux v2.00.02 build that got fixed with v2.00.03. You can get the latest release (v2.00.04) from your Support Download page at www.uvlayout.com.
Phil
|
|
Back to top |
|
|
pietro
Posts: 3
Joined: 09 Nov 2007
Location: London
|
Posted: Mon Nov 12, 2007 3:49 am Post subject: |
|
|
Right!
Thanks, I'll let you know if it works better for me.
|
|
Back to top |
|
|
headus Site Admin
Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Mon Nov 12, 2007 8:00 pm Post subject: |
|
|
"has it been updated/tested ok with 2008? "
Now it has, and there's a new download for the fixed script at the beginning of this topic.
Phil
|
|
Back to top |
|
|
|