<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[分享]microstation一启动就调用Addins的方法</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/bdn-addins-net/20220/microstation-addins</link><description>[转载Bentley中文知识库原贴] gjgj1976：我发现，如果在.ucf文件中加入 &amp;quot;MS_DGNAPPS &amp;gt; aaaa&amp;quot;，（aaaa为您开发的addins生成的.dll文件，不加文件后缀），且将.dll放到mdlapps目录下，只要您一启动microstation XM，您开发的addins就能像.ma文件一样自动运行。
 
 
 
 
 
[转载Bentley中文知识库原贴] smartflyer：.ucf是在什么目录下的什么文件？
 
 
 说清楚一点吧。</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: [分享]microstation一启动就调用Addins的方法</title><link>https://communities.bentley.com/thread/79108?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2009 23:28:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:33a43755-a4a2-46fc-91fb-c929df360377</guid><dc:creator>Gang</dc:creator><description>&lt;p&gt;
You may also try to put a cfg file(config file) under [Program Files]\Bentley\MicroStation\config\appl folder. 
&lt;/p&gt;
&lt;p&gt;
And put the following command into that config file:
&lt;/p&gt;
&lt;p&gt;
[empty line]&lt;br /&gt;
MS_ADDINPATH &amp;gt; [path to your dll file]&lt;br /&gt;
MS_MDLAPPS &amp;gt; [path to your dll file]&lt;br /&gt;
MS_INITAPPS &amp;gt; [dll file name]&lt;br /&gt;
[empty line]
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: [分享]microstation一启动就调用Addins的方法</title><link>https://communities.bentley.com/thread/43861?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2009 07:47:59 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cd850b22-966f-4b07-a956-3605f7db514f</guid><dc:creator>Sophie Qingwen</dc:creator><description>&lt;p&gt;
[转载Bentley中文知识库原贴] MicroStation迷：.UCF = User Configuration File(用户配置文件)。
&lt;/p&gt;
&lt;p&gt;
在MicroStation启动时有一个User/Project/Interface的选择界面。不同的User会对应不同的UCF文件。缺省情况下，User名是Untitled，所以，在你的...\Workspace\users目录下就会有一个untitled.ucf文件，该文件是文本格式的。可以手动编辑修改它。
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>