Help us understand the problem. What is going on with this article?

【MAXScript】3dsMaxの操作をMaya風に

More than 3 years have passed since last update.

これはなに?

3dsMaxの操作をMAXScriptを使ってMaya風に切り替えたり戻したりします。

Max → Maya

(
    IInteractionMode.CurrentMode = #MayaMode
    MouseConfigManager.UserMode = #Maya
    print "Maya Mode"
)

IInteractionModeでビューポート操作を切り替えて
MouseConfigManager.MayaSelectionModeで選択モードをMaya風にするかどうか設定します。

InteractionMode
じゃなくて
『I』InteractionMode
なのが噛めば噛むほど味が出てくる感じ

Maya → Max

(
    IInteractionMode.CurrentMode = #3dsMaxMode
    MouseConfigManager.UserMode = #Max
    print "Max Mode"
)

まとめ

ビューポートの操作とか選択のさせ方とかは
各ツールそれぞれに主義主張があってそれはまあいいんですが、
せめて一社で複数開発してるところはお手軽に可換にしてくれるとうれしい気がします

参考

IInteractionMode
http://help.autodesk.com/view/3DSMAX/2016/JPN/?guid=__files_GUID_99E9991F_E246_41C8_A76F_AF5F341A1A52_htm

MouseConfigManager
http://help.autodesk.com/view/3DSMAX/2016/JPN/?guid=__files_GUID_724B14D0_06DC_424A_A6FE_8C494579ECA3_htm

特にMouseConfigManagerについては、さまざまなマウス操作について個別に設定をON/OFFできるようです。

たとえば、「とりあえず選択モードだけ」みたいな。

MouseConfigManager.MayaSelectionMode = true  --maya

MouseConfigManager.MayaSelectionMode = false  --max
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした