python bug ??
  • tb_101
    junior Member
    Posts: 9
    Joined: Mon Jun 29, 2009 12:52 am

    python bug ??

    by tb_101 » Sat Jul 11, 2009 11:30 pm

    hello all,

    i am trying to get the following parameter from a Layer:
    'direct_layer_scale_x'

    theScaleX = modul8.getValue( 'direct_layer_scale_x', 1 )
    theScaleX is always None !
    i want to save that property to a file ....
    it seems that all propertys starting with:
    "direct_layer_" can not not be read :-(

    setting the property works
    modul8.setValue('direct_layer_scale_y', theVal , whichLayer)

    perhaps someone has a hint for me !

    t.
  • User avatar
    Vincent-Pimousse
    super8 member
    Posts: 131
    Joined: Tue Oct 09, 2007 8:50 pm
    Location: Toulouse, FR

    by Vincent-Pimousse » Sun Jul 26, 2009 12:15 am

    I test:
    time = modul8.getValue ('direct_layer_movie_timePosition',0)
    print time

    And it works.

    I test with 'direct_layer_scale_x' and it doesn't work.

    Strange

Who is online

Users browsing this forum: No registered users and 16 guests