• Bake Texture within ObjectData

    13
    0 Votes
    13 Posts
    2k Views
    mfersaouiM
    @m_adam said in Bake Texture within ObjectData: bakeBmp = c4d.bitmaps.MultipassBitmap(512, 512, c4d.COLORMODE_RGBf) This example helped me a lot. Thank you so much. Regards, Mustapha
  • ID_MODELING_LOOP_TOOL still broken ?

    r20
    4
    0 Votes
    4 Posts
    840 Views
    A
    @m_adam Anyway, thanks for your time!
  • How to print in the console ?

    3
    0 Votes
    3 Posts
    735 Views
    KantroninK
    I used the frame of your code to make plugins from scripts that I wrote, and now I can send my results to the console. Thanks
  • Storing a part of the hierarchy

    r20 c++
    20
    0 Votes
    20 Posts
    2k Views
    P
    Thanks for all the support. I will use all the knowledge gained and start testing. I am sure, I will be back with more questions. -Pim
  • Custom Object Icon in R21 python

    python
    2
    0 Votes
    2 Posts
    630 Views
    M
    Hi @affa May I ask you in which context you are? Can you share your code? Did you take a look to the py-custom_icon.pyp plugin example. Cheers, Maxime.
  • IsolateObjects question

    r20 python
    7
    2
    0 Votes
    7 Posts
    878 Views
    P
    Aha, thanks.
  • Python plugin priority

    python
    3
    0 Votes
    3 Posts
    476 Views
    fwilleke80F
    OK, thanks!
  • Is CalculateVisiblePoints() useable?

    c++ r20 sdk
    3
    0 Votes
    3 Posts
    477 Views
    D
    Thank you, Riccardo. That was exactly what I was doing wrong. Dan
  • Set Knot Value of RangeData, bug?

    Moved r19 python
    3
    0 Votes
    3 Posts
    763 Views
    G
    Thank You, How embarrassing I forgot to write back to the UserData. (I shouldn't code late at night) Solved.
  • Cloner with multi-instance

    c++ r21
    4
    0 Votes
    4 Posts
    1k Views
    ManuelM
    hello, without further addition on your part, this thread will be considered as solved tomorrow. Cheers, Manuel.
  • Cloth Surface object ID name

    sdk c++
    4
    0 Votes
    4 Posts
    666 Views
    ManuelM
    hello, up to version R20 you can use GeGetVersionType but this have been removed with the version R21 (we only have one package now) With the version R21 follow you have several functions see this page to check the version you can check for API_VERSION #if API_VERSION > 20999 ApplicationOutput("this is a message"); #else GePrint("this is a message"); #endif Cheers Manuel
  • Any reason SceneHook is still not supported by Python?

    sdk r21 python
    3
    0 Votes
    3 Posts
    539 Views
    CairynC
    @m_adam Thanks, yes, you're right, a timer may be my best choice here to avoid too much load on the system. Checking the project list every 3 seconds or so should suffice for the usecases. And since I'm in a GeDialog, the timer function is easy to implement. (I just have to take care that within the 3 seconds, the state of the dialog may be inconsistent with the actual system state.)
  • Keyframe Selection Code from Cineversity

    r21 python
    3
    0 Votes
    3 Posts
    419 Views
    B
    @zipit Thanks for the clarification. Yea, I guess so but just learning as much as I can. Thanks again!
  • AddUndo() for MergeDocument() ?

    16
    0 Votes
    16 Posts
    3k Views
    ManuelM
    hi, nice, feel free to share your solution and mark this thread as solved. Cheers, Manuel
  • 0 Votes
    3 Posts
    701 Views
    J
    @m_magalhaes thanks, looking forward to the next update
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Plugin porting to R20(R21) MacOS problem.

    r20 c++ r21
    6
    0 Votes
    6 Posts
    1k Views
    WTools3DW
    So my problem was actually not related to OSX but to compatibility issues between minor releases. Thanks to your replies I sorted it out. And I finally understand your versioning concept. Thank you Manuel, good job! Regards, Viktor Veličko WTools3D s.r.o. www.lwcad.com
  • DIALOG CONTAINS DESC DATA

    9
    1
    0 Votes
    9 Posts
    1k Views
    M
    You are right @zipit is not a ToolData but a DescriptionToolData. Note that in Python you can register a SculptBrushToolData which derive from DescriptionToolData. But for me, my previous questions are still relevant, what's your final need, and why do you strickly need your dialog to be constructed this way? Cheers, Maxime.
  • Calling a Python plugin from C++ PluginStart()

    r21 c++ python
    4
    0 Votes
    4 Posts
    692 Views
    M
    If it's only a question of executing python, why not directly execute python from C++ using the python library? #include "c4d.h" #include "lib_py.h" PythonLibrary pylib; pylib.Execute("import c4d\nprint 'From Python:', c4d.GetC4DVersion()"_s); Note that in R20 the python.framework was released, and should be used for the future. The old python library (since R15) is still there and still works, but take care that in a future release it may disappear since everything that was possible and even more is now possible with the python.framework. For more information see Python Page. Cheers, Maxime.
  • Update timeline markers on user data slider input.

    Moved python r20 r21
    4
    0 Votes
    4 Posts
    1k Views
    G
    Thank You @m_magalhaes and @zipit Both your suggestions were very helpful. The controller works very well @m_magalhaes I just needed to convert my user data input to BaseTime and it works perfectly. I was able to solve the updating issue to work how I want. I only needed to add: c4d.GeSyncMessage(c4d.EVMSG_TIMECHANGED) Now my timeline markers update nicely as I change values. This topic can be marked solved.