i asked a question on here the other day but i susect i worded it wrong.
in a plugin i am writing, in have the line
control = thisObject.GetControl("Transform")
what other options are there for the parameter of GetControl other than "Transform"?
i looked on the manual page but it doesn't tell you. i've found one or two various examples use other options but i am unable to find a concessive list or a way of finding one.
the reason i ask is that in a scene i have created in iclone some of the lights change intensity at certain keyframes. i wish to programmatically find what those keyframes are.
given that the lights do not physically move but only change in brightness
control = thisObject.GetControl("Transform") only retrieves the one key at frame 0 as no movement transformation occurs.
if example. a light changes brightness three times at frames 600, 180 and 500
thisObject = RLPy.RScene.FindObject(RLPy.EObjectType_Light, tObJect)
thisObject.GetControl("Transform")
key_count = control.GetKeyCount()returns 1 as the light doesn't physical move, but only changes brightnesswhat i need is the parameter for the GetControl function where
key_count = control.GetKeyCount() would in this case return three
a complete list of options for GetControl would be much appreciated too.
Thank you.