<?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/"><channel><title>添加设备UDA</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/43554/uda</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>添加设备UDA</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/43554/uda</link><pubDate>Sun, 29 Sep 2019 06:06:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a55e4957-daae-4158-b50e-0aa8a6271f32</guid><dc:creator>Yuhui Liu</dc:creator><comments>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/43554/uda#comments</comments><description>Current Revision posted to 技术资料库 by Yuhui Liu on 9/29/2019 6:06:20 AM&lt;br /&gt;
&lt;p&gt;【功能概述】&lt;/p&gt;
&lt;p&gt;为设备添加用户自定义属性或变量。&lt;/p&gt;
&lt;p&gt;【讲解视频】&lt;/p&gt;
&lt;p&gt;链接：&lt;a href="https://pan.baidu.com/s/1NpUojY1epbx1sTXOmpw9ew"&gt;https://pan.baidu.com/s/1NpUojY1epbx1sTXOmpw9ew&lt;/a&gt;&lt;a href="https://pan.baidu.com/s/1yUoMTxBaDGpDwB9BtvguyA"&gt;&amp;nbsp;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;提取码：o6cw&lt;/p&gt;
&lt;p&gt;【功能详解】&lt;/p&gt;
&lt;p&gt;1.在管理菜单中选择&amp;ldquo;选项&amp;rdquo;；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/900x750/__key/communityserver-wikis-components-files/00-00-00-04-10/064877.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2.选择&amp;quot;UDA设置&amp;rdquo;、&amp;ldquo;设备UDA&amp;quot;，点击添加；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/7268.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3.双击UDA名称可以进行更改；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/700x550/__key/communityserver-wikis-components-files/00-00-00-04-10/3240.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;4.点击左侧三角将其展开，有一些属性，其中包含：&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;默认值：即初始值；&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;属性：val代表其值任意输入，collection代表只能在预设的值中去选择；&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;设置完成后点击确定；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/700x550/__key/communityserver-wikis-components-files/00-00-00-04-10/3414.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;5.在完成创建UDA之后，需要将其添加到具体的设备中：选择&amp;ldquo;管理&amp;rdquo;菜单中的&amp;ldquo;创建/修改设备&amp;rdquo;；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/900x750/__key/communityserver-wikis-components-files/00-00-00-04-10/2570.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;6.在弹出的对话框中选择创建设备、&amp;ldquo;基于参数化模板&amp;rdquo;；（也可以基于单元，我们这里以其中常见的一种为例来展示）&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/700x550/__key/communityserver-wikis-components-files/00-00-00-04-10/3823.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;7.选择一个已有设备作为模板，点击打开；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/700x550/__key/communityserver-wikis-components-files/00-00-00-04-10/1731.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;8.点击在设备属性中的&amp;ldquo;...&amp;rdquo;进行新属性的添加，在弹出的&amp;ldquo;编辑设备属性&amp;rdquo;中选中UDA，点击确定，这里：&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;UDA1的类型为val，不需要设置UDA列表值，可以自由填写，默认值为10自动添加到设备页面中；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/700x500/__key/communityserver-wikis-components-files/00-00-00-04-10/1805.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;UDA2的类型为collection，需要预设可选择的值，默认值未设置，可以在这里设置；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/700x550/__key/communityserver-wikis-components-files/00-00-00-04-10/0882.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;9.设置好UDA后选择保存对设备进行保存，给新的设备起一个名字，点击保存，即完成了含有UDA的设备的创建；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/4784.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/2146.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;10.设备已经创建完成，设备管理器可以关闭；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/3124.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;11.在一张含有设备设计内容的图纸中，在&amp;ldquo;设备与电缆&amp;rdquo;菜单下，选择&amp;ldquo;设备管理器&amp;rdquo;；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/900x750/__key/communityserver-wikis-components-files/00-00-00-04-10/11830.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;12.选中之前设置的设备；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/5734.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;13.可以看到：&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; UDA1的值可以自由填写；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/0458.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; UDA2的值可以在预设值中去选择；&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/2538.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 设置完成之后，点击确定即可放置设备；&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;13.设备属性还可以在&amp;ldquo;设备属性&amp;rdquo;中查看和编辑。&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/900x240/__key/communityserver-wikis-components-files/00-00-00-04-10/6242.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/750x500/__key/communityserver-wikis-components-files/00-00-00-04-10/0511.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>