SendModelingCommand over time?? [CLOSED]

  • On 18/12/2014 at 04:34, xxxxxxxx wrote:

    I use this code to melt some points on my object:

    obj = doc.SearchObject('Sphere')
           melt_list = [218,220,222,224,226,228,230,232,234,236,238,240]
           pnts_melt = obj.GetPointS()
           for i in melt_list:
             melt_pnts = pnts_melt.Select(i)
           if melt_pnts == True:
              c4d.utils.SendModelingCommand(command = c4d.MCOMMAND_MELT, 
                                     list = [obj], 
                                     bc = c4d.BaseContainer(),
                                     mode = c4d.MODELINGCOMMANDMODE_POINTSELECTION,
                                     doc = doc)

    But what if I want to Melt a Point "one at a time" or a slider

    All I can figure out is with A LOT off "if's"

    Any suggestions will be appreciated, Thanks

  • On 18/12/2014 at 07:36, xxxxxxxx wrote:

    Hi carel5103,

    I'd like to help you out with your request, but you'll have to elaborate, I don't have enough information to know what to focus on.


    Joey Gaspe
    SDK Support Engineer

  • On 18/12/2014 at 08:13, xxxxxxxx wrote:

    Hi Joey,

    I have a List of points[] and want to melt the points ,starting from point[0]

    ex: point[0] at frame 1
          point[1] at frame 2
          point[2] at frame 3 
          and so on
    Hope this clears it up a little. English is not my first language 😊

  • On 18/12/2014 at 08:30, xxxxxxxx wrote:

    Hi carel5103,

    Thanks for the additional info.  Sorry for not asking in my first post, but could you please give a more complete program?  It's much easier if I can copy/paste a working program into the Python Editor, especially since I'm new to Python in particular, so it's not obvious to me what may be missing.


    Joey Gaspe
    SDK Support Engineer

  • On 14/01/2015 at 07:46, xxxxxxxx wrote:

    Hi carel5103,

    Do you still need help with this topic?

    Joey Gaspe
    SDK Support Engineer

  • On 17/01/2015 at 01:57, xxxxxxxx wrote:

    Sorry for my late response but I decided to go another route. Thanks anywhay 👍

Log in to reply