Python: Ordered Selection for genericTool

   1336   0   2
User Avatar
Member
93 posts
Joined: 3月 2014
Offline
Hi!

I have some modeling tools which need to have ordered selection. For example, I need to get the last selected point in the selection. I tried to set such code for my toolshelf but this does not work:

import soptoolutils
import toolutils

kwargs['ordered'] = True
node = soptoolutils.genericTool(kwargs, 'mifth_merge_verts')

Is it possible to set ordered selection in the toolshelf?
Edited by Pavel Geraskin - 2017年12月15日 07:51:08
  • Quick Links