There is a command to get a hook to the ppg but I can't remember what it was. It's clearly explained in Raphael fragapanes technical direction course.
Kenny On Thu, 19 Jul 2018, 13:41 Martin Yara, <[email protected]> wrote: > I'm recreating a Weight Editor for Vertex Colors to get a faster version > of the crappy SI 2015 Weight Editor. I already did the grid and it's > pretty fast, like 3 seconds for the same model, almost like Softimage 2013 > and with Python only. > > Now I'm having some problems with the PPG, so here are my questions, > hopefully someone can give me some hints to put me into the right direction: > > - PPG is not defined. > I'm trying to create a event that refresh my PPG eveytime the selection > changes, but I can't find a way to get my property. As expected, the global > variable PPG doesn't work inside this event. > How can I call my property from this event? > > - Change minimum value of a Parameter in an already defined Property. > I want to do something like the Weight Editor that changes the minimum > value from 0 to -1 when changing from Abs to Add. > > - Event to trigger after I change the value of a parameter > The Weight Editor slider seems to trigger a command after I stopped moving > it. I'd like to replicate that but it seems impossible. Is it ? > In the PPG events I have "changed" but it triggers while I'm sliding the > bar, not when I finished, increasing a lot the Undo list. > > - Grid Color cell > I'm still lost about the grid color. It seems that it wants one "number" > or something. I tried different combinations like RGB888 and RGB555 but it > stills give me a different color. > > Thanks > > Martin > > > ------ > Softimage Mailing List. > To unsubscribe, send a mail to [email protected] > with "unsubscribe" in the subject, and reply to confirm.
------ Softimage Mailing List. To unsubscribe, send a mail to [email protected] with "unsubscribe" in the subject, and reply to confirm.

