Store name of Ramp frm RadiusPP

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2006
Store name of Ramp frm RadiusPP

[I see this has double posted...not sure how or y, but if someone can remove this one]

How can I, within my script, find out the name of the ramp that is created when i choose to make a ramp to an added radiusPP atttribute.

Presently i have this which is storing the name of the arraymapper but not the name of the Ramp.

Quote: string $arrayMapper1 = "arrayMapper -target $partShapeNode[0] -destAttr radiusPP -inputV ageNormalized -type ramp";
$results = `eval($arrayMapper1)`;

If i run:

Quote: listHistory -pdo 1 $results;

I get the name of the arrayMapper and the ramp but im looking to just store the ramp name.

Another method might be to store that return value inside a string array and then access the [1] element. Wondering if there is a better method?


Last edited by RaGzMaN : 03 March 2006 at 09:10 PM.
  03 March 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 04:13 AM.

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