<?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>如何在等级中区分操作机构的多条记录</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/35058/35058</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>如何在等级中区分操作机构的多条记录</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/35058/35058</link><pubDate>Fri, 12 May 2017 03:14:45 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:63d0962b-c6b2-4c0e-bc36-25feab8a9bdc</guid><dc:creator>Xiongfei Zhao</dc:creator><comments>https://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/35058/35058#comments</comments><description>Current Revision posted to 技术资料库 by Xiongfei Zhao on 5/12/2017 3:14:45 AM&lt;br /&gt;
&lt;p style="background:white;margin:0.25in 0in;"&gt;当在等级中对同一类型的操作机构有多条记录时，如HAND_WHEEL，如下步骤告诉我们如何在放置不同类型阀门时区分不同尺寸的操作机构。&lt;/p&gt;
&lt;p style="background:white;margin:0.25in 0in;"&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;在&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;OpenPlant&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;SpecGenerator&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="text-decoration:underline;"&gt;中修改等级：&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p style="background:white;margin:0.25in 0in;"&gt;1. 启动OP Specification Generator&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;2. 加载要修改的Spec，并找到闸阀&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;3. 如下图增加&amp;ldquo;TAG&amp;rdquo;过滤条件&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/sp1.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/sp1.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;4. 如下图点击&amp;ldquo;Define Section Descriptions&amp;rdquo;按钮&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/sp2.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/sp2.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;5. 在对话框点击&amp;ldquo;+&amp;rdquo;按钮，加入TAG&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;6. 在输入框点击鼠标右键，并且输入[GATE]，如图，并点击绿色对勾（PS：中文操作系统有时绿色对勾会隐藏在右下角，请小心移动鼠标到对话框右下角直至出现气泡提示，可以点击）&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/sp3.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/sp3.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;7. 为其他类型阀门重复此操作，注意输入不同TAG，如[GLOBE]，如图&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/sp7.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/sp7.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;8. 到 TOPWORKS 组，同样增加 TAG 过滤条件&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;9. 为不同尺寸的操作机构设置对应的TAG，如下图&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/sp8.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/sp8.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;10. 保存 Spec&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;修改Schema：&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;1. &lt;span lang="ZH-CN"&gt;启动&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;Bentley Class Editor, &lt;/span&gt;&lt;span lang="ZH-CN"&gt;打开&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas&lt;/span&gt;&lt;span lang="ZH-CN"&gt;里的&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;OpenPlant_CustomAttributes.08.11 schema&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;2. &lt;span lang="ZH-CN"&gt;打开&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;OpenPlant_3D.01.07&lt;/span&gt;&lt;span lang="ZH-CN"&gt;并附加&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;OpenPlant_3D_Supplemental_Modeling.01.07&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;3. &lt;span lang="ZH-CN"&gt;找到&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;HAND_WHEEL&lt;/span&gt;&lt;span lang="ZH-CN"&gt;类&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;4.&lt;span lang="ZH-CN"&gt;如下图，在该类上右键并点击&lt;/span&gt;&lt;span lang="ZH-CN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt; &lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;Custom Attributes &amp;gt; ADD/Remove&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/spb4.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/spb4.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;5. &lt;span lang="ZH-CN"&gt;增加&lt;/span&gt;&lt;span lang="ZH-CN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt; &lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;OpenPlant_Physical_AdditionalDBQuery&lt;/span&gt;&lt;span lang="ZH-CN"&gt;，并设置&lt;/span&gt;&lt;span lang="EN"&gt;Location&lt;/span&gt;&lt;span lang="ZH-CN"&gt;为&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;OpenPlant_3D_Supplemental_Modeling&lt;/span&gt;&lt;span lang="ZH-CN"&gt;，点击&lt;/span&gt;&lt;span lang="EN"&gt;OK&lt;/span&gt;&lt;span lang="ZH-CN"&gt;。&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;6.&lt;span lang="ZH-CN"&gt;在&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;FieldName&lt;/span&gt;&lt;span lang="ZH-CN"&gt;上右击鼠标，点击&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt; &amp;ldquo;Add Element&amp;rdquo;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;7. &lt;span lang="ZH-CN"&gt;在&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;FieldName[0] &lt;/span&gt;&lt;span lang="ZH-CN"&gt;处输入&amp;ldquo;&lt;/span&gt;&lt;span lang="EN"&gt;TAG&lt;/span&gt;&lt;span lang="ZH-CN"&gt;&amp;rdquo;后保存&lt;/span&gt;&lt;span lang="EN"&gt;schema&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-04-10/spb6.jpg"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-04-10/spb6.jpg" alt=" " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="ZH-CN"&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;&lt;span lang="EN"&gt;8.&lt;span lang="ZH-CN"&gt;启动&lt;/span&gt;&lt;span lang="EN"&gt;OPM&lt;/span&gt;&lt;span lang="ZH-CN"&gt;测试&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;/p&gt;
&lt;p style="background:white;margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;/p&gt;
&lt;p style="background:white;margin:0in 0in 8pt 0.5in;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="background:white;margin:0.25in 0in;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="ZH-CN"&gt;启动&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;Bentley Class Editor, &lt;/span&gt;&lt;span lang="ZH-CN"&gt;打开&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace\OPModeler\schemas&lt;/span&gt;&lt;span lang="ZH-CN"&gt;里的&lt;/span&gt;&lt;span lang="EN" style="color:black;line-height:107%;font-family:&amp;#39;Source Sans Pro&amp;#39;;font-size:12pt;"&gt;OpenPlant_CustomAttributes.08.11 schema&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Openplant, spec&lt;/div&gt;
</description></item></channel></rss>