View Full Version : extracting the deformer type


tymznd
11 November 2003, 11: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 November 2003, 01: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 January 2006, 06: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.


1