• Ray Tracing In One Weekend

    c++
    4
    3 Votes
    4 Posts
    847 Views
    fwilleke80F
    Cool! Thanks for your community work, Kent!
  • Python Field - Object Data Update

    python r21 windows
    3
    1
    0 Votes
    3 Posts
    769 Views
    C
    Hello @m_magalhaes , Thanks a lot for the tip, works perfectly as you said [image: 1652754301818-cinema_4d_f7fynzcvz4.gif]
  • Base Object - Attributes : Enabled parameter

    5
    1
    0 Votes
    5 Posts
    971 Views
    fwilleke80F
    Since this question is tagged as C++, I'll add the docs link to the dedicated functions that return and set this attribute: BaseObject::GetDeformMode() and BaseObject::SetDeformMode()
  • macOS Monterey - Can't run source processor anymore?

    macos c++ project tool r25
    10
    2
    1 Votes
    10 Posts
    2k Views
    fwilleke80F
    @m_adam said in macOS Monterey - Can't run source processor anymore?: So you have to link for example from /usr/local/bin to a python installation, I personally have Python 3.8.9. Xcode itself ships with a python version you could link to (its in Contents/Developer/usr/bin of the application package). So with that path you can call call sudo ln -s PATH_TO_PYTHON /usr/local/bin/python in terminal. Hi Adam! That is in deed what I tried, creating a symlink that points to Python 3. I didn't use the paths, though, but just linked the word "python" to "python3". I guess that was my mistake. Wouldn't it be easier for Maxon and everybody else, if you just changed the preprocessor call in the projects' PreBuild events to "python3", instead of having to go the symlink way and change things on users' computers (which, I guess, will have side effects when users later decide to install Python 2.7 for some reason)? Cheers, Frank
  • Copy Paste Point Global Position

    python
    3
    0 Votes
    3 Posts
    748 Views
    ymoonY
    @cairyn It Works. Thank You. Very Much.
  • Visibility Toggle

    Moved
    6
    0 Votes
    6 Posts
    1k Views
    ManuelM
    hi, you already opened this thread, asking for the question, I've answer there. Please, stop asking the same question on different threads and continu on the linked one. Cheers, Manuel
  • Retrieving camera view volume

    sdk c++ maxon api
    3
    1
    0 Votes
    3 Posts
    607 Views
    U
    @cairyn Thank you!
  • Add Database to the Asset Browser

    c++ r25 s26 sdk
    2
    0 Votes
    2 Posts
    456 Views
    ferdinandF
    Hey @kbar, thank you for reaching out to us. How to add asset databases and others things are all explained in the Asset API Handbook. Your specific case is dealt with in the example Add User Databases. You can technically also take a route via the Asset Browser preferences in the Cinema 4D Preferences dialog and the GUI gadget showing these database entries, completely ignoring the Asset API, but I would not recommend doing this. Cheers, Ferdinand
  • Limit On the Number Of Takes

    c++ r20 sdk
    4
    0 Votes
    4 Posts
    889 Views
    J
    @m_magalhaes Thanks for the response. Might be able to use your idea as potential solution. John Terenece
  • Priority: PriorityData and PriorityList

    5
    0 Votes
    5 Posts
    1k Views
    ymoonY
    @rownn said in Priority: PriorityData and PriorityList: Hi m_adam, thank you very much for the enlightenment on priorities, it helps alot, and sorry for my late reply. Greetings and thx again rownn PS: I´ll keep the pointed way of posting in mind. Hello @rownn This is another question. I am writing here because there is no way to contact you. You are the developer of "Rounded Corner (c4dnetwork)". Would you make it run on R25?
  • Call plugin by python script with arguments

    r25 python
    3
    0 Votes
    3 Posts
    595 Views
    kosmos3dK
    @m_magalhaes Thank you very much for your reply. Target was to let user run my plugin in pyton script without open its gui, but set options by some command. Meanwhile I came to solution by implementing ExecuteOptionID method. In this way user first sets options in gui and after can CallCommand anywhere he wants in scripts. Again thank you for your time.
  • Possible to send KeyPress Commands to the Commandline async

    python r21
    3
    0 Votes
    3 Posts
    469 Views
    FSSF
    Thank you for the swift reply though
  • Accessing the World Grid Options in R25+?

    r25 python
    3
    1
    0 Votes
    3 Posts
    653 Views
    ManuelM
    hi, i confirm this is the right way of doing it. Be aware that the legacy mode has been removed now from the UI but is still accessible from python. If you define the legacy mode, the user will not be able to get back to normal mode. Cheers, Manuel
  • How to add a multi _line string UserData

    python s26
    3
    0 Votes
    3 Posts
    385 Views
    chuanzhenC
    @m_adam Thanks for help!
  • MoData's GetFalloffs() returns only 0 while rendering

    python r23
    7
    1
    0 Votes
    7 Posts
    1k Views
    CairynC
    Aaaand of course I forgot a crucial point: After modifying the clone positions in marr, you need to write them back to the MoData, but the last parameter apply_strength must be False: moData.SetArray(c4d.MODATA_MATRIX, marr, False) This is at first glance unintuitive since we want the strength to be present but when looking closely, you can fathom that the function will internally multiply with the falloff strength that it calculated itself, and that probably comes from GetFalloffs() again, so it's 0 and nothing is won. We do not want SetArray to do that at all, because we have already applied the falloffs that we calculated ourselves, and SetArray should keep its buggy hands off it!
  • GeDialog Update

    r20 c++ sdk
    4
    0 Votes
    4 Posts
    888 Views
    fwilleke80F
    I would recommend against changing anything in the scene from within GetVirtualObjects(). Rather do it in Execute(). Cheers, Frank
  • List all attributes in C4D related to Redshift?

    r21 r23 python
    2
    0 Votes
    2 Posts
    302 Views
    B
    Kindly ignore. Adrian from Redshift forum answered it. You can look into the rslight.h from Plugins\C4D\R26\Redshift\res\description, all the parms are there
  • UV Peeler - accessible?

    python
    3
    0 Votes
    3 Posts
    480 Views
    .
    HI - Thanks for the response! I'm going to go with the sendModelingCommand method. I never would have thought to put the CallCommand value in there. This is really going to help me finish this script. I appreciate your help. thank you, .del
  • ShowInFinder function in Cinema 4D S26

    python
    7
    0 Votes
    7 Posts
    960 Views
    ManuelM
    @a_block said in ShowInFinder function in Cinema 4D S26: I tend to use GeExecuteFile() to open directories in Explorer/Finder. This seems to work for me regardless of OS. Are there any advantages of using ShowInFinder() instead? Or any disadvantages of using GeExecuteFile(). Absolutely None, except that the name of the function makes more sense if you just want to show the directory. Thanks for pointing that out, i overlooked that line. Bool ShowInFinder(const Filename& path, Bool open) { if (open) return GeExecuteFile(path); Cheers, Manuel
  • How to add Button User Data with a Button GUI in python script?

    s24 python
    3
    0 Votes
    3 Posts
    995 Views
    eZioPanE
    It works like a charm! Thanks a lot!