• Categories
    • Overview
    • News & Information
    • Cinema 4D SDK Support
    • Cineware SDK Support
    • ZBrush 4D SDK Support
    • Bugs
    • General Talk
  • Unread
  • Recent
  • Tags
  • Users
  • Register
  • Login
Maxon Developers Maxon Developers
  • Documentation
    • Cinema 4D Python API
    • Cinema 4D C++ API
    • Cineware API
    • ZBrush GoZ API
    • Code Examples on Github
  • Forum
  • Downloads
  • Support
    • Support Procedures
    • Registered Developer Program
    • Plugin IDs
    • Contact Us
  • Categories
    • Overview
    • News & Information
    • Cinema 4D SDK Support
    • Cineware SDK Support
    • ZBrush 4D SDK Support
    • Bugs
    • General Talk
  • Unread
  • Recent
  • Tags
  • Users
  • Register
  • Login
  1. Home
  2. davidtodman
D
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 8
  • Best 2
  • Controversial 0
  • Groups 0

davidtodman

@davidtodman

3
Reputation
8
Profile views
8
Posts
0
Followers
0
Following
Joined Oct 15, 2020, 11:14 AM Last Online Mar 3, 2023, 3:42 PM

davidtodman Unfollow Follow

Best posts made by davidtodman

  • RE: Expresso show hidden objects

    @mauovernet I know this forum isn't for Xpresso (as mentioned below). But attached is a solution scene to what I think you're after.
    Condition_Visiblity_Switch_001.c4d

    Hope it helps.

    posted in Cinema 4D SDK
    D
    davidtodman
    Jan 5, 2022, 3:52 PM
  • RE: UserData

    @bokibo This is very easy to implement using just Xpresso, rather than Python. Do you need to use Python?

    I've attached a solution if it's helpful.
    height_user_data_solved.c4d

    posted in Cinema 4D SDK
    D
    davidtodman
    Jan 5, 2022, 3:28 PM

Latest posts made by davidtodman

  • RE: Expresso show hidden objects

    @mauovernet I know this forum isn't for Xpresso (as mentioned below). But attached is a solution scene to what I think you're after.
    Condition_Visiblity_Switch_001.c4d

    Hope it helps.

    posted in Cinema 4D SDK
    D
    davidtodman
    Jan 5, 2022, 3:52 PM
  • RE: UserData

    @bokibo This is very easy to implement using just Xpresso, rather than Python. Do you need to use Python?

    I've attached a solution if it's helpful.
    height_user_data_solved.c4d

    posted in Cinema 4D SDK
    D
    davidtodman
    Jan 5, 2022, 3:28 PM
  • RE: Create New Take Using Python

    @m_adam Thanks for your help. Apologies for not following the rules. I'm struggling with the rules of Python at the moment so it's not surprising! Will try to be a better poster in future.

    posted in Cinema 4D SDK
    D
    davidtodman
    Oct 16, 2020, 10:32 AM
  • RE: Create New Take Using Python

    @zipit Thank you for taking the time to reply. Much appreciated.

    posted in Cinema 4D SDK
    D
    davidtodman
    Oct 16, 2020, 10:29 AM
  • RE: Create New Take Using Python

    Out of interest - How did you learn C4D Python? I can't find any ground up courses or tutes. They're either too advanced for beginners or so basic they just show you how to drag and drop commands from the script log.

    I've already taken a general python course. But I find the structure of C4D python baffling and need some help understand the basic structure of data in the program.

    posted in Cinema 4D SDK
    D
    davidtodman
    Oct 15, 2020, 3:02 PM
  • RE: Create New Take Using Python

    Hi @zipit . Thank you so much for your help. I don't think I would have ever figured this out for myself!

    posted in Cinema 4D SDK
    D
    davidtodman
    Oct 15, 2020, 2:52 PM
  • Create New Take Using Python

    Hi,

    I'm very new to C4D python and am having trouble doing the simplest thing. Eventually I want to create a script that controls quite a few things related to Takes. However, my first baby step is simply to create a new Take and add it to the list.

    My first attempt seems to work but when I right-click my new take I cannot delete it and certain behaviours crash C4D! Can someone tell me what I am doing wrong, as I've copied most of this script from a Cineversity script that seems to behave just fine.

    def main():
        td = doc.GetTakeData()
        pt = td.GetMainTake()
        ct = td.SetCurrentTake(pt)
        nt = td.AddTake("",pt,pt)
        td.InsertTake(nt,pt,2)
        td.SetCurrentTake(nt)
        nt.SetName("My Take")
        c4d.EventAdd()
    

    Any help is much appreciated.

    posted in Cinema 4D SDK
    D
    davidtodman
    Oct 15, 2020, 11:28 AM