Navigation

    • Register
    • Login
        No matches found
    • Search
    1. Home
    2. rauvfx
    3. Posts
    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    Posts made by rauvfx

    RE: Noob wants to load custom palette

    @cairyn Thanks a lot ... it works!

    posted in General Talk •
    Noob wants to load custom palette

    Hi everybody,

    I am trying to load a custom palette via python script and an absolute file path using R25, which should then be assigned to a keyboard shortcut.
    This experiment gives me a syntax error:

    import c4d
    from c4d import gui
    def main():
        c4d.documents.LoadFile(C:/Users/User/Desktop/HB_Layout/palette_Basictools.l4d)
    
    if __name__=='__main__':
        main()`
    

    Please give me some help.

    posted in General Talk •