<?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 please teach me that how to hide selected components. in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/please-teach-me-that-how-to-hide-selected-components/m-p/658867#M10257</link>
    <description>&lt;P&gt;In ArchiCAD 27, right-clicking allows you to "hide selected components," but how can I achieve the same thing using the ArchiCAD 27 C++ API?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2025 23:47:53 GMT</pubDate>
    <dc:creator>nishida_jp</dc:creator>
    <dc:date>2025-04-09T23:47:53Z</dc:date>
    <item>
      <title>please teach me that how to hide selected components.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/please-teach-me-that-how-to-hide-selected-components/m-p/658867#M10257</link>
      <description>&lt;P&gt;In ArchiCAD 27, right-clicking allows you to "hide selected components," but how can I achieve the same thing using the ArchiCAD 27 C++ API?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 23:47:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/please-teach-me-that-how-to-hide-selected-components/m-p/658867#M10257</guid>
      <dc:creator>nishida_jp</dc:creator>
      <dc:date>2025-04-09T23:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: please teach me that how to hide selected components.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/please-teach-me-that-how-to-hide-selected-components/m-p/658997#M10260</link>
      <description>&lt;P&gt;An element is hidden by hiding the layer it's on:&lt;/P&gt;
&lt;P&gt;- Retrieve the element's layer (&lt;EM&gt;API_LayerType&lt;/EM&gt;)&amp;nbsp;using&amp;nbsp;&lt;EM&gt;ACAPI_Attribute_Get&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;- Layer visibility is a flag set in&amp;nbsp;&lt;EM&gt;API_LayerType::head.flags&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;- Toggle off the flag&amp;nbsp;&lt;EM&gt;APILay_Hidden&lt;/EM&gt; to hide the layer&lt;/P&gt;
&lt;P&gt;- Write the change back with&amp;nbsp;&lt;EM&gt;ACAPI_Attribute_Modify&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For an example, look at the example project "Attribute_Test" (in the API Examples), specifically the function&amp;nbsp;&lt;EM&gt;Do_HideLayerOfLines&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 20:13:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/please-teach-me-that-how-to-hide-selected-components/m-p/658997#M10260</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-04-10T20:13:19Z</dc:date>
    </item>
  </channel>
</rss>

