乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 109|回复: 5

[综合讨论] Revit2010小点心:自界说快捷下令要点

[复制链接]

50

主题

502

帖子

457

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
342
发表于 2009-11-1 00:12:47 | 显示全部楼层 |阅读模式
各人大概已经发现,在Revit2010快捷下令文件内里有不少下令重复出现在KeyboardShortcuts.txt(该文件和Revit.exe位于同一目次下)文件内里。这些重复出现的下令是由于他们出现在Revit菜单的好几个地方。如许一来,会造成自界说快捷下令的时间非常困难,由于对于有一千多行的文件来说,极轻易出现对同一个下令界说了好几种快捷下令。如果没有精确修改快捷键下令文件, 终极有大概出现连自己都搞不清楚起作用的是哪个快捷下令,大概修改了的一个快捷下令不起作用。

怎样才气克制这种环境呢?

我发现有个老外专门做了个工具来处置惩罚重复的环境,着实我以为没有那么复杂。
我的方法很简朴,只要修改的时间注意:只修改KeyboardShortcuts.txt文件内里第一个出现的谁性下令的快捷键就可以了。可以通过文件编辑器的从开始搜刮就能实现。这是由于Revit只认第一个,我没有记错的话,AutoCAD也是是一样的。
回复

使用道具 举报

50

主题

502

帖子

457

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
342
发表于 2009-11-1 00:12:47 | 显示全部楼层
如果有兴趣的话也可以研究一下老外的工具,个人觉得还是有点意思。我自己还把这个工具给汉化了一下(用的是中文的KeyboardShortcuts.txt文件),附件中有两个文件,一个原版,一个汉化版。

下面是老外的说明:
Please find attached an Excel spreadsheet I am using for development of RAC 2010 Keyboard Shortcuts. As many have discovered, many commands are repeated over and over as they exist on different ribbon menus. As such, developing a workable list is difficult since duplicate commands can easily get different key assignments as one moves about in a text file with over 1,400 lines.

Within this XLS - the blue area is what one copies to a true TXT file. The green area is where one customizes to their own desires. The orange area contains a list of ribbon entries but without the duplication. To the right of the green area is the out-of-the-box shortcuts.

Again - you only edit in the green, no where else.

For any given row, the XLS will use the OOTB entry until a custom one is created. As custom entries are made, they are checked against the entire list for duplicate keycuts. If a duplicate is found above, it then checks against the ribbon placement. If the ribbon is the same, the new keycut is left as is. If the ribbon is different, the keycut is made red.

In a nutshell (I may have confused you more just then), you start out with OOTB keycuts. You find a command you want to customize and do so. Soon as you do that, all matching commands below get that same customization (superceding their own line OOTB entry). And if you use the duplicate removed column for commands, you never will have to "look" at already adjusted commands.

Another \'perk\' of this is the blue column will start by showing the uppermost OOTB keycut. Even if Autodesk called a lower placed ribbon by a different keycut, it will use the uppermost - thus disabling the practice of 2 different keycuts for the same command.

I have placed a couple sample conditions in the custom column to show this functionality. The big thing here is, green is good, red is bad. Now I will say there are some commands that are duplicated in ribbon form but with different ribbon strings - so in some cases red can be right (same command but different ribbon strings). Sigh...not sure what else I can do about that. When you find red cells, investigate and perhaps override if needed.

Comments are welcome. I have started a new thread for this to 1) restrict topic to the XLS and 2) to keep track when future RAC versions are released.
回复

使用道具 举报

0

主题

2

帖子

2

银币

初来乍到

Rank: 1

铜币
0
发表于 2009-11-1 00:12:47 | 显示全部楼层
恩,不错。下个下来看看
回复

使用道具 举报

1

主题

3

帖子

2

银币

初来乍到

Rank: 1

铜币
5
发表于 2009-11-1 00:12:47 | 显示全部楼层
谢谢分享,学习之中
回复

使用道具 举报

fly

0

主题

15

帖子

15

银币

初来乍到

Rank: 1

铜币
0
发表于 2010-11-23 08:24:01 | 显示全部楼层
在选项里也可以设置快捷键,只需要按过滤器选择对应制表位修改就行了
回复

使用道具 举报

FHK

29

主题

202

帖子

161

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
210
发表于 2010-11-23 23:13:23 | 显示全部楼层
值得学习啊,可惜英文太烂了……
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 11:42 , Processed in 0.639642 second(s), 64 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表