Selection Tool Toggle

Discussions concerning programming of SOFTIMAGE©
Post Reply
Xsinode
Posts: 26
Joined: 06 Sep 2013, 19:08

Selection Tool Toggle

Post by Xsinode » 07 Sep 2013, 06:09

Hi. I need help.
First question. How i can get hotkey toggle Rectangle/Raycast Selection Tool? For example im use hotkey and activate Raycast Selection Tool (default hotkey F10), use again and activate Rectangle Selection tool(default hotkey F7) and etc. I want toggle only ST. Not any selection filters or selection modes. Is it real?
Second question. How i can make toggle hotkey for SelectObjectFilter and SetSelFilter "Edge" ?
Thanks

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: Selection Tool Toggle

Post by myara » 07 Sep 2013, 21:32

I wrote a plugin about a year ago. I always wanted to tweak it a little more but it still does the job done.

The blog page is in japanese but you can find easily the download link.
http://myara.blog.fc2.com/blog-entry-118.html

it adds 3 commands,

mToggleSelPoint
mToggleSelEdge
mToggleSelPoly

it toggles raycast and rectangle selection I think, not really sure since I think I've modified a few times later and I don't have access to my PC until Monday.

but if you know just a little, only a little bit of scripting you can easily modify it to your needs.

Assign this commands to your hot keys and its done.

The only problem is that since you are using a custom command to change your selection, it will be remembered as your last action when you use the repeat command.
M.Yara
Character Modeler | Softimage Generalist (sort of)

Xsinode
Posts: 26
Joined: 06 Sep 2013, 19:08

Re: Selection Tool Toggle

Post by Xsinode » 08 Sep 2013, 09:07

Myara. You're a genius! Thanks a lot!

Xsinode
Posts: 26
Joined: 06 Sep 2013, 19:08

Re: Selection Tool Toggle

Post by Xsinode » 21 Sep 2013, 17:13

Okay, toggle Rectangle/Raycast Selection Tool work very well. But I do not get to make the toggle between Object Mode/Component Mode. For example
When Im press 1 key switch to Point Mode, press again switch to Object Mode.
When Im press 2 key switch to Edge Mode, press again switch to Object Mode.
When Im press 3 key switch to Polygon Mode, press again switch to Object Mode.

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests