SendModelingCommand \ LOOP_TOOL

On 25/01/2018 at 10:35, xxxxxxxx wrote:

Hello
How to configure ID_MODELING_ **LOOP_TOOL ** method via SendModelingCommand?
**ID_MODELING_RING_TOOL ** works fine. ****

I tried this code, but always got False:

bc = c4d.BaseContainer()  
bc[c4d.MDATA_LOOP_SEL_STOP_AT_BOUNDS] = False  
bc[c4d.MDATA_LOOP_SEL_SELECT_BOUNDS] = False  
bc[c4d.MDATA_LOOP_SEL_GREEDY_SEARCH] = False
bc[c4d.MDATA_LOOP_LOOP_EDGE] = 1 # edge index  
bc[c4d.MDATA_LOOP_SELECTION] = c4d.SELECTION_ADD
  
utils.SendModelingCommand(command=c4d.ID_MODELING_LOOP_TOOL,  
                          list=[op],  
                          mode=c4d.MODELINGCOMMANDMODE_EDGESELECTION,  
                          bc=bc,  
                          doc=doc,  
                          flags=c4d.MODELINGCOMMANDFLAGS_0)
 **** __ ~~~~

**** __ ~~~~

** Thanks!**

On 26/01/2018 at 06:42, xxxxxxxx wrote:

Hi,

welcome to Plugin Café forums :slightly_smiling_face:

No good news for you, this seems to be a bug with SendModelingCommand() and ID_MODELING_LOOP_TOOL. I filed a bug report and we'll see to get this fixed in a future version. Unfortunately I can not tell a date or version.

On 26/01/2018 at 15:00, xxxxxxxx wrote:

thanks for answer! I hope it will be fixed soon.