二级士官
UID2089590
U币1
G币227
技术0
主题0
精华0
阅读权限40
注册时间2013-9-12
最后登录2018-9-25
在线时间9 小时
二级士官
|
需要在UG安装文件下找到菜单栏通过文本形式打开后修改:方法1:直接给【设置旋转点】增加快捷键,例如:ctrl+q、F9,之类但是不能设置成单个字母
UGII\menus 目录里ug_view_popup.men时存放右键菜单配置信息的文件。
在里面找
BUTTON UG_VIEW_POPUP_SET_ROTATE_POINT项
添加一条ACCELERATOR Ctrl+Q
修改后信息“
BUTTON UG_VIEW_POPUP_SET_ROTATE_POINT
LABEL &Set Rotate Point
MESSAGE Sets a view rotation point for the view where the point is defined, to perform all subsequent view rotations about this point.
BITMAP rotate_about_point.bmp
POPUP_LABEL &Set Rotate Point
POPUP_MESSAGE Sets a view rotation point for the view where the point is defined, to perform all subsequent view rotations about this point.
ACCELERATOR Ctrl+Q
ACTIONS STANDARD
如果不清楚+QQ362865748
打开D:\Program Files\UGS\NX8.0\UGII\menus\ug_view_popup.men文件 查找“MENU UG_VIEW_POPUP_RENDERING_STYLE”
在下面添加一段如下代码
BUTTON UG_VIEW_POPUP_SET_ROTATE_POINT
LABEL &Set Rotate Point
TOOLBAR_LABEL Set Rotate Point
MESSAGE Renders faces (in the view where the cursor is positioned) with smooth shading and lighting (face edges not displayed).
BITMAP rotate_about_point.bmp
POPUP_LABEL &Set Rotate Point
POPUP_MESSAGE Renders faces (in the view where the cursor is positioned) with smooth shading and lighting (face edges not displayed).
POPUP_LOCATION 4
ACTIONS STANDARD
上面的代码只适合UG NX8.0使用
UG NX7.5的请使用以下代码
BUTTON UG_VIEW_POPUP_SET_ROTATE_POINT
LABEL &Set Rotate Point
MESSAGE Renders faces (in the view where the cursor is positioned |
|