[转载Bentley中文知识库原贴] gjgj1976:我发现,如果在.ucf文件中加入 "MS_DGNAPPS > aaaa",(aaaa为您开发的addins生成的.dll文件,不加文件后缀),且将.dll放到mdlapps目录下,只要您一启动microstation XM,您开发的addins就能像.ma文件一样自动运行。
[转载Bentley中文知识库原贴] smartflyer:.ucf是在什么目录下的什么文件?
说清楚一点吧。
You may also try to put a cfg file(config file) under [Program Files]\Bentley\MicroStation\config\appl folder.
And put the following command into that config file:
[empty line] MS_ADDINPATH > [path to your dll file] MS_MDLAPPS > [path to your dll file] MS_INITAPPS > [dll file name] [empty line]
[转载Bentley中文知识库原贴] MicroStation迷:.UCF = User Configuration File(用户配置文件)。
在MicroStation启动时有一个User/Project/Interface的选择界面。不同的User会对应不同的UCF文件。缺省情况下,User名是Untitled,所以,在你的...\Workspace\users目录下就会有一个untitled.ucf文件,该文件是文本格式的。可以手动编辑修改它。