On 22/03/2016 at 02:09, xxxxxxxx wrote:
Hey Guys ^^
so, what I want to do is, to access the "Output Upper" of an RangeMapper via a Python Tag.
I want to use this like an multiplier with an Float Field from my User Data.
I have tried it like this:
import c4d def main() : obj_ps = doc.SearchObject("Null") multi = obj_ps[c4d.ID_USERDATA,29] #This is the float field xpresso_tag = obj_ps.GetFirstTag() node_master = xpresso_tag.GetNodeMaster() node = node_master.AllocNode(c4d.ID_OPERATOR_RANGEMAPPER) node[c4d.GV_RANGEMAPPER_RANGE22] = multi
I tried it like this because I only have one Range Mapper in my Xpresso.
but this seems to be not working.
Well, it actually does nothing at all, but I don't get an error or something.
So yeah, is it actually possible, or am I just to stupid to get it right?
thanks in advance,