• SendModelingCommand Failing

    python r21
    9
    0 Votes
    9 Posts
    2k Views
    ManuelM
    hello, I forgot to ask, where are you running those commands ? on a script, a dialogbox, a nodedata ? Thanks for your time trying to isolate the problem. Don't hesitate to send us an heavy scene, we can see why the command isn't working. Cheers, Manuel
  • Critical Stop when deleting a plugin object

    2
    1
    0 Votes
    2 Posts
    345 Views
    r_giganteR
    Hi Frank, thanks for reaching out us. With regard to the reported issue, since we can easily end up in a lot of guess work, would you mind to privately share (email) the plugin to let us run some tests here? Thanks, Riccardo
  • Updating ObjectData plugin only on timeline change

    Moved r20 python
    6
    0 Votes
    6 Posts
    926 Views
    G
    Fantastic, Thank you for the suggestions, ObjectDataOptimizeCache(true) does what I need.
  • Keyframing a property using python.

    Moved
    3
    0 Votes
    3 Posts
    818 Views
    M
    Hi Manual, Thanks for your help! Next time I will use the 'ask question' when posting a question. You code does exactly what I need, much appreciated! Cheers, Martijn
  • Retrieve Center Pivot of Three or More Objects?

    r21 python
    8
    0 Votes
    8 Posts
    896 Views
    B
    @s_bach Thanks for the response! Works as expected. @zipit No worries. Will close this thread. I will probably revive this a year from now (lol). I have a feeling that Matrix will haunt me again in other aspects so this would be a nice exercise if that happens. Thanks again!
  • ProjectTool problems in MacOs Catalina

    5
    0 Votes
    5 Posts
    1k Views
    r_giganteR
    Hi c4dmac, thanks for following up here. With regard to the issue you've reported you can get fixed by reestablishing the executable bit on the kernel_app file found in the zip archive. To sum it up, upon downloading the project tool archive you have to: remove quarantine xattr -d "com.apple.quarantine" ./cinema4d_r21_project_tool_20190903.zip extract the archive (either via terminal or via finder) unzip -d ./cinema4d_r21_project_tool_20190903 ./cinema4d_r21_project_tool_20190903.zip re-establish the kernel_app executable bit chmod 555 ./cinema4d_r21_project_tool_20190903/kernel_app.app/Contents/MacOS/kernel_app Best, Riccardo
  • Insert Button for Plugin into standard palette

    python r20 windows
    4
    0 Votes
    4 Posts
    727 Views
    B
    Thanks for the input! It's a shame you can't fiddle with the palettes. I think I'll just do it like x-particles and have a command that loads the palette and the user can dock it himself. Not the most elegant, but gets the job done. Cheers
  • LocalDateTime, UniversalDateTime... how to compare

    c++ r21 classic api maxon api
    13
    0 Votes
    13 Posts
    1k Views
    fwilleke80F
    Thank you, Ricardo!
  • Retrieve the Bottom Center Pivot of an Object?

    r21 python
    5
    0 Votes
    5 Posts
    677 Views
    M
    Hi @bentraje beside zipit said which is indeed correct you may found interesting a plugin I made a long time ago when I started python, which has exactly this purpose but also supports specific objects such as sweep, spline and so on. https://github.com/gr4ph0s/graph_bottom_center_axis/blob/master/bottom_axis_center.pyp Cheers, Maxime.
  • FileFormat Exporter

    4
    0 Votes
    4 Posts
    669 Views
    E
    Thank you. That worked like a dream.
  • Gray Out Custom UI Bitmap Button?

    r21 python
    9
    0 Votes
    9 Posts
    1k Views
    B
    @Cairyn Gotcha. Thanks for sharing! @m_adam ". . . but until everything is moved to the new core" That's a nice tease there
  • Setting Parameters from JSON File

    r21 python
    3
    0 Votes
    3 Posts
    802 Views
    B
    @m_adam Thanks! Works as expected!
  • Object plugin hangs when IRR is on

    python r20
    5
    0 Votes
    5 Posts
    664 Views
    ferdinandF
    Hi, reading this thread one question popped into my mind. You wrote: I create two temporary documents with IsolateObjects(), and after getting the required objects created in the new temporary documents, I KillDocument() both at the end. What do you mean by 'get'? If this means just referencing the objects this might explain your problems, depending on what you are doing with the objects. If you pass the object references as part of the results of your GVO and also free the resources of these temporary documents, you are passing objects that might be dead references at the time of rendering, giving an explanation for your problems. Also: When you just remove the resource freeing of your temporary documents, I do not think that they will be freed automatically by Python's garbage collector. The reason is: While the reference count for these document objects (objects referring here to the Python type) is zero after the scope of GVO has closed (making them candidates for collection) the referenced output objects (here referring to the Cinema type) are still alive and they do reference these document objects. Which would cause your temporary document objects to stay in memory. Which would not be too bad, since it would always be just the two documents and not an incrementally increasing amount, a.k.a a memory leak. Long story short: Clone your objects if you want to pass them as the output and flush the documents afterwards to make things easy for Pythons gc (which is one of the main reasons why Python tends to be bloaty/slow). Cheers zipit
  • Improved in 3D modeling

    2
    0 Votes
    2 Posts
    510 Views
    maxonM
    Hi final3d, thanks for writing us. Please file your suggestions and recommendations on Maxon Support page paying attention to select "Suggestions and Ideas for Maxon". This forum is only aimed to discuss development-related topics. Best, Riccardo
  • 0 Votes
    3 Posts
    449 Views
    fwilleke80F
    Hi Maxime, thanks for trying! I'm also sure it's not specific to C++. I'll send you some code as soon as I find the time to strip it down. Cheers, Frank
  • Restrict Input Dialog to Numbers?

    r21 python
    3
    0 Votes
    3 Posts
    413 Views
    B
    Hi @m_adam Thank you for reference. It works as expected. Have a great day ahead!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • Custom framework locations

    3
    0 Votes
    3 Posts
    518 Views
    M
    Hi As Kent stated if it's a Cinema 4d frameworks you should put it in the framework directory. This way it will be accessible with APIS=common.framework in your projectdefinition.txt For more information, take a look at the Custom Framework Manuel. If you have any questions, please let me know. Cheers, Maxime.
  • R21 SDK build error

    r21 sdk c++ windows
    7
    0 Votes
    7 Posts
    1k Views
    A
    Thanks for your advice. The build is complete. It was because VS2017 when Unity was installed was old. Now you can build other plugins. Thank you very much.
  • Setting Morph Mixing to Relative But still Remains Absolute

    r21 python
    5
    0 Votes
    5 Posts
    711 Views
    B
    @m_adam RE: The A seems to be present until there is a target. Thanks for the clarification. That make sense. Your code works as expected. This is just a trivial question. In the documentation for the CAPoseMorphTag.ExitEdit it says: Must be called before doing anything to a morph tag. Shouldn't it be named EnderEdit? Since we are editing the morph tag or calling the ExitEdit after actually editing the morph tag? Again trivial but just seeking some clarification.