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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    SET DTYPE_VECTOR4D VALUE

    Cinema 4D SDK
    r20 python
    2
    2
    455
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mike
      last edited by

      hi,
      how to set DTYPE_VECTOR4D value use 'node.SetParameter'? i test vector4d list dict tuple, all show 'TypeError: could not convert 'xxx'' .this is my code:

      cid = c4d.DescID(c4d.DescLevel(Dynamic_ID.V4D, c4d.DTYPE_VECTOR4D, 0))
      node.SetParameter(cid, c4d.Vector4d(1, 2, 3, 4), c4d.DESCFLAGS_SET_NONE)
      

      hope your help!

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi @mike, thanks for reaching out us.

        With regard to the issue reported, I confirm that it's known bug and there is no current workaround.

        A bug fix will be delivered in the future.

        Regard, Riccardo.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post