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. PATPAT
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    PATPAT

    @PATPAT

    0
    Reputation
    7
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    PATPAT Unfollow Follow

    Latest posts made by PATPAT

    • RE: How to add Strengths of each Pose I set in Pose Morph as Ports into Xpresso?

      Oh dear, it's a fascinating method and it works well! Thank you, x_nerve!

      posted in Cinema 4D SDK
      P
      PATPAT
    • How to add Strengths of each Pose I set in Pose Morph as Ports into Xpresso?

      I'm on a character rigging and I try to sort hand poses into Xpresso.
      075406bd-4a4c-4b22-a1e0-6ca08f71655a-image.png

      I didn't find out a DESC of each Pose, then I can't get each Pose Strength as a port in Xpresso by script which means I got to drag them in, it's a disaster.XD
      https://developers.maxon.net/docs/py/2023_2/classic_resource/tag/tcaposemorph.html?highlight=pose morph
      c56328dd-35db-4f8a-992b-4675bda41841-image.png

      Is there any to way to do it?

      posted in Cinema 4D SDK
      P
      PATPAT
    • RE: C4D 23 and Visual Studio Code Problem

      Oh, it seems i misunderstood autocompletion dummy package. I thought I could edit c4d script anywhere with configured VS Code:P, anyway very thanks to you !

      posted in Cinema 4D SDK
      P
      PATPAT
    • C4D 23 and Visual Studio Code Problem
      1. What I intended to do:
        I intend to write C4D scripts in VS Code.

      2. What I did to achieve:
        I was following the link edited by m_adam:

      https://developers.maxon.net/docs/py/2023_2/manuals/introduction/autocompletion_dummy_package.html
      

      done with Installation 1 and 2, and already put c4d libs shortcut into "site-packages" folder.
      0588a0ec-5c1e-4ffe-bf44-8e5c90a88a11-image.png

      3.What happened and needed to be solved:

      I tried python3.8.5 & 3.7.9 both 64-bits but none of them worked plus return message below:

      dca7f3fb-eed5-434f-9cd4-8386f06c3e8a-image.png

      --------------------------------------------------------------------------
      ModuleNotFoundError                       Traceback (most recent call last)
      e:\VS_Code_Prjs\C4Dtraining\oops in 
      ----> 1 import c4d
            2 from c4d import utils
      
      ~\AppData\Local\Programs\Python\Python38\lib\site-packages\c4d\__init__.py in <module>
           27 from .symbols import *
           28 
      ---> 29 from .functions import *
           30 
           31 from ._internal_doc_utils import MAXON_DOC_INTERNAL_ADDITIONAL_INFO
      
      ModuleNotFoundError: No module named 'c4d.functions'
      

      So in my opinion, it first run the init.py then find no existence of modules name "c4d.functions" or "c4d.symbols",
      but in Cinema 4D Console it never asks me about c4d.functions or c4d.symbols.
      And this is really hard for me to solve.
      How to solve these and make VS Code work well with c4d?

      posted in Cinema 4D SDK
      P
      PATPAT