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