<?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>renbo tang's Activities</title><link>https://communities.bentley.com/members/c86c25aa_2d00_3ae9_2d00_4a2c_2d00_83a4_2d00_be2702fc6380</link><description>renbo tang's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>WorkSpace problems when updating OpenPlant Modeler from u8 to u10</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/230146/workspace-problems-when-updating-openplant-modeler-from-u8-to-u10</link><pubDate>Fri, 20 May 2022 08:36:15 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:377bf21b-9ab3-4b4d-9373-3bd21e32c4d2</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;Hello everyone!&lt;/p&gt;
&lt;p&gt;Recently we&amp;nbsp;are planning to replace our OpenPlant Modeler u8 with the latest version u10.&lt;/p&gt;
&lt;p&gt;However we noticed that the workset we used in u8, WorkSpace\OpenPlantMetric, was removed from the u10 install package. We have many important dgn files created using the old OpenPlant Modeler u8&amp;nbsp;and&amp;nbsp;we&amp;nbsp;are supposed to continuously modified&amp;nbsp;them. We know that a dgn file is deeply tied to its workset, and open it in a different workset would cause some unexpected problem.&lt;/p&gt;
&lt;p&gt;So is there anything we should do to make it a smooth transition?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[C++/C#  MSCE] 元素加入选择集  太慢</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/205593/c-c-msce</link><pubDate>Fri, 06 Nov 2020 10:32:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0a6a00a7-452d-44b5-ad49-37244377796a</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;符老师 &amp;nbsp; 元素加入选择集&lt;span style="background-color:#ffffff;"&gt;AddElement(Element element, DgnModelRef modelRef);&lt;/span&gt;这个函数效率太低&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;AddElementSet(IElementSet elementSet); 这个函数（元素含参考文件的元素）&amp;nbsp; 我用C++ 、C#都不行&amp;nbsp; 请问问符老师&amp;nbsp; 怎么弄？&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;求指教&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Import elevation data in the form of pipeline profile represented by a CAD polyline</title><link>https://communities.bentley.com/products/hydraulics___hydrology/f/haestad-hydraulics-and-hydrology-forum/194429/import-elevation-data-in-the-form-of-pipeline-profile-represented-by-a-cad-polyline</link><pubDate>Thu, 26 Mar 2020 07:29:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0e83621b-e009-417e-8996-e6caf2623ed7</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;Recently I&amp;nbsp;was tasked with a water supply project involving some water hammer calculations and had some trouble building the model.&lt;/p&gt;
&lt;p&gt;I have the plane layout of the pipeline and the elevation data in the form of&amp;nbsp; pipeline profile&amp;nbsp;represented by a CAD polyline, as shown in the images below. Please note the numerical values are not organized in a chart so I can&amp;#39;t just pull it out of the DXF file.&lt;/p&gt;
&lt;p&gt;&lt;img alt="plane layout" src="/resized-image/__size/1167x741/__key/communityserver-discussions-components-files/5925/plane.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="pipeline profile" src="/resized-image/__size/1412x783/__key/communityserver-discussions-components-files/5925/5672.profile.png" /&gt;&lt;/p&gt;
&lt;p&gt;I can use the ModelBuilder to import the plane layout of the pipeline, but I can&amp;#39;t find a way to import the elevation data. It seems the TRex tool does not recognize data in such form, so is there some other way to do this?&lt;/p&gt;
&lt;p&gt;Looking forward to your help, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Pipelines disappeared from Standard Preferences for Piping Component toolbox</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/196915/pipelines-disappeared-from-standard-preferences-for-piping-component-toolbox</link><pubDate>Sat, 09 May 2020 07:23:57 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4d6f4706-b1e0-404a-bb86-d5635d3e8ce2</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;Pretty much as the title states.&lt;/p&gt;
&lt;p&gt;After opening the dgn file with OBD (CE Update 6) and microstation (CE Update 13) to perform some printing operations, I closed and reopened it with OPM (CE update 7) to find the&amp;nbsp;Pipelines in the dropdown selection area of the combobox in Standard Preferences for Piping Component toolbox were gone. I then checked the pipeline manager as well as the explorer and&amp;nbsp;both&amp;nbsp;reported the pipelines were actually still there. I tried to import the pipelines back to the model, but was told that the pipelines were already existed and nothing was imported. This seems like a bug to me, Is there a way to fix&amp;nbsp;it? Screenshot attached below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/800x600/__key/communityserver-discussions-components-files/5927/123.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to update level name after renaming Unit &amp;amp; Service</title><link>https://communities.bentley.com/products/plant/f/autoplant-axsys-openplant-plantwise-forum/195217/how-to-update-level-name-after-renaming-unit-service</link><pubDate>Thu, 09 Apr 2020 02:46:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c22df5a3-3c4f-43d7-8b8c-eb7dccce3094</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;Hi everyone!&lt;/p&gt;
&lt;p&gt;As the title states, I renamed several Units &amp;amp; Services in my OPM design file, the pipeline names changed accordingly, but the names of&amp;nbsp; levels which pipe elements reside in did not.&lt;/p&gt;
&lt;p&gt;Is there a way to update them automatically?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also I noticed that creating and editing named expressions are required in almost any OPM customization, can you provide some detailed document on that?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Thank&amp;nbsp;you!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[MSCE/OPM C#] 在ElementSetTool中如何正确处理选择集？</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/189575/msce-opm-c-elementsettool</link><pubDate>Thu, 05 Dec 2019 12:34:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7d6820be-edc3-4aa8-a039-a22002c6db46</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;在基于OpenPlant CE版的.net二次开发过程中，我定义了一个类继承自DgnElementSetTool，希望实现两个功能：&lt;/p&gt;
&lt;p&gt;1.允许选择多个元素，允许单击，框选将元素加入选择集，按住Ctrl键单击、框选将已选择的元素从选择集中排除&lt;/p&gt;
&lt;p&gt;2.通过代码访问DgnElementSetTool的选择集，并进行修改（添加、删除元素）&lt;/p&gt;
&lt;p&gt;目前我已通过重载&lt;/p&gt;
&lt;p&gt;WantAddtionalLocate(...) =&amp;gt; true;&lt;/p&gt;
&lt;p&gt;WantDynamics(...) =&amp;gt; false;&lt;/p&gt;
&lt;p&gt;WantAccuSnap(...) =&amp;gt; false;&lt;/p&gt;
&lt;p&gt;AllowDragSelect (...) =&amp;gt; UsesDragSelect.Box;&lt;/p&gt;
&lt;p&gt;GetAddtionalLocateNumRequired(...) =&amp;gt; int.MaxValue;&lt;/p&gt;
&lt;p&gt;实现了选择多个元素，但一旦按住Ctrl键单击已选中的元素（预期将元素从选择集中排除）程序就会崩溃，是否是某些函数也要相应重载？&lt;/p&gt;
&lt;p&gt;另外我尝试通过DgnElementSetTool.ElementAgenda访问并修改选择集（调用ElementAgenda.Empty(true)或ElementAgenda.Insert(...)），但在此对象上调用的修改方法都没有效果，是否有特殊的调用方式？&lt;/p&gt;
&lt;p&gt;请各位专家同仁指教，谢谢！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>将dgn另存为dwg时，如何保留原有的Presentation设置</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-powerdraft-navigator-i-model/186072/dgn-dwg-presentation</link><pubDate>Wed, 25 Sep 2019 01:56:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1ce6a1f1-f726-45b6-ad5d-f6523bebb07a</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;将dgn另存为dwg时，我希望能保留原来的Presentation设置，但导出的dwg始终以线框（wireframe）方式表示，如附图所示，请问如何设置呢？&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1920x1080/__key/communityserver-discussions-components-files/343508/7002.png" /&gt;&lt;/p&gt;
&lt;p&gt;上方图片为MS中的效果，下方为导出的效果&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1920x1080/__key/communityserver-discussions-components-files/343508/2625.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1920x1080/__key/communityserver-discussions-components-files/343508/0167.png" /&gt;&lt;img alt=" " src="/resized-image/__size/1920x1080/__key/communityserver-discussions-components-files/343508/8510.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;左边图片为MS中的效果，右边为导出的效果&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>OpenPlant管线号丢失、管线号无法修改的问题</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/openplant/185401/openplant</link><pubDate>Wed, 11 Sep 2019 09:27:19 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e2d975d5-661a-4eba-beb8-6ce10b77e82c</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;在使用OpenPlant CE版Update 4进行管道设计时，我遇到了两个问题：&lt;/p&gt;
&lt;p&gt;1.使用Pipe Manager将部分管道从一个管线移动到另一个管线时，显示操作完成，但管道仍保留原来的管线号；在Pipe Manager中查看时，这部分被移动的管道同时出现在了两个管线的管道列表中，使用External Report导出报告时仍将被移动的管道归在原管线号下，这应该是一个BUG。&lt;/p&gt;
&lt;p&gt;2.在重新打开原先保存的模型文件时，Standard Preference for Piping Component中曾定义过的管线号全部遗失，但Unit、Service等原先定义的编号还存在，是否是我们的设置问题？&lt;/p&gt;
&lt;p&gt;如果上述问题已确认且在新版中修正，请告知，谢谢！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[MSCE C#] Convert1.ElementToBody使用方法</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/184105/msce-c-convert1-elementtobody</link><pubDate>Fri, 16 Aug 2019 09:52:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f94f1605-1fc9-453d-bf57-42ec2e56d20a</guid><dc:creator>renbo tang</dc:creator><description>&lt;p&gt;最近在学习MSCE的二次开发，想要实现一些三维元素的修改操作时遇到了一些问题，下面是相关的代码：&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;var dgnModel = Session.Instance.GetActiveDgnModel();
var uorPerMillimeter = dgnModel.GetModelInfo().UorPerMeter / 1000;
var cone1 = new ConeElement(dgnModel, null, 
    _tshVm.SmallEndDiameter / uorPerMillimeter,
    _tshVm.BigEndDiameter / uorPerMillimeter, 
    origin, new DPoint3d(origin)
    {
        X = origin.X + _tshVm.EndToEndLength / uorPerMillimeter
    },
    DMatrix3d.Identity, true);
var cone2 = new ConeElement(dgnModel, null,
    _tshVm.SmallEndInnerDiameter / uorPerMillimeter,
    _tshVm.BigEndInnerDiameter / uorPerMillimeter,
    origin, new DPoint3d(origin)
    {
        X = origin.X + _tshVm.EndToEndLength / uorPerMillimeter
    },
    DMatrix3d.Identity, true);

if (Convert1.ElementToBody(out var cone1Entity, cone1, true, false, false) == BentleyStatus.Error)
    return null;

if (Convert1.ElementToBody(out var cone2Entity, cone2, true, false, false) == BentleyStatus.Error)
    return null;

var subtractTools = new[] {cone2Entity};
if (Modify.BooleanSubtract(ref cone1Entity, ref subtractTools, subtractTools.Length) == BentleyStatus.Error)
    return null;

if (Convert1.BodyToElement(out var result, cone1Entity, null, dgnModel) == BentleyStatus.Error)
    return null;

return result;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;这段代码预期结果是创建两个同心圆台，然后求差得到一个异径管，圆台元素ConeElement创建成功，但Convert1.ElementToBody一直返回BentleyStatus.Error导致无法进行。请问有哪位能教一下这个函数的使用方法或者提供一些说明文档，非常感谢！&lt;/p&gt;
&lt;p&gt;注：开发环境为Visual Studio 2019/.Net Framework 4.6.2/MSCE Update 12&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://communities.bentley.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Fri, 16 Aug 2019 00:50:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b7f18a5a-d59e-465e-a332-d4729354ff13</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>