Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there, I've created an arnold light with a target as follows and all works well:
selectedObj = selection[1]
key_light = Arnold_Light intensity:1 exposure:6 normalize:off shapeType:3 targeted: off
key_light.name = "KeyLight"
key_light.pos = light_position
key_light.targeted=on
target = "KeyLight.Target"
However when I try to move the KeyLight target, with:
target.pos = selectedObj.pos
I get the error 'Unknown property: "pos" in "KeyLight.Target". I can see in the listener that I when I move the target around a 'move' command is executed, but if I try that it still throws errors. Can anyone help?
Thanks!
Solved! Go to Solution.