Results 1 to 3 of 3

Thread: how to add keys to a an envelope?

  1. #1

    how to add keys to a an envelope?

    Hello Folks,
    Problem is the following:
    I have this small script which activates the Flare Intensity (lens flare property) envelope for all light in the scene. That works fine.
    I can now query also one by one these channels I just cant figure out how to add keyframes to these envelopes. When I tried CreateKey
    command it added keys to the transform channels of the light.
    All helps are appreciated.
    Cheers.

  2. #2
    Goes bump in the night RebelHill's Avatar
    Join Date
    Nov 2003
    Location
    jersey
    Posts
    5,671
    you want...

    chan.createkey(val,time)

    Its a method of the channel object, whereas the create key command is like hitting create key in the interface.
    LSR Surface and Rendering Tuts.
    RHiggit Rigging and Animation Tools
    RHA Animation Tutorials
    RHR Rigging Tutorials
    RHN Nodal Tutorials
    YT Vids Tuts for all

  3. #3
    Thanks! I just figured it out myself meanwhile. I'll be back.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •