
1.4.4 自定义菜单
自定义菜单是用户自定义里面很重要的部分,下面我们就具体操作一遍。
操作步骤:
(1)在“工作空间”工具栏中选择“自定义”选项,如图1-39所示,弹出“自定义用户界面”对话框。

图1-39
(2)在“自定义”选项卡中选择“工作空间”选项。单击鼠标右键选择【新建】→【工作空间】命令,如图1-40所示。

图1-40
(3)输入空间名称为“user”,新建工作空间,如图1-41所示。

图1-41
(4)单击“传输”选项卡,在“新建CUI文件中的自定义”窗口中选择“菜单”。单击鼠标右键,新建菜单“新文件”,如图1-42所示。

图1-42
(5)在“主CUI中的自定义”窗口中选择【菜单】→【文件】。将选项拖动到“新建CUI文件中的自定义”窗口下“新文件”中,如图1-43所示。

图1-43
(6)在“新建CUI文件中的自定义”窗口中单击按钮,在AutoCAD 2008的目录下保存文件名为“user”的自定义文件,如图1-44所示。

图1-44
(7)保存后单击对话框中的“自定义”选项卡,在“所有CUI文件中的自定义”窗口中单击按钮,选择“user.cui”自定义文件,单击
按钮,加载文件,如图1-45所示。

图1-45
(8)选择“所有自定义文件”,在“user”自定义工作空间上单击鼠标右键选择“置为当前”,单击按钮,单击
按钮,如图1-46所示。

图1-46
观察用户界面,如图1-47所示,菜单栏已经设定为用户自定义的“user”界面。

图1-47
错误操作后需要恢复自定义文件时,在对话框中选择“ACAD”选项,单击鼠标右键,选择,在弹出的提示信息中单击
按钮,如图1-48所示。

图1-48
注意: 如果因前面的步骤丢失菜单栏后,需要在命令提示栏里输入“cuiload”,按照提示信息加载相应的自定义文件,如图1-49所示。

图1-49
AutoCAD 2008还可以自定义其他如工具栏、弹出式菜单等多种界面元素,这里篇幅有限,不再一一详述,有兴趣的读者可以自行尝试。