Navigation

    • Register
    • Login
    • Search
    1. Home
    2. DavidW
    D

    DavidW

    @DavidW

    0
    Reputation
    2
    Posts
    60
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    DavidW Follow

    Best posts made by DavidW

    This user does not have any upvoted posts yet.

    Latest posts made by DavidW

    RE: Issue Changing Modeling Axis

    Thanks for the solution and explanation Yannick. It's working perfectly now and I can finish converting my scripts.

    posted in Cinema 4D SDK •
    Issue Changing Modeling Axis

    I'm trying to convert a working COFFEE script for changing the modeling axis to Python. Updated tool data is printed to the Console but the Axis parameter is not changing.

    import c4d
    
    def main():
        tool_dat = doc.GetActiveToolData()
        tool_dat[c4d.MDATA_AXIS_MODE] = c4d.MDATA_AXIS_MODE_FREE
        c4d.EventAdd()
    
    if __name__=='__main__':
        main()
    
    posted in Cinema 4D SDK •