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
    • Login
    1. Maxon Developers Forum
    2. sol87
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    sol87

    @sol87

    0
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    sol87 Unfollow Follow

    Latest posts made by sol87

    • RE: Can't get assets info in c4dpy

      @m_magalhaes Oh, really? Thx so much!

      posted in Cinema 4D SDK
      S
      sol87
    • Can't get assets info in c4dpy

      I have tried c4d.documents.GetAllAssets method to list assets, it works well in C4D Gui.

      9f321283-1195-46a8-a948-3bc1ddd36378-image.png

      Then I tried with c4dpy, it was not working.

      As c4d.LoadFile method is not supported in c4dpy, so I use c4d.LoadDocument method instead. Then GetAllAssets method returns an empty list.

      How can I get the same result in c4dpy?

      Here is what I've done in c4dpy:

      63bcaf8d-45de-4f15-916c-dab83d3b3f9e-image.png

      posted in Cinema 4D SDK python r21 sdk
      S
      sol87
    • RE: R21 c4dpy LoadFile always return False

      @ferdinand

      wow, awesome. It works!

      thank you so much.

      posted in Cinema 4D SDK
      S
      sol87
    • RE: R21 c4dpy LoadFile always return False

      What I'm actually doing is making a python script to load render settings such as frame range, resolutions, cameras should be rendered from c4d files.

      Is there any shortcut to figure it out?

      posted in Cinema 4D SDK
      S
      sol87
    • RE: R21 c4dpy LoadFile always return False

      Hi @ferdinand ,

      Thx so much for your help. But I still I still haven't succeeded to load the file.

      I tried LoadDocument method like this, but it returns None.

      >>> d = documents.LoadDocument(
              'test.c4d', 
              c4d.SCENEFILTER_OBJECTS | c4d.SCENEFILTER_MATERIALS | c4d.SCENEFILTER_MERGESCENE, 
              thread=None)
      >>> print(d) 
      None
      

      Am I using the loadflags in wrong way?

      posted in Cinema 4D SDK
      S
      sol87
    • R21 c4dpy LoadFile always return False

      What I was doing is just open a c4d file via python. The file is so simple as there is only a cube.

      It works in C4D Console,

      54a0002e-0cb7-4bca-bbbd-366d5b25062c-image.png

      But not working in c4dpy.

      1e7952b7-284e-416d-817d-d2568eb2e818-image.png

      Am I missing something? Pls give me a hint.

      posted in Cinema 4D SDK sdk python
      S
      sol87