[Closed] No True Copy Modifier Like Manual But Maxscript?
Is there no maxscript way to truely copy a modifier in the same manner that manually copying the modifier is done?
Example:
Edit Poly Modifier – within it have done some bevels, extrusions, insert loops, ect.
Scripted Copying of that modifier only copies paremeters not actual geometry data changed within that modifier.
ModtoCopy = $Box001.modifiers[1]
addmodifier $Box002 ModtoCopy
Manual Copying of that modifier copies paremeters and geometry data changes.
Is it not possible via maxscript, if not how about anything else, dotnet, maxsdk, c#?
I’m thinking maybe, just maybe, something in channel info could make it possible?
try this method instead
modPanel.addModToSelection <modifier>
Applies a modifier to the current selection opened in the Modify panel. It should be used in place of addModifier() in places where the target is a selection or group or where you have the stack open at a particular place in the Modify panel with a sub-object selection active and you want the modifier applied to that selection. addModifier() adds the modifier separately to each object in the selection or group and does not honor the current active sub-object selection in all cases. The Modify panel must be open on the selection you want to apply the modifier to, otherwise the function does nothing.
I don’t think that it is possible with the edit poly/mesh modifiers. All others it works fine with. I have just written my own copy/paste verts functions so that I can move shapes from one object to another.
In the MaxSDK there’s <FILE: channel.h>
I’m wondering how do we access for instance the topology and geometry channels from it via maxscript. Channels 0 and 1.
Probably even tougher them within a edit poly modifier.
mmm there must be a way to copy the modifiers through maxsdk / .net / c++
How about doing this,
referenceReplace <dest_node> <src_node>
where <dest_node> is each modifier as a blank modifier and <src_node> is all the modifiers on the source object?
or do modifiers not count as nodes, probably not?