• Images missing in C++ SDK docs

    sdk c++
    4
    0 Votes
    4 Posts
    434 Views
    fwilleke80F
    Nice
  • VideoPost final render buffer

    c++ r23
    6
    0 Votes
    6 Posts
    926 Views
    r_giganteR
    @rsodre please refrain from discussing NDA-protected topics.
  • 0 Votes
    3 Posts
    432 Views
    fwilleke80F
    Hi Manuel, thanks for the info! If smooth is set to false, the wrong positions disappear in deed. The distribution of the positions, however, is much uglier. It requires the user to change some specific attributes of the spline to make it look nice. But I think, that's ok for now. Thanks again & greetings, Frank
  • Get Active Timeline Request

    7
    0 Votes
    7 Posts
    1k Views
    annA
    Indeed a better sdk will be better. I actually also hope that sdk can recognize which parameters of the object are activated in the object manager. I know that because c4d supports opening multiple object managers at the same time, this is really convenient. But it will also make it impossible to know which object manager the user is using, so there is no way to identify it in the current SDK.
  • Syncing Object Property Update in ObjectData

    python
    3
    0 Votes
    3 Posts
    374 Views
    ?
    @zipit I'll post code with my scenes/screenshots in the future. Setting the value in MSG_DESCRIPTION_POSTSETPARAMETER fixed my issue! Wow, how do you know all of this stuff??!
  • Opening a maxon::URL in the browser: Anchors and query parameters?

    r20 r21 s22 r23 c++
    5
    0 Votes
    5 Posts
    691 Views
    fwilleke80F
    Thanks for confirming! The strange thing is that I can reproduce this even in R20. Seems, not many people use this function to open URLs. I'll mark this as solved then, as my solution presented in this thread works flawlessly on all R2x releases. Cheers, Frank
  • 0 Votes
    2 Posts
    433 Views
    M
    Hi thanks for the report this was already reported in Phong Tag with ObjectData and this is going to be fixed in the release after R23 SP1. Cheers, Maxime.
  • GetDescription for Document Modelling Settings

    3
    0 Votes
    3 Posts
    400 Views
    mikeudinM
    Great! Thank very much @m_adam!
  • c4d.Vector.__init__ does not accept named arguments

    r23 r21 sdk python windows
    4
    1 Votes
    4 Posts
    469 Views
    ferdinandF
    Hi, I did not really expect an answer, I just did put it up to make you guys aware. Regarding your reply, I agree with most of it and am aware that there a some hurdles to overcome in mapping C++ interfaces to Python, i.e. that you do run into problems in general when you want to express overloaded methods in Python. But as @mp5gosu pointed out, my major point was that the function does not accept named arguments at all. Which is mainly a problem because the docs tell you explicitly otherwise in two ways. First of all the docs say explicitly that all arguments are optional which implies for Python usually that I can pick and choose in which arguments I can pass by passing named arguments. And secondly, you print out the signature as Vector.__init__(x=0.0, y=0.0, z=0.0) which implies the same. I would have probably ignored all this and booked it under "that's for me to know and for you to find out", if it wasn't for the fact that the method does not raise a TypeError on attempts of feeding it with such unknown named arguments. Which can make this quite critical IMHO. Cheers, zipit
  • CAMorphNode.SetPointCount() always return false

    python r21
    5
    0 Votes
    5 Posts
    730 Views
    J
    @m_adam Thank you for your answer. C++ documentation have a "Example" show how to use flags in CAMorph.SetMode, but python documentation not (at least in R21.022), i compared the C++ code with Python, then went back to the C++ documentation and found this.
  • Iterate over the View/Hotspots of Visual Selector Tag

    r21 python
    5
    0 Votes
    5 Posts
    555 Views
    B
    RE: This is a limitation you also have with the visual selector Not really. You can multiple select hotspots and/or controllers in the visual selector. Anyhow, thanks for the response. I guess there is no way around this.
  • Combine UV and worldposition while shader rendering

    python
    4
    2
    0 Votes
    4 Posts
    806 Views
    ManuelM
    hi, I had a look but as @zipit said, there's not way in python. Cheers, Manuel
  • OBJECT_INPUT Child Updating

    sdk r20 c++
    13
    0 Votes
    13 Posts
    2k Views
    r_giganteR
    Hi @JohnThomas , the data passed in the method is actually carrying the destination object. The code should look like ... if (type == MSG_EDITABLE_END) { BaseObject* dstObject = static_cast<BaseObject*>(data); if (!dstObject) return false; BaseObject* child = dstObject->GetDown(); if (child) { child->Remove(); BaseObject::Free(child); } } ... Cheers, R
  • Flat UV Projection in Python

    python
    3
    0 Votes
    3 Posts
    834 Views
    ?
    Thank you very much @zipit ! That works great.
  • ObservableFinished() does not pass a job result to an observer

    c++ r21 windows
    5
    0 Votes
    5 Posts
    1k Views
    B
    Thank you very much, Manuel! This is a working solution for the issue and it helped me a lot! Best regards, Tim
  • Selecting Different components but in Different modes

    14
    0 Votes
    14 Posts
    2k Views
    ManuelM
    hi, I can't reproduce that, what version are you using ? the only moment where a coordinates could be 0 is if the point and the object's pivot are sharing the same coordinates AND you have the "Enable Axis" enable. (or you are in object's rel or abs coordinate and the point is at the same position of the pivot's object. As if you were at the same time in object's mode and in point mode. (moving the object's pivot point and the modeling axis at the same time) So this look like a bug. by the way, what do you call the "default state" ? The last modeling axis position ? the position when you selected the polygon ? Cheers, Manuel
  • doc.GetLayerObjectRoot().InsertFirst(layer) does not work.

    python r21
    9
    2 Votes
    9 Posts
    985 Views
    M
    This is fixed in R23. Cheers, Maxime.
  • FieldList, and how to properly use it

    r20 r21 s22 r23 c++
    8
    0 Votes
    8 Posts
    953 Views
    fwilleke80F
    Thank you!
  • 'SetRealTag' Request

    3
    0 Votes
    3 Posts
    462 Views
    ?
    @m_magalhaes Hi Manuel! Thanks for the update.
  • Connect C4D with Tkinter (External Application) ?

    r21 python
    12
    0 Votes
    12 Posts
    2k Views
    B
    @r_gigante Thanks for the response and the website reference. I was able to work the code with the following revisions: def CoreMessage(self, id, bc): if id == 1234: P1MSG_UN = bc.GetVoid(c4d.BFM_CORE_PAR1) pythonapi.PyCObject_AsVoidPtr.restype = c_int pythonapi.PyCObject_AsVoidPtr.argtypes = [py_object] P1MSG_EN = pythonapi.PyCObject_AsVoidPtr(P1MSG_UN) # check message and act if (P1MSG_EN == 1): c4d.documents.GetActiveDocument().InsertObject(c4d.BaseObject(c4d.Ocube)) elif (P1MSG_EN == 2): c4d.documents.GetActiveDocument().InsertObject(c4d.BaseObject(c4d.Osphere)) Thanks again. Will close this thread now.