Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Home
    2. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • C4DSC

      Naming: plugin vs plugin

      • • C4DS
      5
      0
      Votes
      5
      Posts
      471
      Views

      r_giganteR

      Hi Daniel, thanks for sharing your further considerations.

      I see your points and maybe we should consider to update our documentation to reflect the notes above. I will discuss with the team and maybe we could come with a better introduction where the "plugin" term is used in a less generic meaning.

      Cheers, Riccardo

    • C4DSC

      Reusing customGUI in different plugins

      r20 r19 c++ • • C4DS
      2
      0
      Votes
      2
      Posts
      247
      Views

      ManuelM

      hello,

      while RegisterCustomGuiPlugin could be called in all your plugins, the issue is that you will have a message in the console indicating that the id is already used / in conflict.

      So you can check, as you stated, if the library is already installed with IsLibraryInstalled or using FindPlugin and only register and install the library if you find nothing.

      The load order here should not be a problem as all modules should be loaded before you need to call anything related to the UI.

      Instead of FindPlugin,for CUSTOMDATATYPEPLUGIN or RESOURCEDATATYPEPLUGIN you can use
      FindCustomDataTypePlugin or FindResourceDataTypePlugin

      Cheers
      Manuel

    • B

      Hide the Generic Tabs of an Subject

      r20 python • • bentraje
      5
      0
      Votes
      5
      Posts
      333
      Views

      B

      @m_adam

      Oh okay. Thanks for the confirmation. Have a great day ahead!

    • chuanzhenC

      DrawLine Obscured by objects

      python • • chuanzhen
      5
      0
      Votes
      5
      Posts
      458
      Views

      chuanzhenC

      @m_magalhaes Thanks ,it works well,I modified the code according to your answer.

      1 draw line not obscured by any object.solved

      2 before i just draw line in MouseImput() (not add Draw() funtion),as above pic/code, Now i draw line in Draw(),it works well.solved

    • S

      Convenience function for Combobox

      r19 python macos • • saputello2
      5
      0
      Votes
      5
      Posts
      470
      Views

      S

      Thank you again, @m_adam! I ended up using the C++ method, and it worked like a charm.

      Also, I appreciate the link to the *args and **kwargs at pythontips.com. It was very helpful to understand those concepts.

      I do have (many) more questions, but I'll start new posts since they're not related to this topic.

      My Best,

      Eric

    • rsodreR

      Sampling some object's material color channel

      c++ r19 r20 • • rsodre
      7
      0
      Votes
      7
      Posts
      469
      Views

      rsodreR

      @r_gigante Nice one, thanks!

    • S

      Tangent space, point clouds and multi UV materials

      • • sketchfab
      3
      0
      Votes
      3
      Posts
      399
      Views

      kbarK

      Hi Aurelein!

      Great to see the importer is happening.

      Just thought this old blog post of mine might help you.

      http://tools4polygons.blogspot.com/2015/12/multiple-uvs-and-lightmaps-in-c4d.html

      Cheers,
      Kent

    • M

      Any way to get the originally point pos before posemorph tag?

      • • mike
      7
      0
      Votes
      7
      Posts
      473
      Views

      M

      @m_magalhaes thank for your help!

    • K

      Data Dump Python Function

      • • kaisbot
      9
      0
      Votes
      9
      Posts
      547
      Views

      ManuelM

      hello,

      if you don't have anything else to add, i'll mark this topic as "solved"

      Cheers
      Manuel

    • B

      Problem on Freezing and Parenting objects (i.e. Double Transformations)

      r20 python • • bentraje
      3
      0
      Votes
      3
      Posts
      249
      Views

      B

      @m_adam

      Interesting. I never thought of doing it that way.
      Thanks for the response. It works as expected.

      Have a great day ahead!

    • F

      Specify additional directories for DLL dependencies

      • • FilipM
      3
      0
      Votes
      3
      Posts
      363
      Views

      F

      @r_gigante said in Specify additional directories for DLL dependencies:

      If I end up with some workaround I'll come back here but for the time being I consider it solved.

      OK, thanks for the info!

      /Filip

    • B

      Modify FBX Exporter?

      r20 python • • bentraje
      5
      0
      Votes
      5
      Posts
      708
      Views

      B

      Sure sure we can label at as solved at the moment.
      Thanks again for the help!

    • C4DSC

      Ignore missing plugins - NodeData

      r19 r20 c++ • • C4DS
      8
      0
      Votes
      8
      Posts
      495
      Views

      S

      Hello,

      I don't think you have to do anything else in Write(). WriteObject() should only write the nodes that you inserted into the list head. If you don't add outdated nodes to your list head, they are not written into the file.

      best wishes,
      Sebastian

    • M

      Questions about NodeData::CopyTo()

      • • mike
      8
      0
      Votes
      8
      Posts
      579
      Views

      M

      @m_magalhaes Thank you for your patient answers.

    • merkvilsonM

      merge BaceCointainer from one object to another.

      python • • merkvilson
      6
      0
      Votes
      6
      Posts
      551
      Views

      ManuelM

      yea, sometime a direct approach is better.

      By the way, and for those who are reading this post, you can use the ids found in Ospline.h
      (i'm pretty sure you found them but just in case)

      SPLINEOBJECT_INTERPOLATION_NONE SPLINEOBJECT_INTERPOLATION_NATURAL SPLINEOBJECT_INTERPOLATION_UNIFORM SPLINEOBJECT_INTERPOLATION_ADAPTIVE SPLINEOBJECT_INTERPOLATION_SUBDIV

      Cheers
      Manuel

    • F

      Strange issue: Plugin not loading

      • • FilipM
      10
      0
      Votes
      10
      Posts
      2.2k
      Views

      F

      This has deviated a bit from the original question, so I will mark this as solved and open a new thread with the remaining questions.

      Thanks for the input everybody!

    • P

      Treeview adding a new item as an child

      python r20 • • pim
      4
      0
      Votes
      4
      Posts
      359
      Views

      r_giganteR

      @mp5gosu this completely makes sense and it's indeed a valuable recommendation but I wasn't sure about Pim's requirement here on deriving from Cinema 4D base classes.

      Cheers, R

    • P

      Which message does the tag receive when Viewport Solo is activated/selected?

      r20 python • • pim
      3
      0
      Votes
      3
      Posts
      240
      Views

      P

      Yes, I do the same.
      I can check whether the obj is dirty and set the nbits again.

      Thank you.

    • fwilleke80F

      BuildNgon() with only two inner edges crashes

      c++ r20 classic api • • fwilleke80
      8
      0
      Votes
      8
      Posts
      550
      Views

      r_giganteR

      Hi Frank, thanks for following up 🙂

      With regard to your latest question, there are no means to "ask" the Ngon system about that.

      Checking for the number of vertexes an n-gon is going to use before deciding to use it, it's a reasonable way to proceed.

      Cheers, Riccardo

    • B

      Retrieve tags that have only "logical" Priority Data?

      r20 python • • bentraje
      3
      0
      Votes
      3
      Posts
      283
      Views

      B

      @m_magalhaes said in Retrieve tags that have only "logical" Priority Data?:

      descTag = tag.GetDescription(c4d.DESCFLAGS_DESC_NONE) bc = descTag.GetParameter(c4d.EXPRESSION_PRIORITY) if bc[c4d.DESC_NAME] is not None: print tag

      Thanks @m_magalhaes. Works as expected!
      Just a little change from c4d.DESCFLAGS_DESC_NONE to c4d.DESCFLAGS_DESC_0

      Thanks again. Have a great day ahead!