On 28/06/2017 at 12:06, xxxxxxxx wrote:
I am trying to select the outline edges of currently selected Polygons. I tried to go the simple way with modelling command. But I cant get it to work. I have this Code but its not working. Any Ideas?
def main() :
settings = c4d.BaseContainer() # Settings
res = utils.SendModelingCommand(command = c4d.ID_MODELING_OUTLINE_SELECTION_TOOL,
list = [selobj],
mode = c4d.MODELINGCOMMANDMODE_POLYGONSELECTION,
bc = settings,
doc = doc)
if res is False:
print "Something went wrong."
elif res is True:
print "Command successfull."
elif isinstance(res, list) :
print "Here you get the newly created object(s)."