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
    • M

      PolygonObject.SetSelectEdges() and the Neighbor() class, a giant dilemma

      • • mikegold10
      6
      0
      Votes
      6
      Posts
      357
      Views

      M

      @m_adam said in PolygonObject.SetSelectEdges() and the Neighbor() class, a giant dilemma:
      ...

      Hope it answers your questions,
      Cheers,
      Maxime

      Thank you Maxime, this is a lot of useful info. Let me think through all of this and reply here if I have any further issues.

    • C4DSC

      First Time calling SetAction does show the Brush tool's AM

      r20 r21 c++ • • C4DS
      16
      0
      Votes
      16
      Posts
      204
      Views

      C4DSC

      @m_adam said in First Time calling SetAction does show the Brush tool's AM:

      And I did test only on R21 so be sure to check again because I wasn't able to reproduce as you said with default layout in R21.

      Cheers,
      Maxime.

      I am using R21.207 and with default layout see the brush tool in the AM (identical to what happens with R20.059). For safety, I have now tested your solution on R21 and works as expected.

    • rsodreR

      Custom data+gui access with GetParameter()

      c++ r21 r20 r19 • • rsodre
      6
      0
      Votes
      6
      Posts
      334
      Views

      rsodreR

      @m_magalhaes No hurry, for now there's just one place where I need this, I get it using the BaseContainer. But I will probably use it more often, so if the DOTS example is updated I can replicate the solution to my own type and remove this workaround.

      Thanks!

    • D

      Avoiding invalidating saved scenes when implementing Read/Write

      c++ sdk • • doppelgamer
      18
      0
      Votes
      18
      Posts
      379
      Views

      ManuelM

      hi,

      back to the subject, i was tracking the bug and I discovered it was on my chair. After messing around too much about the code, I was doing something very wrong.

      when you register your scenehook what is the level ? (last parameter of RegisterSceneHookPlugin)

      Cheers,
      Manuel

    • B

      GetWidth() for GeDialog?

      r21 python • • bentraje
      4
      0
      Votes
      4
      Posts
      102
      Views

      B

      Hi @m_adam .

      Apologies for bringing up the thread again. I just have a follow up question.

      The def Message works well for the consecutive duration of the dialog.
      But for the initial life (i.e on startup), the def Message will not be executed .

      Is there a way to determine the width and height of the dialog upon its startup?

    • B

      SetActiveRenderData Does Not Work As Expected?

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      133
      Views

      B

      @PluginStudent

      Thanks for the explanation.
      Your solution works as expected 🙂

    • B

      Global Variable doesn't work on CoreMessage?

      r21 python • • bentraje
      7
      0
      Votes
      7
      Posts
      379
      Views

      M

      @bentraje I don't have that much to add on your topic since I think @zipit already explained everything nicely.

      In any case some good resource for you about how global variable works in Python Global keyword in Python and Mutable vs Immutable Objects in Python.

      Regarding your last question, I think you should open a new topic, but the short answer there is no way to pass directly a variable with a MessageData, the best way is to use a scope accessible by both part and store this variable in this shared scope (can be global or any other).

      Cheers,
      Maxime.

    • D

      Display data in the attribute manager that is not stored in the object base container

      • • daniell
      4
      0
      Votes
      4
      Posts
      258
      Views

      M

      Hi @daniell welcome on the plugincafe forum,

      Don't worry since it's your first post, I've set up it correctly but please for the next one, make sure to read and apply the next rules:

      Q&A New Functionality. How to Post Questions especially tagging.

      Finally, regarding your issue, you may find relevant the NodeData::GetDParameter() Manual and NodeData::SetDParameter() Manual.

      Cheers,
      Maxime.

    • B

      Content Browser Like Navigation?

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      151
      Views

      B

      @r_gigante

      Thanks for the reference.
      For anyone trying to achieve the same,
      here is a sample file.
      https://www.dropbox.com/sh/z1lzyphp8qnt9kw/AAB2P5gNo16IHafgc6xPEsy4a?dl=0

      Thanks again for @zipit for the help.

    • Passion3DP

      XPresso: Modify UserData

      • • Passion3D
      8
      0
      Votes
      8
      Posts
      352
      Views

      Passion3DP

      @zipit work fine 👍 thanks a lot

    • B

      Treeview Creates An Extra Column?

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      108
      Views

      B

      @m_adam

      Thanks! Works as expected

    • Passion3DP

      XPresso python node

      • • Passion3D
      3
      0
      Votes
      3
      Posts
      154
      Views

      Passion3DP

      Thanks @PluginStudent 😉

    • SwinnS

      Copy Material with Current State to Object

      python • • Swinn
      5
      0
      Votes
      5
      Posts
      193
      Views

      SwinnS

      Got it. Thanks, again, zipit for you answer. 🙂

    • Danchyg1337D

      Isoparm in Deformer plugin

      r20 c++ r21 • • Danchyg1337
      12
      1
      Votes
      12
      Posts
      471
      Views

      Danchyg1337D

      @r_gigante Thanks for your reply! You were absolutely right about checking input type. When i did a simple type check everything started to work as it should!

    • SwinnS

      delete Redshift node

      • • Swinn
      3
      0
      Votes
      3
      Posts
      422
      Views

      SwinnS

      Cool! Thanks. 🙂

    • ferdinandF

      Scope of the hashes returned by C4DAtom.FindUniqueID(c4d.MAXON_CREATOR_ID)

      r21 python windows • • ferdinand
      5
      0
      Votes
      5
      Posts
      322
      Views

      ferdinandF

      Hi,

      thanks, that answers all my questions.

      Cheers,
      zipit

    • lasselauchL

      Renderqueue Layout/Dialog Questions

      • • lasselauch
      5
      0
      Votes
      5
      Posts
      246
      Views

      M

      I'm sorry for the huge delay asked for this question, but it appears, that this dialog layout is hardcoded in the default Cinema 4D layout, so when you open it this dialog, it loads this layout by default since it's saved in the default Cinema 4D layout.

      Unfortunately, there is no way to do the same thing with code but you can split your GUI in 2 parts and let the user build its own layout with all the Command and your Dialog bellow.

      Cheers,
      Maxime.

    • Passion3DP

      Change a rendering parameter in python xpresso node

      • • Passion3D
      12
      0
      Votes
      12
      Posts
      466
      Views

      Passion3DP

      @Cairyn Thanks, all work fine for this module 👍

    • D

      Copying Layers along with Objects

      c++ r20 sdk • • d_schmidt
      6
      0
      Votes
      6
      Posts
      235
      Views

      D

      @Cairyn Thanks again!

      That's what I was afraid of, but thanks for the information!

    • M

      Is it possible to get a spline wrap object to use a python generated spline?

      python • • moGRR
      8
      1
      Votes
      8
      Posts
      325
      Views

      r_giganteR

      Thanks @moGRR for reaching out us.

      With regard to your question, as pointed out by @zipit, it's not possible to have a Python Generator to generate object which can be recognized as real spline by generators/deformers expecting a spline as input due to the Python Generator flags used in its registration.

      Beside the option mentioned by @zipit I also invite to have a look at this post where it's presented a generator outputting spline and accepting splines as input.

      Best, R