Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Tags
    3. maxon api
    Log in to post

    • R

      UNSOLVED String to ASCII value and vice-versa.
      Cinema 4D Development • r21 sdk maxon api • • rui_mac  

      4
      0
      Votes
      4
      Posts
      49
      Views

      S

      Hello, just FYI: you find information on how to access individual characters from a string in the manual: String Manual Also, one of our examples includes checking the ASCII value of a given character: streamconversion_impl.cpp If your question has been answered, please mark your thread as a question and set it to "solved". best wishes, Sebastian
    • SOLVED Strange crashes in R20 & R21
      Cinema 4D Development • r20 c++ r21 maxon api apple macos • • fwilleke80  

      5
      0
      Votes
      5
      Posts
      70
      Views

      Thanks for the update Frank. Looking at your "resolutions" I think that the actions you took were responsible, in the first case, to clean the existing derived data for the R20 project, whilst in the second, to refresh the DerivedData subfolder where the newly re-created R21 project was supposed to store intermediate files. Please keep us updated and for the mean time I'm going to set this thread as solved. Cheers
    • O

      SOLVED Use existing data for DynamicDescription
      Cinema 4D Development • c++ r21 microsoft windows maxon api documentation • • Ogers  

      3
      0
      Votes
      3
      Posts
      56
      Views

      O

      Thanks @s_bach This is very helpful. Best wishes.
    • SOLVED LocalDateTime and UniversalDateTime questions
      Cinema 4D Development • c++ r21 api maxon api • • fwilleke80  

      5
      0
      Votes
      5
      Posts
      41
      Views

      Z

      Hi, well, aside from the "at least I am done with it"-approach of just adding 24 hours to each license, there is the static method UniversalDateTime::FromValues() which should be close enough to a FromString(). There is also UniversalDateTime::GetNow(). But the description on that is a bit ambiguous. It says "Return[s] the current date-time object of the current time zone.", while the UniversalDateTime class description says "Class that represents the Universal date-time (UTC+0000)". Unless I am overlooking something here, I would say both cannot be true at the same time, and would expect UniversalDateTime::GetNow() to actually return the current time in UTC +0 (as a UniversalDateTime). The problem with DST is, that it is not anything truly predictable. While your problem could be rooted in a bug, there is a rich history of big organisations struggling with DST (Microsoft, Apple, etc.) and using DST makes you dependent on them maintaining their OS/services properly. On a more light-hearted note: When dealing with standardisation of human conventions I always have to think of this XKCD ;) Cheers zipit
    • SOLVED LocalDateTime, UniversalDateTime... how to compare
      Cinema 4D Development • c++ r21 classic api api maxon api • • fwilleke80  

      13
      0
      Votes
      13
      Posts
      62
      Views

      Thank you, Ricardo! :-)
    • A

      SOLVED BaseLink from maxon::Uuid
      Cinema 4D Development • c++ r21 maxon api • • affa  

      3
      0
      Votes
      3
      Posts
      49
      Views

      A

      ok thanks for the info @m_adam.
    • O

      SOLVED Align Group Parameters (Resource Files)
      Cinema 4D Development • c++ r21 sdk maxon api • • Ogers  

      4
      0
      Votes
      4
      Posts
      34
      Views

      O

      Thanks @zipit, Managed to solve it thanks to you.
    • O

      SOLVED Add Child to description popup field.
      Cinema 4D Development • c++ r21 maxon api • • Ogers  

      5
      0
      Votes
      5
      Posts
      59
      Views

      M

      hello, So yes, you have to react to MSG_DESCRIPTION_POPUP, you can see an example on the nodedata manual I thought first you wanted to create a popup menu. Cheers, Manuel
    • SOLVED STRINGENCODING -> StringEncodingRef ?
      Cinema 4D Development • c++ r21 classic api maxon api • • fwilleke80  

      3
      0
      Votes
      3
      Posts
      56
      Views

      Hi Frank, I've just been confirmed that the function will be exposed in the future. Best, Riccardo
    • SOLVED HTTP Requests with `maxon` API
      Cinema 4D Development • python maxon api • • dskeithbuck  

      5
      0
      Votes
      5
      Posts
      64
      Views

      @m_adam said in HTTP Requests with `maxon` API: Hi @dskeithbuck thanks a lot for trying to use the new Maxon API. Thank you so much for the working sample code, that answers my question. I look forward to switching over to the Maxon API for URL requests once these kinks get worked out.
    • O

      SOLVED Default startup settings
      Cinema 4D Development • r20 c++ sdk microsoft windows api maxon api • • Ogers  

      8
      0
      Votes
      8
      Posts
      109
      Views

      O

      Thank you for the help @m_magalhaes
    • O

      SOLVED Adding Custom Tree to TreeView.
      Cinema 4D Development • r20 c++ microsoft windows maxon api • • Ogers  

      8
      0
      Votes
      8
      Posts
      323
      Views

      O

      @mp5gosu I have one last question. on the thread for custom nodes that you mentioned above there was a file which was posted from Niklas. https://raw2.github.com/PluginCafe/examples/master/treeview/custom-nodes/custom-nodes.cpp Since this file was not there anymore and most probably it was a full code of what I am asking for, can it be that you or someone else might have that file somehow? That would be a great help. Thank you.
    • O

      SOLVED Disable SimpleListView Item
      Cinema 4D Development • r20 c++ sdk maxon api • • Ogers  

      2
      0
      Votes
      2
      Posts
      121
      Views

      Hi Ogers thanks for reaching out us. With regard to your request, I confirm that to deliver the desired functionality you've to stick to TreeView since it's not possible to disable items belonging to a SimpleListView. Cheers, Riccardo
    • O

      SOLVED Change LONG_CYCLE selected Item.
      Cinema 4D Development • r20 c++ microsoft windows maxon api • • Ogers  

      6
      0
      Votes
      6
      Posts
      260
      Views

      M

      hello @HectorSmallwood @HectorSmallwood said in Change LONG_CYCLE selected Item.: Assume that I have the following code, the Item with id 0 will be selected by default. Is there any way that I can change this? Like after a specific action the Item 1 will be selected? That's exactly what the code is doing in the Init() function using SetParameter(). You change the value of the parameter, the UI show the item with that value in the list. So by default the parameter value is 1 so the UI show the item with the value 1 "Item 1" If you want to change the item somewhere else, same thing just change the value of the parameter, the ui will follow. node->SetParameter(DescID(MY_CYCLE_ID), GeData(1), DESCFLAGS_SET::NONE); I'am adding an answer here as it is a related. But for your second question if the answer doesn't fit your need, please open a new thread and post your question in a new thread. That will help us to keep things organized. @HectorSmallwood said in Change LONG_CYCLE selected Item.: event to determine when the selected item in the ListBox is changed. If i understand the question, you have to check for MSG_DESCRIPTION_CHECKUPDATE message type in the Message() function as follow. virtual Bool Message(GeListNode* node, Int32 type, void* data) override { switch (type) { case MSG_DESCRIPTION_CHECKUPDATE : { DescriptionCheckUpdate* dcu = static_cast<DescriptionCheckUpdate*>(data); if (dcu == nullptr) return true; maxon::Int32 id = (*(dcu->descid))[0].id; if (id == MY_CYCLE_ID) { DiagnosticOutput("Cycle have been changed"); // ... do Something } break; } } return true; }; Cheers Manuel
    • O

      SOLVED Customizing the Layout and Palettes
      Cinema 4D Development • r20 sdk microsoft windows maxon api • • Ogers  

      3
      0
      Votes
      3
      Posts
      223
      Views

      O

      Hello @m_adam I see, I will have to use one of the other alternatives then. Thank you.
    • O

      SOLVED Node-Based Materials
      Cinema 4D Development • r20 sdk microsoft windows maxon api • • Ogers  

      6
      0
      Votes
      6
      Posts
      288
      Views

      M

      As stated before, we are working on it and it will be released in the future. I can't say more. Regarding your question @Aaron this will be possible.
    • O

      SOLVED Shader-Material Linking
      Cinema 4D Development • r20 c++ sdk classic api maxon api • • Ogers  

      2
      0
      Votes
      2
      Posts
      122
      Views

      M

      Hi @Ogers, unfortunately, there is no direct way to do so. The only working solution is to retrieves the host of the shader (using BaseList2D.GetMain) Then iterates the description of this element and all its children to see where the shader is used. Cheers, Maxime.
    • O

      SOLVED Number and Position of Points for Light Object
      Cinema 4D Development • r20 c++ sdk microsoft windows classic api maxon api • • Ogers  

      3
      0
      Votes
      3
      Posts
      198
      Views

      O

      Hello @r_gigante Thank you for your time and answer. I will try the other way then. Best, Ogers
    • M

      SOLVED FormatStatement and maxon DataTypes...
      Cinema 4D Development • r20 c++ microsoft windows maxon api • • mp5gosu  

      5
      0
      Votes
      5
      Posts
      285
      Views

      M

      Ah, thank you. I didn't take a look at vec.h. Meanwhile, I already wrote a conversion unit to handle all sorts of formatting. Thought, it was possible to modify the intern string conversions somehow. But nevermind, all works pretty well. :) Cheers, Robert