Python: Ordered Selection for genericTool

   1230   0   2
User Avatar
Member
93 posts
Joined: March 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 - Dec. 15, 2017 07:51:08
  • Quick Links