<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic BIM360 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8757268#M42769</link>
    <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-ta tw-text-small" dir="ltr" data-placeholder="Vertaling" data-fulltext=""&gt;&lt;SPAN&gt;Hello everyone,
When I use my subroutine on my model that is on the server or hard drive it works very well
But once I want to use it on a project that is on the "Cloud" BIM360
It turns in a loop?
Someone has an explanation to give me&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Apr 2019 15:30:11 GMT</pubDate>
    <dc:creator>ahmed.errazak</dc:creator>
    <dc:date>2019-04-27T15:30:11Z</dc:date>
    <item>
      <title>BIM360</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8757268#M42769</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-ta tw-text-small" dir="ltr" data-placeholder="Vertaling" data-fulltext=""&gt;&lt;SPAN&gt;Hello everyone,
When I use my subroutine on my model that is on the server or hard drive it works very well
But once I want to use it on a project that is on the "Cloud" BIM360
It turns in a loop?
Someone has an explanation to give me&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 15:30:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8757268#M42769</guid>
      <dc:creator>ahmed.errazak</dc:creator>
      <dc:date>2019-04-27T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: BIM360</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8757696#M42770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5731608"&gt;@ahmed.errazak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I am not much in the understanding of your question. Could you elaborate which job you subroutine does? It will be helpful to know the context if with a demo video..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2019 01:45:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8757696#M42770</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2019-04-28T01:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: BIM360</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8758060#M42771</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-ta tw-text-small" dir="ltr" data-placeholder="Vertaling" data-fulltext=""&gt;&lt;SPAN&gt;Hey,
Well, as long as I work on my hard drive or on the server, all of my programs work well.
But once I am on the BIM360, it only blocks when I use a search function or with a filter.&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-ta tw-text-small" dir="ltr" data-placeholder="Vertaling" data-fulltext=""&gt;&lt;SPAN&gt;attached a program translated into C ++ &lt;BR /&gt;I personally use Vb Net&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-ta tw-text-small" dir="ltr" data-placeholder="Vertaling" data-fulltext=""&gt;&lt;SPAN&gt;But this program works very well, If i am not on BIM360&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.Diagnostics;&lt;BR /&gt;using System.Globalization;&lt;BR /&gt;using System.IO;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Reflection;&lt;BR /&gt;using System.Runtime.CompilerServices;&lt;BR /&gt;using System.Security;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Threading.Tasks;&lt;BR /&gt;using Microsoft.VisualBasic;&lt;BR /&gt;using Autodesk.Revit.ApplicationServices;&lt;BR /&gt;using Autodesk.Revit.Attributes;&lt;BR /&gt;using Autodesk.Revit.DB;&lt;BR /&gt;using Autodesk.Revit.UI;&lt;BR /&gt;using Autodesk.Revit.UI.Selection;&lt;/P&gt;
&lt;P&gt;namespace Modifie&lt;BR /&gt;{&lt;BR /&gt;[Transaction(TransactionMode.Manual)]&lt;BR /&gt;[Regeneration(RegenerationOption.Manual)]&lt;BR /&gt;public class Roosters_Isolate : IExternalCommand&lt;BR /&gt;{&lt;BR /&gt;private List&amp;lt;ElementId&amp;gt; RoosterListe = new List&amp;lt;ElementId&amp;gt;();&lt;BR /&gt;private List&amp;lt;string&amp;gt; RListAllSystem = new List&amp;lt;string&amp;gt;();&lt;BR /&gt;public Result Execute(ExternalCommandData commandData, ref string Message, ElementSet Elements)&lt;BR /&gt;{&lt;BR /&gt;UIApplication Uiapp = commandData.Application;&lt;BR /&gt;UIDocument Uidoc = Uiapp.ActiveUIDocument;&lt;BR /&gt;Application App = Uiapp.Application;&lt;BR /&gt;Document Doc = Uidoc.Document;&lt;BR /&gt;Selection Sel = Uidoc.Selection;&lt;BR /&gt;View MView = Doc.ActiveView;&lt;BR /&gt;// REM Isolate all Air terminal&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;// REM AirTerminal&lt;BR /&gt;ElementCategoryFilter RoosterFilter = new ElementCategoryFilter(BuiltInCategory.OST_DuctTerminal);&lt;BR /&gt;FilteredElementCollector RCollector = new FilteredElementCollector(Doc);&lt;BR /&gt;IList&amp;lt;Element&amp;gt; RoosterList = RCollector.WherePasses(RoosterFilter).WhereElementIsNotElementType().ToElements();&lt;BR /&gt;foreach (Element RoosterEl in RoosterList)&lt;BR /&gt;RoosterListe.Add(RoosterEl.Id);&lt;BR /&gt;// All System&lt;BR /&gt;FilteredElementCollector systems = new FilteredElementCollector(Doc).OfClass(typeof(MEPSystem));&lt;BR /&gt;foreach (MEPSystem system in systems)&lt;BR /&gt;RListAllSystem.Add(system.Name);&lt;BR /&gt;int ind = 0;&lt;BR /&gt;do&lt;BR /&gt;{&lt;BR /&gt;FilteredElementCollector FiltreColl = new FilteredElementCollector(Doc);&lt;BR /&gt;ParameterValueProvider ParamValProv = new ParameterValueProvider(new ElementId(BuiltInParameter.RBS_SYSTEM_NAME_PARAM));&lt;BR /&gt;FilterStringRuleEvaluator FSRE = new FilterStringEquals();&lt;BR /&gt;FilterRule FiltreRules = new FilterStringRule(ParamValProv, FSRE, RListAllSystem[ind].ToString(), true);&lt;BR /&gt;ElementParameterFilter ElemParamFilter = new ElementParameterFilter(FiltreRules);&lt;BR /&gt;FiltreColl = FiltreColl.WherePasses(ElemParamFilter);&lt;BR /&gt;foreach (Element ElementX in FiltreColl)&lt;BR /&gt;AllSystem_Isolate.ListAllSystemIsolate.Add(ElementX.Id);&lt;BR /&gt;ind = ind + 1;&lt;BR /&gt;}&lt;BR /&gt;while (!ind == RListAllSystem.Count);&lt;BR /&gt;// REM Hide all systeme&lt;BR /&gt;Transaction Trans = new Transaction(Doc);&lt;BR /&gt;Trans.Start("IsolateElementen");&lt;BR /&gt;MView.HideElements(AllSystem_Isolate.ListAllSystemIsolate);&lt;BR /&gt;Trans.Commit();&lt;BR /&gt;// REM UnHide only Air terminal&lt;BR /&gt;Transaction Transa = new Transaction(Doc);&lt;BR /&gt;Transa.Start("IsolateElementen");&lt;BR /&gt;MView.UnhideElements(RoosterListe);&lt;BR /&gt;Transa.Commit();&lt;BR /&gt;}&lt;BR /&gt;catch&lt;BR /&gt;{&lt;BR /&gt;TaskDialog.Show("ERROR ", "Zie Roosters_Isolate");&lt;BR /&gt;}&lt;BR /&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2019 13:29:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8758060#M42771</guid>
      <dc:creator>ahmed.errazak</dc:creator>
      <dc:date>2019-04-28T13:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: BIM360</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8771418#M42772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5731608"&gt;@ahmed.errazak&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My apology for the late response! I had a holiday these days. Thank you for providing the information and code. Please bear with me trying to understand further.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is a common plugin of Revit. It searches out specific model elements with filter. With my knowledge, it should work only within Revit desktop. While you said 'the code does not work with BIM 360 '.&amp;nbsp;BIM 360 has not yet supported any plugin within BIM 360.&amp;nbsp;&amp;nbsp;I would think what you meant is: open the BIM 360 file within Revit and run the code within Revit.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will do a test in such scenario and get back to you soon.&amp;nbsp; However If I misunderstood anything, please let me know.&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 02:07:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8771418#M42772</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2019-05-05T02:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: BIM360</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8771686#M42773</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5731608"&gt;@ahmed.errazak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so, I followed my understanding to setup the plugin project and test local Revit file and the file from BIM 360. Since you did not provide complete codes, I defined one variable for&amp;nbsp; &lt;STRONG&gt;AllSystem_Isolate.ListAllSystemIsolate.&amp;nbsp; &lt;/STRONG&gt;The test Revit file is sample &lt;A class="xref" href="http://www.autodesk.com/revit-rme-advanced-project-sample-2019-enu" target="_blank" rel="noopener"&gt;rme_advanced_sample_project.rvt&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks it works well with both local file and file of BIM 360. My test video is also attached.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://myshare.autodesk.com/:v:/g/personal/xiaodong_liang_autodesk_com/ETfCecaFAtdDu5oWbgx0URABrEiho3PbB4e0S6xrhtgAuQ?e=rtwqDe" target="_blank"&gt;https://myshare.autodesk.com/:v:/g/personal/xiaodong_liang_autodesk_com/ETfCecaFAtdDu5oWbgx0URABrEiho3PbB4e0S6xrhtgAuQ?e=rtwqDe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my test steps are different to yours, please also make a video on how you performed the test. It will help me to understand better on the steps.&lt;/P&gt;
&lt;P&gt;If my test steps are correct, but the problem happens with specific model, please isolate and share a demo Revit file (you can email me privately if this is a confidential file).My email is:&amp;nbsp; xiaodong.liang@autodesk.com&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2019 13:23:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8771686#M42773</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2019-05-05T13:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: BIM360</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8778715#M42774</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-ta tw-text-medium" dir="ltr" data-placeholder="Vertaling" data-fulltext=""&gt;&lt;SPAN&gt;Thank you
It finally works :smileyhappy:&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 May 2019 16:28:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bim360/m-p/8778715#M42774</guid>
      <dc:creator>ahmed.errazak</dc:creator>
      <dc:date>2019-05-08T16:28:56Z</dc:date>
    </item>
  </channel>
</rss>

