Hello PluginCafe :)
I need to select PHONG BREAK EDGES using python.
In this code, I'm trying to accomplish this task by utilizing MCOMMAND_PHONGTOSELECTION
import c4d
def main():
if op is None: return
c4d.utils.SendModelingCommand(command = c4d.MCOMMAND_PHONGTOSELECTION,
list = [op],
doc = doc)
if __name__=='__main__':
main()
c4d.EventAdd()
I don't know if this is a bug or a limitation, but MCOMMAND_PHONGTOSELECTION selects edges only if their phong is broken manually using MCOMMAND_BREAKPHONG command. I need to select all phong break edges based on actuall phong tag, or by manually defining the angle.