View previous topic :: View next topic |
Author |
Message |
cgbeige
Posts: 52
Joined: 20 May 2009
|
Posted: Mon Jun 08, 2009 1:36 pm Post subject: UV layout duplicates mesh and sends nothing from Maya |
|
|
I have this odd problem that comes back every once in a while. I will hit Send to UV Layout from Maya 2009 and the mesh will simply be duplicated and then there will be an error like this:
// Error: No object matches name: uvlayout_EARTHQUAKE8:polySurface1 //
any ideas how to avoid this? |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Mon Jun 08, 2009 8:07 pm Post subject: |
|
|
The plugin makes a copy of the selected objects before sending them to UVLayout, so that's why you're getting the duplicate, but something is being messed up with the names, so the copy doesn't get deleted and the rest of the script fails.
Maybe its something to do with your scene structure? Next time it happens, can you save out the scene, zip it up and email it to me?
Thanks,
Phil |
|
Back to top |
|
 |
cgbeige
Posts: 52
Joined: 20 May 2009
|
Posted: Tue Jun 09, 2009 9:00 am Post subject: |
|
|
I suspect it might be because the name already has headus or whatever in it - I'll try a few tests out. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Tue Jun 09, 2009 3:48 pm Post subject: |
|
|
Thanks! I'm travelling at the moment, and didn't bring my Maya dongle with me, so cant do any testing myself until next week.
Phil |
|
Back to top |
|
 |
cgbeige
Posts: 52
Joined: 20 May 2009
|
Posted: Tue Jun 09, 2009 5:49 pm Post subject: |
|
|
ok - I found the source of the problem. When Maya imports pasted meshes, appends the project name and a colon before the object and when UV layout tries to send the file, it chokes because OS X doesn't like colons in filenames (they are used instead of / or
\ on the Mac). The fix is easy – just rename the object and remove the colon – but I think that most people won't know this workaround so I suggest adding a check to the object name and making colons underscores or something if possible. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Jun 10, 2009 5:21 pm Post subject: |
|
|
Excellent debugging! Thanks for finding that, and I probably wouldn't have myself because I'd have been using the Windows version of Maya to try and duplicate the problem.
I'll update the script once I get back to the office.
Phil |
|
Back to top |
|
 |
cgbeige
Posts: 52
Joined: 20 May 2009
|
Posted: Wed Jun 10, 2009 5:58 pm Post subject: |
|
|
well I beta test for Autodesk and Adobe so I'm a trouble-shooting ninja. if you ever need a beta tester, I'd be in for a free Pro license  |
|
Back to top |
|
 |
DragoCG
Posts: 3
Joined: 26 Jul 2010
|
Posted: Mon Jul 26, 2010 12:15 pm Post subject: |
|
|
This is the same problem I just posted about an hour ago, but it's happening to me on a pc and I don't have any strange naming structures. The objs are objects I imported after export from Mudbox, but not sure if that would change anything. |
|
Back to top |
|
 |
|