Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 25-09-2008, 04:38 PM   #1
dubai3d
Registered User
 
Join Date: May 2008
Posts: 245
Thanks: 0
Thanked 35 Times in 33 Posts
Default Replace object with Maya 2008

Hi
I am working with Maya 2008 and i was wondering if there is a way to replace objects in the scene with different object fast. Basically i have around 120 triangles(Globe glass), they all the same objects, i want to replace the Glass with a different color Glass and texture that i made but i dont want to start placing 120 object again. If someone knows something say something.
- all the objects are the same shape and size,
- just want to replace all the 120 object with new object(the same size and same shape, it is basically copy one of the object) without moving the 120 object around,

I tried tool/script swapper(from highend3d) , It works, the script replace the new object with the target object , but the problem is after done it the objects move out of the position to 0 right in the middle of grid, like snap it to grid, it bit hard when you have globe round shape and the glasses moved around,

I need help in easy way

thanks
dubai3d is offline   Reply With Quote
Old 25-09-2008, 04:43 PM   #2
dubai3d
Registered User
 
Join Date: May 2008
Posts: 245
Thanks: 0
Thanked 35 Times in 33 Posts
Default

here is the image,
Attached Thumbnails
 
dubai3d is offline   Reply With Quote
Old 25-09-2008, 11:12 PM   #3
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

the problem is, as far I understand this you need to have the pivots and orientation to be the same from both - original and replaced objects. because when you replace objA with objB you might want to point and orientconstraint the new pieces to the exact same point in space and with same orientation then the old pieces. so- if you detached all your pieces from a big original object this wont work, because you could center pivots but what about the orientation?

but you said the new stuff is basically just a copy of your old pieces - so why don´t you just assign a new shader? this would be much easier. and in case you have different UVs on the new stuff you could also transfer UVsets.

other than that I wrote a script once with the help of other folks. i think it was this script

http://forum.simplymaya.com/showthre...threadid=23648
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 26-09-2008, 06:58 AM   #4
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

i'd say unless this is an animation where the new pieces move in to replace the old pieces i would instead put both objects in the same place and then simply animate the visibility of each object. voila it looks like the new one magically replaced the old one.
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 26-09-2008, 12:09 PM   #5
dubai3d
Registered User
 
Join Date: May 2008
Posts: 245
Thanks: 0
Thanked 35 Times in 33 Posts
Default

what about random swapper mel script, it is really easy, but when replace the new one , the new objects gets moved into middle of grid, that is the problem

http://www.highend3d.com/maya/downlo...pper-5317.html
dubai3d is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Moderators on Simply Maya Miss_Nova Site News & Announcements 21 17-05-2011 01:24 AM
Maya Hair/Polygon Error ingram_no.7 Members Lounge 13 10-12-2010 11:27 AM
Simply Maya Resources Online Miss_Nova Site News & Announcements 1 08-12-2010 09:36 PM
LayoutTools for Maya 2011 is here... ctbram Members Lounge 1 06-12-2010 11:32 PM
Open a Lightwave file in Maya 2011 radiant777 Maya Basics & Newbie Lounge 2 04-12-2010 03:45 AM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.