• Output Current Sound Track Name

    python r20
    12
    3
    0 Votes
    12 Posts
    3k Views
    S
    Hello, it seems you just write the name of the last track into your user data field: obj[c4d.ID_USERDATA,19] = trak.GetName() Since you do not extend that string, it can only show one name. best wishes, Sebastian
  • Access Custom User Data By Name (not by ID)

    r20 python
    5
    0 Votes
    5 Posts
    2k Views
    B
    Thanks for the response @m_adam Have a great day ahead!
  • How to cancel FileLoad error message.

    3
    0 Votes
    3 Posts
    1k Views
    V
    Thanks for the reply! I'll try that, though I thought that SCENEFILTER_IGNOREXREFS would keep xrefs from being loaded, and since my plugin edits the xref path/name, this would not work. But then again, perhaps I assumed wrong. I appreciate the help! By the way, the idea of classification by tags appears to be a good way to escape the messy folding out tree of classification system that we are all used to. I'll use it next time.
  • Updating old code: Vector > LONG

    c++ sdk
    4
    0 Votes
    4 Posts
    779 Views
    fwilleke80F
    Yeah, definitely. When porting old code that I didn't write to new C4D releases, I always add lots of comments, so people who come after me won't have the same problems
  • Source Processor: Platform-dependent function signatures

    c++ r20
    5
    0 Votes
    5 Posts
    995 Views
    fwilleke80F
    It builds, and the source processor does not complain. Thank you!
  • How to use code to control the model

    6
    0 Votes
    6 Posts
    1k Views
    r_giganteR
    Hi pennay, thanks for following up. Our Team's mission is to deliver a punctual and effective support on Cinema SDK related topic, and we usually don't engage in discussion where turn-key solutions are requested. We provide explanations, recommendations and best-practices on the development tools that Cinema 4D comes with, but it's not on us to recommend how to use them to achieve a certain goal. With regard to your further comment on the final goal, considering the range of the topic, I'd start having a look at the network-related APIs - note: it's not completely covered - that Cinema 4D comes with and to come back with more defined questions addressing Cinema API. Hoping to hear from you soon, give best.
  • Convert Joints to Spline (Limited to only 2 with Bezier Handles)

    r20 python
    3
    0 Votes
    3 Posts
    960 Views
    B
    HI @r_gigante Thanks for the response. With regard to 2CV-only Bezier curve: Yes, I only need 2 CV maximum. I understand that it will not interpolate complicated shapes properly but as you can see in my example, it's only a simple shape. Looking at it now. I have a feeling I am biting more than I can chew. I'm not sure I can solve it at the moment given my current knowledge. Will just perform it manually at the moment. Anyhow, thanks for responding. Have a great day ahead!
  • The python SDK is running in error

    sdk c++ python
    2
    1
    0 Votes
    2 Posts
    669 Views
    r_giganteR
    Hi panney, thanks for reaching out us. With regard to the issue you're experiencing, it's pretty likely that the cause is a different revision between the c4dpy executable and the Cinema 4D revision. Please be sure that they both matches (20.059 c4dpy is available here[URL-REMOVED]). Last but not least, here you can find more detail on the c4dpy executable. Best, R. [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
  • access sound attributes using python API

    r20 python
    7
    0 Votes
    7 Posts
    2k Views
    M
    Hey @mrittman, i cant find the id names in documentation but i think CID_SOUND_START would be the timecode of when the audio starts (notice you are assigning a BaseTime object to it) CID_SOUND_NAME which i'm using is the audio file path. My application is taking the audio file path and the image sequence output (as defined by the render output settings) and combining them via a subprocess using ffmpeg. If there was a way i could do it straight through c4d id prefer that! Mainly cos ffmpeg is a mission! especially when you need to shift/delay audio and what not.
  • Define your own icons for mouse cursor

    r20 python
    5
    0 Votes
    5 Posts
    1k Views
    P
    Ok, something to think about and to consider.
  • Project tool: Custom plugin name and master solution

    3
    0 Votes
    3 Posts
    1k Views
    M
    Thanks Sebastian! Looking forward for a fix. Meanwhile I'll take care of your recommendation. Best, Robert
  • Python Tag Priority Problem

    r20 python
    7
    0 Votes
    7 Posts
    1k Views
    B
    Works as expected. Thank you @m_adam for getting back to me. Have a great day ahead!
  • Porting plugin to R20, disable style guide?

    4
    0 Votes
    4 Posts
    1k Views
    F
    Thanks Sebastian, I will try that! /Filip
  • Get Message from TreeView gui dialog

    python
    2
    0 Votes
    2 Posts
    821 Views
    S
    Hello, SendParentMessage() is a member function of GeUserArea. It is only relevant if you create a custom GUI element based on GeUserArea. A class based on TreeViewFunctions is used to define the behaviour of a TreeViewGUI. It is not based on GeUserArea. In TreeViewFunctions, you could inform the host GeDialog about an event by sending a custom core message using SpecialEventAdd(). The GeDialog can catch this message with CoreMessage(). If you want to send data, one way is to store the data in a global variable which is then accessed by the dialog. best wishes, Sebastian
  • DrawLine2D on top of everything else

    r20 python
    6
    0 Votes
    6 Posts
    2k Views
    P
    Thanks. Pim
  • 0 Votes
    3 Posts
    909 Views
    CairynC
    @m_adam Oops. Okay, GeRayCollider works only for polygon objects, as does GetPixelInfoPolygon. The idea was to provide a new selection method for arbitrary objects by just checking all hits of a scattered PickObject within a radius, and then select the nearest hit. For that, I need to be able to hit splines and parametric objects as well. Okay, I guess I can still do that in C++ then, thanks.
  • Precise float parameters in UI

    c++ r20 sdk
    4
    0 Votes
    4 Posts
    1k Views
    rsodreR
    Shouldn't STEP be used to set this precision? Or is there a limit for STEP?
  • STEP/STP FILE IMPORT PYTHON DOCUMENTATION

    r20 python
    5
    0 Votes
    5 Posts
    5k Views
    T
    @mp5gosu @m_adam I'll test out these options and see how it works out. Thanks for the information guys, I appreciate it!
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    25 Views
  • DeformCache Update

    r19 python
    3
    0 Votes
    3 Posts
    679 Views
    chuanzhenC
    @m_adam Thanks