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 Tools Display Modes
  01 January 2005
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:

addModifiers box02 mod

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

Rare - Lead VFX Artist
  01 January 2005
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

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

  01 January 2005
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
  01 January 2005
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.
Rare - Lead VFX Artist
  02 February 2005
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]


Addmodifier ObjectName ModifierHolder


Last edited by phormis : 02 February 2005 at 03:42 AM.
  02 February 2006
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
Society of Digital Artists

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

All times are GMT. The time now is 10:21 AM.

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