View Full Version : scripting wrap-deformer
thomas123 09-21-2003, 09:31 PM I want to make a script, that aplies a wrap deformer to an object.
i wrote:
deformer -type wrap pCube6 pCube5;
a wrap-deformer is applied, but it doesn´t work ...
can somebody help?
thomas
|
|
mark_wilkins
09-22-2003, 09:16 AM
it looks like there's more to it that the deformer command doesn't do.
You can call the built-in command CreateWrap after selecting the objects, which is what Maya calls when you pick the menu item. This seems to do the right thing, but since it's not documented you may have to change it in a future Maya release.
-- Mark
thomas123
09-23-2003, 11:52 AM
CreateWrap I also can´t use without documentation ... I´m not very good in MEL.
I´m now doing it with binding (smooth bind)
mark_wilkins
09-23-2003, 11:57 AM
hehe it's really easy:
select -r loResObject hiResObject;
CreateWrap;
nothing more to it than that.
-- Mark
CGTalk Moderation
01-16-2006, 04:09 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.