<?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 Re: Hidding scans in PointCloudInstance in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357643#M56354</link>
    <description>&lt;P&gt;Jeremy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thx for answering me.&lt;/P&gt;&lt;P&gt;Yes, I can put on invisible the rcs from a rcp instance, have a look on the capture joined.&lt;/P&gt;&lt;P&gt;I can use GetScans() and return the list of all rcs drom my rcp instance.&lt;/P&gt;&lt;P&gt;With LookUp, no way to get the ids of all .rcs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the help says :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="section"&gt;&lt;EM&gt;Scans&lt;/EM&gt;&lt;P class="p"&gt;&lt;EM&gt;An .rcp file can contain multiple scans. The method PointCloudInstance.GetScans() returns a list of scan names which can be used to set visibility and fixed color overrides independently for each scan in the PointCloudInstance. PointCloudInstance.ContainsScan() indicates whether the given scan name is contained in the point cloud instance while PointCloudInstance.GetScanOrigin() will return the origin of the given scan in model coordinates.&lt;/EM&gt;&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;"&lt;STRONG&gt;PointCloudColorSettings &lt;/STRONG&gt;- Used to assign specific colors for certain color modes to a PointCloudInstance element, or one of its scans. Does not apply if the PointCloudColorMode is NoOverride or Normals. "&lt;/P&gt;&lt;P&gt;But how to access the rcs id ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 587px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/398088i19A21326BD6451D4/image-dimensions/587x233?v=v2" width="587" height="233" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 09:52:00 GMT</pubDate>
    <dc:creator>SONA-ARCHITECTURE</dc:creator>
    <dc:date>2017-09-06T09:52:00Z</dc:date>
    <item>
      <title>Hidding scans in PointCloudInstance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7342794#M56352</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PointCloudInstance can return the list of scans by using GetScans().&lt;/P&gt;&lt;P&gt;I'd like to put on invisible a specific scan of a pointcloudInstance in my 3DView.&lt;/P&gt;&lt;P&gt;The ReviAPIDOC says : "&lt;EM&gt;PointCloudOverrideSettings - Used to get or set the visibility, color mode, and PointCloudColorSettings for a PointCloudInstance or one of its scans."&lt;/EM&gt; I can't find how to do it.... Could you help me please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:36:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7342794#M56352</guid>
      <dc:creator>SONA-ARCHITECTURE</dc:creator>
      <dc:date>2017-08-31T16:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hidding scans in PointCloudInstance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357577#M56353</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear&amp;nbsp;Agence,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you achieve what you want manually through the user interface?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If so, please do so and then analyse the model using RevitLookup.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You should be able to determine what properties are modified and how.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If it cannot be achieved through the user interface, then it is probably not possible programmatically either.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just looking at the help documentation, I see a couple of useful classes, e.g.:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PointCloudColorSettings -- &lt;A href="http://www.revitapidocs.com/2017/ea2c868b-1091-846a-5142-55f7f27a8d08.htm" target="_blank"&gt;http://www.revitapidocs.com/2017/ea2c868b-1091-846a-5142-55f7f27a8d08.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For different color modes (PointCloudColorMode), the color settings mean different things:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;for single color, color1 means the display color&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;for other modes (intensity, elevation), color1 and color2 form a gradient from min to max&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;for no overrides and normals, color1 and color2 are not used&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PointCloudColorMode -- &lt;A href="http://www.revitapidocs.com/2017/12e4d06d-3d5f-53d6-7be9-97bed63ec47b.htm" target="_blank"&gt;http://www.revitapidocs.com/2017/12e4d06d-3d5f-53d6-7be9-97bed63ec47b.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Maybe, to make a scan invisible, you can set the colour mode to 'intensity' and set both min and max to zero.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As said, the best way to find out is to do it manually and analyse the resulting model properties using RevitLookup.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;P.S. Also answered The Building Coder comment:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/11/au-begins-and-point-cloud-overview.html#comment-3504323846" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/11/au-begins-and-point-cloud-overview.html#comment-3504323846&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 09:15:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357577#M56353</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-09-06T09:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hidding scans in PointCloudInstance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357643#M56354</link>
      <description>&lt;P&gt;Jeremy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thx for answering me.&lt;/P&gt;&lt;P&gt;Yes, I can put on invisible the rcs from a rcp instance, have a look on the capture joined.&lt;/P&gt;&lt;P&gt;I can use GetScans() and return the list of all rcs drom my rcp instance.&lt;/P&gt;&lt;P&gt;With LookUp, no way to get the ids of all .rcs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the help says :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="section"&gt;&lt;EM&gt;Scans&lt;/EM&gt;&lt;P class="p"&gt;&lt;EM&gt;An .rcp file can contain multiple scans. The method PointCloudInstance.GetScans() returns a list of scan names which can be used to set visibility and fixed color overrides independently for each scan in the PointCloudInstance. PointCloudInstance.ContainsScan() indicates whether the given scan name is contained in the point cloud instance while PointCloudInstance.GetScanOrigin() will return the origin of the given scan in model coordinates.&lt;/EM&gt;&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;"&lt;STRONG&gt;PointCloudColorSettings &lt;/STRONG&gt;- Used to assign specific colors for certain color modes to a PointCloudInstance element, or one of its scans. Does not apply if the PointCloudColorMode is NoOverride or Normals. "&lt;/P&gt;&lt;P&gt;But how to access the rcs id ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 587px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/398088i19A21326BD6451D4/image-dimensions/587x233?v=v2" width="587" height="233" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 09:52:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357643#M56354</guid>
      <dc:creator>SONA-ARCHITECTURE</dc:creator>
      <dc:date>2017-09-06T09:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hidding scans in PointCloudInstance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357801#M56355</link>
      <description>&lt;P&gt;Question: is the RCP instance one single Revit database element?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, are the RCS objects internal sub-objects. and not individual database elements?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, they have no individual element id, and the only way to access them is via the main RCP element...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll check with the development team for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 10:53:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7357801#M56355</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-09-06T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hidding scans in PointCloudInstance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7369983#M56356</link>
      <description>&lt;P&gt;Hi Jeremmy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for answering.&lt;/P&gt;&lt;P&gt;I'md done, it works!&lt;/P&gt;&lt;P&gt;&lt;A title="Here" href="https://www.linkedin.com/pulse/manage-point-cloud-visibility-revit-3d-view-sonas-api-pierre-navarra/" target="_blank"&gt;Here &lt;/A&gt;is the post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use :&lt;/P&gt;&lt;P&gt;PointCloudOverrideSettings ptc_overridesettings_invisible = new PointCloudOverrideSettings();&lt;/P&gt;&lt;P&gt;and also this code :&lt;/P&gt;&lt;P&gt;ptc_overrides.SetPointCloudScanOverrideSettings(pti.Id, ptc_overridesettings_invisible, scanname,doc);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWh7kP79FCT0%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWh7kP79FCT0&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWh7kP79FCT0%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Revit API : Override point cloud from section Box" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Many thx!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 13:26:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7369983#M56356</guid>
      <dc:creator>SONA-ARCHITECTURE</dc:creator>
      <dc:date>2017-09-11T13:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hidding scans in PointCloudInstance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7412607#M56357</link>
      <description>&lt;P&gt;Dear Pierre,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for sharing your solution!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I promoted this thread to a blog post for future reference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/09/download-from-revit-server-and-hide-a-point-cloud-scan.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2017/09/download-from-revit-server-and-hide-a-point-cloud-scan.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 09:14:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/hidding-scans-in-pointcloudinstance/m-p/7412607#M56357</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-09-27T09:14:20Z</dc:date>
    </item>
  </channel>
</rss>

