<?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: Turning off definition query for multiple CAD files in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637861#M97707</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/890044"&gt;@HBrowning&lt;/a&gt;&amp;nbsp;Flip the definition queries around to only include the off &amp;amp; frozen layers. Manually for a handful or make a model to apply a new def query and import.&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;so that we actually receive files&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;with&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;standards" = has to be in the contract and the data supply chain incl commercial &amp;amp; project managers &lt;U&gt;have to be on board&lt;/U&gt;. Not just the 'we'll make sure' to keep the drafty happy, but giving you authority to raise a non-compliance if the data you receive is not to spec.&amp;nbsp;&lt;BR /&gt;Also make sure IP clauses are in your favour. None of that 'we own it and give you a license' blah blah.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jul 2025 01:04:51 GMT</pubDate>
    <dc:creator>RTPL_AU</dc:creator>
    <dc:date>2025-07-31T01:04:51Z</dc:date>
    <item>
      <title>Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1636616#M97569</link>
      <description>&lt;P&gt;I have been working with a lot of CAD data, and have noticed that all of the CAD files I've ever worked with come in to Pro with "LyrOn = 1 And LyrFrzn &amp;lt;&amp;gt; 1" as an applied definition query. This query is applied to every sub-layer in the CAD (Point, Polyline, Polygon, and MultiPatch). I am finding it extremely tedious to turn off the queries for every sub-layer in every CAD file I bring in.&lt;BR /&gt;&lt;BR /&gt;Does anyone know of a way to either:&lt;BR /&gt;&lt;BR /&gt;1.) Change Pro's settings so that CAD files come in with no definition query, OR&lt;/P&gt;&lt;P&gt;2.) Turn off the definition queries for multiple CAD files at once?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 23:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1636616#M97569</guid>
      <dc:creator>HBrowning</dc:creator>
      <dc:date>2025-07-25T23:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1636622#M97571</link>
      <description>&lt;P&gt;does&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/cad-to-geodatabase.htm" target="_blank"&gt;CAD To Geodatabase (Conversion)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;do the same thing?&lt;/P&gt;&lt;P&gt;unless you have a need to keep the cad format within Pro&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 23:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1636622#M97571</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-07-25T23:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1636623#M97572</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/890044"&gt;@HBrowning&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The alternative is to get the CAD team to not include data in a file if it shouldn't be used. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Or you can just wish for a dragon.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 23:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1636623#M97572</guid>
      <dc:creator>RTPL_AU</dc:creator>
      <dc:date>2025-07-25T23:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637140#M97633</link>
      <description>&lt;P&gt;I am working with legacy drawings. I am also inclined to believe this is a setting in Pro because all of the various projects of different vintages and from different contractors all come in with this same definition query. I don't necessarily agree with what the mystery contractor from another time period thought should be hidden.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 22:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637140#M97633</guid>
      <dc:creator>HBrowning</dc:creator>
      <dc:date>2025-07-28T22:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637141#M97634</link>
      <description>&lt;P&gt;Hi Dan, great suggestion. I do use that function a lot so had noticed there were no definition queries applied once converted to a feature class. Unfortunately, yes, for my purposes seeing it in CAD would be preferable.&lt;BR /&gt;&lt;BR /&gt;I am hoping that someone out there will be able to answer my question in a more direct sense. It's quite an annoying little problem but maybe has no solution. In the meantime I realized I could just script something out, and so this will get me by:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

original_path = 'original_path'
new_path = 'new_path'

aprx = arcpy.mp.ArcGISProject(original_path)
map = aprx.listMaps()[0]  # I only had the one map

lyr_list = map.listLayers()
for lyr in lyr_list:
    # I only wanted to see all points and lines
    if 'Polyline' in lyr.name or 'Point' in lyr.name:
        lyr.definitionQuery = None

aprx.saveACopy(new_path)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 22:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637141#M97634</guid>
      <dc:creator>HBrowning</dc:creator>
      <dc:date>2025-07-28T22:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637495#M97667</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/890044"&gt;@HBrowning&lt;/a&gt;&amp;nbsp;From experience I'd import the CAD data as supplied with the layers shown/enabled by the def query into your main work area. Then import the disabled layers separately into a scratch or access controlled area.&amp;nbsp;&lt;BR /&gt;I have seem it too many times where tuned off layers have old designs, temporary guidelines or construction lines, and even the original site design at another project site from a previous client the contractor worked at.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If 'regular users'&amp;nbsp; get hold of this data prior to it getting vetted and cleaned, or if it inadvertently shows up in a web map a project manager has access to, it can cause great confusion or other issues no-one has time to deal with.&lt;BR /&gt;The few minutes of extra work splitting the import makes life so much simpler.&lt;/P&gt;&lt;P&gt;That all said - if I know where the CAD data comes from and trust the source, having filters in place has no use.&amp;nbsp;&lt;BR /&gt;Maybe lodge an Idea to make this a selectable setting in Options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 00:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637495#M97667</guid>
      <dc:creator>RTPL_AU</dc:creator>
      <dc:date>2025-07-30T00:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637765#M97693</link>
      <description>&lt;P&gt;Do you have a suggested method for how to import only the disabled layers into ArcGIS Pro? Apart from using the script that I posted above?&lt;BR /&gt;&lt;BR /&gt;Regarding the other advice - thank you - luckily in my case what you have described does not apply. This is a research project to figure out how to stand up a new data system and build new CAD data standards so that we actually receive files &lt;STRONG&gt;with&lt;/STRONG&gt; standards and they can interop with ArcGIS. No one but myself and the CAD lead are working with these modified files. I don't think my question really relates to needing to describe more of my particular use case as it is very specific.&lt;BR /&gt;&lt;BR /&gt;I will probably lodge an Idea as you mentioned - good suggestion, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 19:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637765#M97693</guid>
      <dc:creator>HBrowning</dc:creator>
      <dc:date>2025-07-30T19:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off definition query for multiple CAD files</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637861#M97707</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/890044"&gt;@HBrowning&lt;/a&gt;&amp;nbsp;Flip the definition queries around to only include the off &amp;amp; frozen layers. Manually for a handful or make a model to apply a new def query and import.&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;so that we actually receive files&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;with&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;standards" = has to be in the contract and the data supply chain incl commercial &amp;amp; project managers &lt;U&gt;have to be on board&lt;/U&gt;. Not just the 'we'll make sure' to keep the drafty happy, but giving you authority to raise a non-compliance if the data you receive is not to spec.&amp;nbsp;&lt;BR /&gt;Also make sure IP clauses are in your favour. None of that 'we own it and give you a license' blah blah.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 01:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/turning-off-definition-query-for-multiple-cad/m-p/1637861#M97707</guid>
      <dc:creator>RTPL_AU</dc:creator>
      <dc:date>2025-07-31T01:04:51Z</dc:date>
    </item>
  </channel>
</rss>

