Customize Commands Manager

自定义命令管理器

The Customize Commands Manager contains all Cinema 4D commands. Commands contained in the Command Palette can be linked to custom Icon Palettes, menus or even directly to the HUD in the editor view. Keyboard shortcuts can also be defined.

自定义命令管理器包含所有Cinema 4D 命令。命令包含在命令调色板可以链接到自定义图标调色板,菜单,甚至直接到编辑器视图的 HUD。还可以定义键盘快捷键。

Tip: 提示:
There is a difference between keyboard shortcuts and hotkeys: 键盘快捷键和热键是有区别的:

The Customize Commands Manager consists of three parts:

自定义命令管理器由三部分组成:

If you want to assign a command to a particular palette, simply drag the command onto the corresponding palette. The Icon Separator 1 and Icon Separator 2 buttons can be dragged onto the palettes, between the commands, in order to visually separate the commands.

如果要将命令分配给特定的调色板,只需将该命令拖动到相应的调色板上。图标分隔符1和图标分隔符2按钮可以在命令之间拖到调色板上,以便在视觉上分隔命令。

Activate the Edit Palettes option if you want to rearrange or delete (double-click) palette commands or separators using drag & drop. Selecting New Palette will create a new, empty palette.

激活编辑调色板选项,如果你想重新安排或删除(双击)调色板命令或分隔符使用拖放。选择 New Palette 将创建一个新的空调色板。

Use the Fill Space command to create such an icon group (vertical or horizontal), which will automatically be sized according to the respective icon group but at least as large as Group Separator 2. This makes it possible to create left or right aligned icon groups:

使用“填充空间”命令创建此类图标组(垂直或水平) ,该图标组将根据各自的图标组自动调整大小,但至少与组分隔符2一样大。这样就可以创建左对齐或右对齐的图标组:

Note: 注意:
Not all commands are represented by a corresponding icon. 并非所有命令都由相应的图标表示

Two filters are available. Each will display only items that contain part or all of an entry made into the corresponding filter’s text field. These filters can be used to quickly locate commands or find out which keyboard shortcuts have already been assigned. Search entries can be cleared by clicking on the x next to the respective filter name. All commands and keyboard shortcuts will then be displayed (providing the alternate filter’s search field is also empty).

有两种过滤器可用。每个条目都将只显示包含部分或全部条目的项,这些条目被制作成相应的筛选器的文本字段。这些过滤器可用于快速定位命令或查明哪些键盘快捷键已被分配。可以通过点击相应筛选器名称旁边的 x 来清除搜索条目。然后将显示所有命令和键盘快捷键(如果替代过滤器的搜索字段也是空的)。

In addition to the names and icons (if applicable) of commands, the commands list also includes the name of the feature to which a given command may correspond, any keyboard short cut assigned, the type of command and the corresponding help text. Since this list is for reference purposes only, only the keyboard shortcut itself can be edited. Clicking on the title of a given row at the top of the list will arrange the list accordingly.

除了命令的名称和图标(如果适用的话) ,命令列表还包括给定命令可能对应的功能的名称、分配的任何键盘捷径、命令的类型和相应的帮助文本。因为这个列表仅供参考,所以只有快捷键文档本身可以被编辑。单击列表顶部给定行的标题将相应地排列列表。

The keyboard shortcut assigned to a given command will be displayed at the lower left of the Command Manager when selected.

分配给给定命令的快捷键将显示在命令管理器的左下角。

Commands as HUD elements

作为 HUD 元素的命令

Commands can also be dragged directly into the editor view. The command, including its icon (can be hidden) will then be displayed in the HUD. Simply click on the HUD command to execute it.

还可以将命令直接拖动到编辑器视图中。命令,包括它的图标(可以隐藏) ,然后将显示在平视显示器。简单地点击 HUD 命令来执行它。

Tip: 提示:
Note that each newly created Cinema 4D file can be assigned its own set of HUD commands via the new.c4d file (see 注意,每个新创建的 Cinema 4D 文件都可以通过 new.c4d 文件分配自己的 HUD 命令集(参见Save as Default Scene 保存为默认场景).

The Concept Behind Keyboard Shortcuts in Cinema 4D

C4D中键盘快捷键的概念

Each command can be assigned any number of keyboard shortcuts. Furthermore, the same keyboard shortcut can be assigned to different commands, in which case the commands will be executed according to the window over which the cursor currently lies or which window is currently active (the Shortcut option in the Preferences’ Interface menu must be active).

每个命令可以分配任意数量的键盘快捷键。此外,相同的快捷键可以分配给不同的命令,在这种情况下,命令将根据当前光标所在的窗口或者当前活动的窗口来执行(参数设置界面菜单中的快捷方式选项必须是活动的)。

Global and local commands are available:

可以使用全局和本地命令:

Each Manager can be assigned its very own set of shortcuts which are executed independently of all other Managers or global shortcuts (e.g., Ctrl+p can execute a given command globally, yet execute an entirely different command in the Timeline).

每个管理器都可以被分配一组独立于所有其他管理器或全局快捷方式的快捷方式(例如,Ctrl + p 可以全局执行给定的命令,但在时间轴中执行完全不同的命令)。

Global shortcuts can be limited in their globalism by restricting them to specific Managers. As long as the cursor is placed over the corresponding window, these restricted shortcuts will have priority over global shortcuts of the same combination.

全球捷径可以限制他们的全球主义,通过限制他们对特定的管理者。只要光标放在相应的窗口上,这些受限制的快捷键将优先于同一组合的全局快捷键。

If all of this confuses you a little, here’s a simple, albeit useless, example:

如果所有这些让你有点困惑,这里有一个简单的,虽然没有用的例子:

By default, the 1 key is assigned to the Move Camera command. The 1 key can also be assigned to execute a different function (e.g., create a new material) and restricted to the Material Manager:

默认情况下,1键被分配给 Move Camera 命令。1键也可以被分配来执行不同的功能(例如,创建一个新的材质) ,并且仅限于材质管理器:

  1. Locate and select the 定位并选择New Material 新材质 command in the Command Manager. 命令管理器的命令
  2. Click in the Shortcut text field and press the 单击“快捷方式”文本字段,然后按1 key. Click on the Restrict To button to open a list of Managers to which this (or any other) command can be restricted. 关键。单击“限制到”按钮可以打开此(或任何其他)命令可以限制的“管理器”列表
  3. Select the 选择Material Manager 材质管理器.
  4. Click on Add and you are done. You have just created a local command for the 点击添加就完成了。您刚刚为Material Manager 材质管理器.

Now, if you press the 1 key while your cursor lies over the Material Manager a new material will be created (i.e. the local New Material command was executed, not the global Move Camera command).

现在,如果你按下1键,同时你的光标位于材质管理器上,一个新的材质将被创建(即本地的 New Material 命令被执行,而不是全局的 Move Camera 命令)。

The following options are available in the Command Manager’s shortcut area:

在命令管理器的快捷方式区域中有以下选项:

List

清单

Displays a list of shortcuts defined for the selected command. Select the shortcut to edit or delete it.

显示为所选命令定义的快捷方式列表。请选择要编辑或删除的快捷方式。

Shortcut

捷径

Click in this field and press the corresponding keyboard key for the shortcut you want to set. The key pressed will be displayed in this field but will not yet be assigned. Assign the selected shortcut by clicking on Add or Assign. Shortcuts can consist of a single keystroke, a combination of multiple keystrokes (e.g., A~A when the a-key is pressed quickly in succession. See below), a key in combination of one of the following: Ctrl/Cmd, Shift, ALT or a combination of these keys themselves.

在此字段中单击并按相应的键盘键可获得要设置的快捷方式。按下的键将显示在该字段中,但尚未分配。通过单击添加或分配来分配选定的快捷方式。快捷键可以由单个击键组成,也可以由多个击键组合而成(例如,当连续快速按下 a 键时,a ~ a 就会出现)。按 Ctrl/Cmd、 Shift、 ALT 或这些键本身的组合。

Global shortcuts that are not restricted to a specific Manager or share the same name and are restricted to a single Manager cannot be assigned the same combination of keys. If this occurs, an error message will appear. Clicking on Yes will overwrite the existing shortcut.

不能为不限于特定 Manager 或共享相同名称且限于单个 Manager 的全局快捷键分配相同的键组合。如果发生这种情况,将出现错误消息。点击是将覆盖现有的快捷方式。

The following shortcuts can be incorporated for the mouse:

鼠标可以合并以下快捷键:

Note: 注意:
Make sure not to assign any commands specific to the operating system you are using (e.g., 确保不要为你正在使用的操作系统分配任何特定的命令(例如:Ctrl/Cmd+ALT+DEL Ctrl/Cmd + alt + del)!! )!

Furthermore, keyboard shortcuts used for creating objects (Ctrl/Cmd, Shift, ALT for re-arranging objects in the hierarchy - see also Objects), will still be observed. If, for example, you create an Extrude object using the ALT+U keyboard shortcut, the new Extrude object will be created as a Parent object of the currently selected object (e.g., a Spline).

此外,用于创建对象的键盘快捷键(Ctrl/Cmd、 Shift、 ALT 用于在层次结构中重新排列对象——请参阅对象)仍将被观察到。例如,如果您使用 alt + u 快捷键创建一个挤出对象,新的挤出对象将作为当前选定对象的父对象创建(例如,样条)。

Note 2: 注二:
Shortcuts are save to the 快捷方式保存到shortcuttable.res file in the 文件prefs 前列腺 directory. 目录

Restrict To

限制

Select a Manager from the list that appears to which a given command should be restricted. Select none if the command should work globally. If any of the items on the list is grayed out the selected command will not function in conjunction with that particular Manager (i.e. the command selected is already a local command).

从显示给定命令应受限制的列表中选择一个 Manager。如果命令应该全局工作,则选择 none。如果列表中的任何项目变成灰色,那么所选的命令将不会与该特定的 Manager 一起工作(即所选的命令已经是一个本地命令)。

Here you will find the Tool Overwrite command, which can be used to overwrite an existing keyboard shortcut with a hotkey. This command is less relevant to you as a user but uses it to fine-tune existing hotkeys.

在这里你可以找到工具覆盖命令,它可以用热键覆盖现有的快捷键。这个命令与您的用户关系不大,但是可以用它来微调现有的热键。

Options Mode

选项模式

Numerous commands are available (mainly from the mesh menus) that have multiple options. Here you can define if a given command should display these options in a small dialog window every time its called up or if the command should be executed using the currently defined settings (see also Mesh menu).

可以使用许多具有多个选项的命令(主要来自于网格菜单)。在这里,您可以定义一个给定的命令是否应该在每次调用时在一个小对话框窗口中显示这些选项,或者该命令是否应该使用当前定义的设置执行(参见 Mesh 菜单)。

Tip: 提示:
This functionality only applies to the command when called up via the hotkey (if called up via an icon or the menu, this option will be ignored). Hotkeys with the 此功能只适用于通过热键调用的命令(如果通过图标或菜单调用,此选项将被忽略)。热键与Option 选择 mode enabled will be displayed in square brackets in the hotkey list. 模式启用将显示在方括号中的热键列表

Assign

分配

A currently selected shortcut can be overwritten by a new one once Assign is clicked.

单击 Assign 后,当前选定的快捷方式可以被新的快捷方式覆盖。

Add

添加

Adds the current shortcut to the existing shortcuts without overwriting the selected shortcut.

将当前快捷方式添加到现有快捷方式,而不覆盖选定的快捷方式。

Delete

删除

Deletes the currently selected shortcut.

删除当前选定的快捷方式。

Execute

执行

Executes the currently selected shortcut. You can use this option to see if you selected the correct shortcut from the thousands available.

执行当前选定的快捷方式。您可以使用此选项查看是否从数千个可用的快捷方式中选择了正确的快捷方式。

Shortcut hierarchies

快捷层次结构

Shortcut hierarchies are called by pressing two or more keys one after the other. When you press the first key a menu will appear that lists all commands in the hierarchy of the key that you pressed. Press the second key to call the desired command. You can freely configure the short-cut hierarchies.

通过一个接一个地按两个或多个键来调用快捷方式层次结构。当您按下第一个键时,将出现一个菜单,其中列出您按下的键的层次结构中的所有命令。按第二个键调用所需的命令。您可以自由地配置简捷的层次结构。

Assigning a shortcut hierarchy (main) and calling the shortcut (inset). 分配快捷层次结构(main)并调用快捷方式(插入)

Click in the lower keyboard shortcut box and press two or more keys one after the other. A tilde (~) will be placed between the keys. Click on the Assign button.

点击下面的快捷键,一个接一个地按下2个或者更多的键。一个波浪线(~)将被放置在键之间。点击 Assign 按钮。