• 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. Brakusha
B
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 3
  • Best 0
  • Controversial 0
  • Groups 0

Brakusha

@Brakusha

0
Reputation
2
Profile views
3
Posts
0
Followers
0
Following
Joined Aug 18, 2023, 9:14 PM Last Online Jun 1, 2024, 1:09 PM

Brakusha Unfollow Follow

Latest posts made by Brakusha

  • RE: Create Xpresso Python node

    WOW!!! It turns out that there is a node specifically for python. But in the documentation, in the list GV Node Types, it is not indicated. This fact forced me to look for workarounds. Thanks for the help

    posted in Cinema 4D SDK
    B
    Brakusha
    Nov 13, 2023, 3:20 PM
  • Create Xpresso Python node

    Hi. I ask you to forgive me for my English. I have to use a translator. My problem is this: I'm trying to create a Xpresso Python node in my script, using a command GvNodeMaster.CreateNode. I`m use node ID_OPERATOR_COFFEE. The node appears in the editor window, but for some reason it is dead, and its title is red. Once created, I can't do anything with the node. Can't fill the script window or anything. I'm creating this node because there was already advice here: to create a Python node, contact the coffee operator. What am I doing wrong?

    Sample code:

    from typing import Optional
    import c4d
    
    doc: c4d.documents.BaseDocument  # The active document
    op: Optional[c4d.BaseObject]  # The active object, None if unselected
    
    def main() -> None:
    
    
        tag = op.GetTag(c4d.Texpresso)
        nodemaster = tag.GetNodeMaster()
        noderoot = nodemaster.GetRoot()
        mynode = nodemaster.CreateNode(noderoot, c4d.ID_OPERATOR_COFFEE, None, 0, 0)
    
        c4d.EventAdd()
    
    if __name__ == '__main__':
        main()
    
    posted in Cinema 4D SDK python 2024
    B
    Brakusha
    Nov 13, 2023, 10:38 AM
  • RE: Python Xpresso Node

    @m_adam said in Python Xpresso Node:

    Hi you should use ID_OPERATOR_COFFEE, this is mostly due to historical reason since previously the scripting language in Cinema 4D was COFFEE and it was then replaced with Python.

    Cheers,
    Maxime.

    ID_OPERATOR_COFFEE is not work.(((

    posted in Cinema 4D SDK
    B
    Brakusha
    Nov 11, 2023, 4:33 PM