<?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 Autocad .net check sub-entity visibility in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-net-check-sub-entity-visibility/m-p/12268704#M7158</link>
    <description>&lt;P&gt;We are working on some .Net c# scripts for drawing validation &amp;amp; checking, some of these scripts end up intentionally selecting sub-blocks of various blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parent blocks contain visibility states that are use to control the visibility of these subblocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my script is there any way I can determine if the subblocks are visible or not.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 01:25:44 GMT</pubDate>
    <dc:creator>hugh.powell</dc:creator>
    <dc:date>2023-09-27T01:25:44Z</dc:date>
    <item>
      <title>Autocad .net check sub-entity visibility</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-net-check-sub-entity-visibility/m-p/12268704#M7158</link>
      <description>&lt;P&gt;We are working on some .Net c# scripts for drawing validation &amp;amp; checking, some of these scripts end up intentionally selecting sub-blocks of various blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parent blocks contain visibility states that are use to control the visibility of these subblocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my script is there any way I can determine if the subblocks are visible or not.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 01:25:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-net-check-sub-entity-visibility/m-p/12268704#M7158</guid>
      <dc:creator>hugh.powell</dc:creator>
      <dc:date>2023-09-27T01:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Autocad .net check sub-entity visibility</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-net-check-sub-entity-visibility/m-p/12268726#M7159</link>
      <description>&lt;P&gt;As per standard, I looked for an hour or two couldn't find anything and then figured it out shortly after asking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anyone else with this problem, for the parent block you have to check if&amp;nbsp;AnonymousBlockTableRecord is not null, if its not null use it instead of the standard BlockTableRecord when looping over sub-entities, this allows you to then the check the .Visible property on the sub-entities.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 01:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-net-check-sub-entity-visibility/m-p/12268726#M7159</guid>
      <dc:creator>hugh.powell</dc:creator>
      <dc:date>2023-09-27T01:43:46Z</dc:date>
    </item>
  </channel>
</rss>

