PDA

View Full Version : Ramp Editing! HOW???


stzaske
10-14-2002, 07:26 AM
Damn this is aggrevating. How do you edit the placement of a Ramp's "Color [x] color.position"? Maya has EXTREMELY poor UI for this since simpily selecting the color always seems to move the position in the slider? Is there another way to edit the RAMP data without using this FLAWED UI? I was hoping there'd be a way to get this data through some spreadsheet somewhere...but no luck finding it.

-=STZ=-
www.zaske.com

pixho
10-14-2002, 08:37 AM
Hi,

something like this should help:

Each color entry has a number [0], [1], [2], and so on (if you add color entries)

setAttr ramp1.colorEntryList[0].position 0.1 // sets the lowest color's position to 0.1
setAttr ramp1.colorEntryList[1].color 0 0.5 1 // modifies the middle color entry


Hope this helps..

Emmanuel

stzaske
10-14-2002, 10:51 AM
Ahh, so I can edit the numbers at the command line. That is good to know, thank you. It would still be nice to have some sort of GUI for editing the numbers, but it's good to know I can change them via the command line.


-=STZ=-

www.zaske.com

alexx
10-14-2002, 12:17 PM
be carefull!!

the color entry lists are not the way organized like the one at the bottom of the ramp is the one with the lowest number in the entry list..
e.g. after creating and deleting your entries it might be, that your only color left has the entry number 5 or so..

so that might end up in confudion..

just a tip..
select the entry and be SURE to move it and then press undo once..

cheers

alexx

Carina
10-14-2002, 01:04 PM
weird.. i've never had a problem with selecting ramp points without them moving...

guess it's the female touch, eh *wink*

alexx
10-14-2002, 01:21 PM
i have that problem all the time - i am using a pen..

Carina
10-15-2002, 07:33 AM
Tried it last night, granted, when I use my pen I have the same problem;)

I normally use my mouse in the editors, and my pen in the viewports... See I can't even double click things with my pen without making a complete mess of things.

:p

CGTalk Moderation
01-13-2006, 07: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.