Panic! is it possible to copy modifiers with all data?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 01 January 2005   #1
Panic! is it possible to copy modifiers with all data?

To my dispair I have not found a way to copy a modifier from object to object.
Yes of course you can "move" a modifier to another object, but it will loose the data. In the max viewport you can however copy the modifiers and maintain the data. Is there a way to do this with maxScript?

Try this:
- Create an object, then copy it so you have 2 identical
- create an edit_poly modifier and extrude some faces on one object.
- Now you drag this modifier from the stack to the other object

As you see the other object will now have extrusions as well.

Is this possible with maxScript?

I have tried this:

mod=box01.modifiers[1]
addModifiers box02 mod

This will apply the modifier on the other box with the same settings but the extrusions are gone :(

/Andreas
__________________
Rare - Lead VFX Artist
 
Old 01 January 2005   #2
hi,
i tried this a while ago using many different methods (instancing, copying ect..) nothing seems to work with the edit_poly modifier - i posted the question at the discreet weboards and still no reply - hmmmmmm i wonder is it possible i would also love to know

mark
__________________
Morph Controls Script
*NEW Website*
comming soon!!!



 
Old 01 January 2005   #3
Seems that the only info not copied is mesh data(selections of faces/vertices... and operations/transforms with them).It will force you to do a manual copy of it :?!. Strange since it is supported within the ui. Bobo? 8)
__________________
Borja Morales
r3D
 
Old 01 January 2005   #4
This is very problematic since alot of modifiers won't work like this
For example, vertex paint, edit_poly, poly selections, skinning etc.

Pff, I wonder if it is possible to write a copy modifier function in c++. It is quite important.
/Andreas
__________________
Rare - Lead VFX Artist
 
Old 02 February 2005   #5
I added a post then I realized that I was wrong and what I was doing in my script was much more complicated. But I do not see how to delete it. So...


The only way I could see doing this in script is to use a mesh select and an extrude modifier. Then save and load the selection sets. I have tried this and SOMETIMES it works but I could be crazy...

ModifierHolder = copy ObjectName.modifiers[index of modifier]

then

Addmodifier ObjectName ModifierHolder

-Paul

Last edited by phormis : 02 February 2005 at 03:42 AM.
 
Old 02 February 2006   #6
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:51 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.