• Add Position Velocity Port

    r19 python
    7
    0 Votes
    7 Posts
    1k Views
    A
    @m_magalhaes said in Add Position Velocity Port: Hello, Sorry for the late reply. This was a bug (with other ports also) and it's fixe for the next release. Cheers Manuel @m_magalhaes Ah OK! Thanks for lettings us know!
  • PYTHON - NBIT - UserData Attirbutes Manager Selection

    3
    1
    0 Votes
    3 Posts
    678 Views
    Leo_SaramagoL
    Thanks, m_magalhaes!
  • Undo of inserting a tag

    python
    4
    0 Votes
    4 Posts
    544 Views
    S
    Also, if you want to move a tag, you first have to remove it from the original object. So you don't insert, you change the position of the tag in the scene graph. doc.StartUndo() doc.AddUndo(c4d.UNDOTYPE_CHANGE, tag) tag.Remove() op.InsertTag(tag) doc.EndUndo()
  • Tag plugin and rendering

    r20 python
    3
    0 Votes
    3 Posts
    415 Views
    S
    Hello, without seeing your code or any error message it is impossible to give any advice. But "works in viewport but not in rendering" sounds like you are using c4d.documents.GetActiveDocument() somewhere. See also BaseDocument Manual. best wishes, Sebastian
  • Generator Plugin update while under Fracture Object

    r20 python
    4
    0 Votes
    4 Posts
    880 Views
    ManuelM
    Hello, Sorry for the delay. The bugs have been confirmed and will be fixed on a futur release. Cheers Manuel
  • Set the "DrawCircle" orientation to face camera

    5
    0 Votes
    5 Posts
    649 Views
    mfersaouiM
    @m_magalhaes Thank you. I made some changes but its work! Cheers, Mustapha
  • How to get the current viewport shading modes using python

    python sdk
    5
    0 Votes
    5 Posts
    788 Views
    mfersaouiM
    @s_bach Thank you. Sorry for tags, I added tags in my topic but were not included. I don't know why.
  • GetPointOneRingPoints() unexpected behavior

    windows python r20
    4
    1
    1 Votes
    4 Posts
    1k Views
    ferdinandF
    Ok, thank you. I was a bit unsure what "one ring points" are supposed to be and if this is actually a bug and not a feature Cheers, zipit
  • Camera animation to Text file?

    Moved r20 python
    3
    0 Votes
    3 Posts
    977 Views
    V
    This is a great start - will defiantly be using this to get closer to the desired end result Thanks so much Manuel for your help!
  • How to make DrawTexture ignore the Depth of Field option?

    python r20
    8
    0 Votes
    8 Posts
    1k Views
    ManuelM
    hi, without any further feedback, this thread will be considered as solve tomorrow. Cheers Manuel
  • controlled rendering programmatically

    sdk python
    3
    0 Votes
    3 Posts
    679 Views
    ManuelM
    hi, without any further feedback, this thread will be considered as solve tomorrow. Cheers Manuel
  • Sperical floor issue

    sdk c++ python
    3
    0 Votes
    3 Posts
    655 Views
    ManuelM
    hi, without any further feedback, this thread will be considered as solve tomorrow. Cheers Manuel
  • Linearize an exponential function

    c++ sdk
    4
    0 Votes
    4 Posts
    606 Views
    mfersaouiM
    @r_gigante Finally I found the solution to linearize the subdivision expansion on Adaptive spline interpolation on the angle deviation. I just replaced the line : radVal = c4d.utils.DegToRad(90 * (1.0 - val) By : radVal = math.pow(val, -0.85) I changed also the slider user data unit to REAL if I want to keep it with a PERCENT unit I just multiply the value by 100 radVal = math.pow(val*100, -0.85) Here is demo: [image: 1565669857246-ezgif.com-optimize.gif]
  • Unusual Dynamic Inputs from GeDialog

    r20 python
    3
    0 Votes
    3 Posts
    427 Views
    B
    @m_adam Thanks for the help. Works as expected. Have a great day ahead!
  • Highlighted Command Text/Icon when it is executed?

    r20 python
    7
    0 Votes
    7 Posts
    887 Views
    B
    Thank you @m_adam. Work as expected! (I actually just ended up learning about the decorator property since its new to me. haha. Thanks for that). Just want to confirm, am I right to think this is the code flow: Register Plug-In @property state GetState Execute(Button Click) @state.setter state @property state GetState Then back again to #4 for the click.
  • Jiggle modifier not cached

    c++ r20 r19
    3
    0 Votes
    3 Posts
    455 Views
    ManuelM
    Hello, Regarding the question yes, using GetDeformCache is the way to go. Using one object, there's not too much difference between MCOMMAND_CURRENTSTATETOOBJECT and MCOMMAND_JOIN as the MCOMMAND_JOIN is calling a MCOMMAND_CURRENTSTATETOOBJECT for each object. The obvious part is that the Join command will create one object while the other will return a hierarchy. (if there are children) Cheers, Manuel
  • Saving pointers to BaseObjects for use between scene updates

    c++
    3
    0 Votes
    3 Posts
    621 Views
    C
    Greetings! Thanks for the reply. I kinda goofed up- apparently my objects were being improperly deconstructed before I was trying to use them, which was causing the BaseLink to get deleted and crash on subsequent access. BaseLink does indeed work fine and solves my problem. Sorry for the confusion! -CMPX
  • Beginner:How to set A cube as the child of B cube by python?

    Moved
    3
    1
    0 Votes
    3 Posts
    960 Views
    I
    @m_adam Thanks a lot, great help, I will try your way
  • API questions

    Moved
    3
    0 Votes
    3 Posts
    702 Views
    J
    @m_adam thanks so using c4d.documents.SaveDocument the window is still showing up.. even with "SAVEDOCUMENTFLAGS_NONE" or "SAVEDOCUMENTFLAGS_AUTOSAVE" could it still be showing up because of an error in the file path its trying to save to or something like that?
  • [python] SetFont not working

    r20 sdk python
    6
    0 Votes
    6 Posts
    2k Views
    I
    @m_adam said in [python] SetFont not working: In which version are you? The code I posted is working nicely in R20.059. 20.059. Before i tried any methods, that's my fail. Not work for me. From new start of c4d. - it works