PDA

View Full Version : extracting the deformer type


tymznd
11-19-2003, 10:32 PM
So far the only way I see of extracting what type of deformer is in use is by querying the shape node:

nodeType squash1HandleShape;
// Result: deformSquash //

.... but my issue with this is that I am now trying to duplicate that setup.... so.... I need to end up to be able to say:

nonLinear -type squash;

.... which means that I need to extract the "Squash" from the returned "deformSquash" and then make sure it's lower case "squash"....

DOES ANYONE KNOW OF AN EASIER WAY TO DO THIS?

tymznd
11-20-2003, 12:25 AM
just a followup.... the Upper case doesn't appear to matter in scripting the command:

nonLinear -type Wave;

This works... but does name the deformer to Wave1Handle vs. the usual wave1Handle ....

CGTalk Moderation
01-16-2006, 05:00 PM
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.