Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi. MODELING_LOOP_TOOL still broken or am I doing something wrong?
import c4d from c4d import gui, utils doc = c4d.documents.GetActiveDocument() obj = doc.GetActiveObject() bc = c4d.BaseContainer() bc.SetData(c4d.MDATA_LOOP_SEL_STOP_AT_BOUNDS, True) bc.SetData(c4d.MDATA_LOOP_SEL_SELECT_BOUNDS, False) bc.SetData(c4d.MDATA_LOOP_SEL_GREEDY_SEARCH, False) bc.SetData(c4d.MDATA_LOOP_SELECTION, c4d.SELECTION_NEW) bc.SetData(c4d.MDATA_LOOP_LOOP_EDGE, 1) # ? index or .. utils.SendModelingCommand(command=c4d.ID_MODELING_LOOP_TOOL, list=[obj], mode=c4d.MODELINGCOMMANDMODE_EDGESELECTION, bc=bc, doc=doc, flags=c4d.MODELINGCOMMANDFLAGS_0) c4d.EventAdd()
Different values give the same loop selection. Thanks!
Hi just to let you know we didn't forget you, I've reached the development team.
Cheers, Maxime.
Unfortunately, while some fixes have been done, it's still broken so the command is not consistent in all cases so you can't rely on it.
In any case, the development team is aware of it, hopefully, it will be addressed soon. I will update the topic once it's done.
@m_adam Anyway, thanks for your time!