<?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>[PS ++] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/235171/ps</link><description>老师，您好，请问怎么将新绘制的钢筋加入已存在的钢筋组中，好让他们可以一起选中？ 
 需求描述：在一组点筋中，因为业务需求需要移动其中1根点筋，采用的方法是重新绘制了1根点筋，并将原来的删除。以上功能没有问题，但是新绘制的钢筋不在原来的钢筋组中，导致选择一组时，新绘制的钢筋选不中。 
 如果绘制新钢筋时，使用原来的rebarset，钢筋组中的钢筋就会被全部删除，再将新的钢筋加入其中，即钢筋组中只剩新绘制的钢筋。 
 
 以上代码为什么不是将新的钢筋加入钢筋组而是替换掉钢筋组中的钢筋</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730696?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 09:10:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c961c8b4-29d5-470c-a813-21f1898c52b5</guid><dc:creator>Yongan.Fu</dc:creator><description>&lt;p&gt;我通过论坛给您发了私信，请在回复私信中告知我们您的单位名称。谢谢了！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730663?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 07:17:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6f2ddcf2-97f5-41ce-9b4b-b7b71e479cac</guid><dc:creator>焯辉 洪</dc:creator><description>&lt;p&gt;谢谢老师，可以了&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730594?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 02:59:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:390fa747-786c-4257-8ae3-e535d08bfe01</guid><dc:creator>Jason Quan</dc:creator><description>&lt;p&gt;如果是修改钢筋，可以尝试如下代码&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ElementHandle eh(hitPath-&amp;gt;GetHeadElem(), hitPath-&amp;gt;GetRoot());
    RebarElementP rep = RebarElement::Fetch(eh);
    //new rebar location...
    rep-&amp;gt;Update(curve, diameter, endTypes, shape, rep-&amp;gt;GetModelRef(), false);
    RebarModel *rmv = RMV;
    if (rmv != nullptr)
    {
        rmv-&amp;gt;SaveRebar(*rep, rep-&amp;gt;GetModelRef(), true);
    }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730584?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 02:39:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c3c12569-1fdc-40db-8f97-93428063720a</guid><dc:creator>焯辉 洪</dc:creator><description>&lt;p&gt;噢噢 原有需求是移动钢筋的位置，思路方法是重新绘制了一根钢筋&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730582?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 02:37:46 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a461651d-5a3a-41fe-91a8-1ce94265e6ca</guid><dc:creator>焯辉 洪</dc:creator><description>&lt;p&gt;给原有的钢筋组添加钢筋&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730580?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 02:34:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6ef9bf0a-d0dd-4bb0-a976-b15fdf67b9b7</guid><dc:creator>Jason Quan</dc:creator><description>&lt;p&gt;HI,焯辉,这个需求是要给原有的钢筋组添加钢筋还是修改某根钢筋？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [PS c++ 二次开发] 怎么在已有的钢筋组中加入新的钢筋</title><link>https://communities.bentley.com/thread/730568?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 01:58:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b455ad66-aefb-4f7c-8c04-d5f275295e91</guid><dc:creator>Yongan.Fu</dc:creator><description>&lt;p&gt;我已转交给相关的PS开发工程师处理，请耐心等待！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>