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

not sending updates layout back to Maya

 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mokosan



Posts: 150
Joined: 03 Apr 2006
Location: NZ

PostPosted: Wed Sep 10, 2014 6:08 am    Post subject: not sending updates layout back to Maya Reply with quote

Hi, on occasion, UVLayout doesnt send the update information back to Maya.
I think I recall it not even updating when overwriting an .obj but that was a while ago.

Because this is a random thing, what would you suggest doing?
I have suggested saving a .uvl file, then exiting UVLayout, then launching it again from Maya, open the saved .uvl file then sending back to Maya.
I also suggested saving an .obj and that has worked recently but it is not ideal.


Any ideas?

M
Back to top
View user's profile Send private message Send e-mail MSN Messenger
headus
Site Admin


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

PostPosted: Wed Sep 10, 2014 7:03 pm    Post subject: Reply with quote

There's 2 parts to the "send to maya" process, and its not clear from your description which of those could be failing ...

1) When you click the "Send" button in UVLayout, it should write the mesh and UVs out to a temporary OBJ file (will have a ".out" extension) in the "uvlayout" folder in your maya project area. In those cases where the Send fails, can you see this file being created? If it *is* there, then the bugs not in UVLayout but in the mel script ...

2) So the second part is where Maya is supposed to load the temporary OBJ file that UVLayout just wrote. A scriptJob is created that should be checking for the temporary file ...

scriptJob -cf "busy" uvlayout_load

So that says "when not busy, run the load command". I'm wondering if maybe you have other script jobs running because of other plugins or whatever, and your maya isn't idle at these times when the load fails?

Next time the send fails, run the uvlayout_load command manually from the maya command shell and see what happens. If that fixes it, then you have your neater work-around! I remember before adding that idle timer thing I had a hotkey mapped to run the load command.

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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group