<?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: How to create different blocks based on field values? in ArcGIS for AutoCAD Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847704#M481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have heard of some customers using dynamic blocks, but it would have to independent (or post process) of the web feature layer block drawing capability that you point out uses a single block per feature layer.&amp;nbsp; &amp;nbsp;Using this as an opportunity to learn more.&amp;nbsp; If it could work anyway, how would you want ArcGIS for AutoCAD to help you with your blocks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2020 22:45:59 GMT</pubDate>
    <dc:creator>DonKuehne</dc:creator>
    <dc:date>2020-04-27T22:45:59Z</dc:date>
    <item>
      <title>How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847703#M480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are collecting as-built pipeline features using a GNSS system (EOS Arrow Gold) with ESRI Collector, and using the data to update our as-built drawings in Autodesk Civil 3D 2019.&amp;nbsp;&amp;nbsp;We have situations where we have one feature class that we would like to plot differently based on field values.&amp;nbsp; Example:&amp;nbsp; Feature class "valve" may have one symbol for "gate valve" and a different symbol for "butterfly valve".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a recommended approach to have two or more different blocks for one feature class?&amp;nbsp; From what I've found, blocks must be named exactly the same as the feature class and layer, and therefore have a one-to-one relationship.&amp;nbsp; I looked into the block tools in the ArcGIS for Autocad Bonus Tools&amp;nbsp;but they do not seem to apply here.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic blocks in Autocad may solve the problem.&amp;nbsp; Is there a different approach I should be considering?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Apr 2020 23:35:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847703#M480</guid>
      <dc:creator>Roberts_Craig</dc:creator>
      <dc:date>2020-04-25T23:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847704#M481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have heard of some customers using dynamic blocks, but it would have to independent (or post process) of the web feature layer block drawing capability that you point out uses a single block per feature layer.&amp;nbsp; &amp;nbsp;Using this as an opportunity to learn more.&amp;nbsp; If it could work anyway, how would you want ArcGIS for AutoCAD to help you with your blocks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 22:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847704#M481</guid>
      <dc:creator>DonKuehne</dc:creator>
      <dc:date>2020-04-27T22:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847705#M482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig, if your source feature class is defined with a unique value renderer or subtypes using a field like "Valve Type" before publishing, when you add that service in ArcGIS for AutoCAD, each type can have a different symbolic representation, but it will still be one feature class.&amp;nbsp; Each type can have a different unique block symbol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 23:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847705#M482</guid>
      <dc:creator>KarenHodge</dc:creator>
      <dc:date>2020-04-27T23:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847706#M483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Karen.&amp;nbsp; I'll share your response with our GIS developer to see if we can add a unique value renderer or subtypes to the service (I am more on the CAD side of this project).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still having trouble understanding how you can get unique blocks since the block, layer name, and feature class all require the same name.&amp;nbsp; If the block is named for the subtype, will that work?&amp;nbsp; Just to confirm, when you say each type can have a unique block symbol, do you mean &lt;EM&gt;A&lt;/EM&gt;&lt;EM&gt;utocad &lt;/EM&gt;blocks, correct? (as opposed to images of AGIS symbols such as with WMS)&amp;nbsp; I talked to our developer today and he did mention using dynamic blocks as a possible solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 23:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847706#M483</guid>
      <dc:creator>Roberts_Craig</dc:creator>
      <dc:date>2020-04-28T23:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847707#M484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...you've got it.&amp;nbsp; With subtypes, the features will be on unique layers.&amp;nbsp; If your feature class name is "Esri_Valves" and one of the subtypes is for Butterfly and the other for Gate, you'll end up with three unique AutoCAD layers, but only one feature class.&amp;nbsp; The name of the Autocad block definition needs to match the name of the associated AutoCAD layer.&amp;nbsp; When you synchronize or add the feature service, it will render the point features as block inserts in the AutoCAD drawing.&lt;BR /&gt;&lt;BR /&gt;I hope that's more clear &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, in the almost released version of ArcGIS for AutoCAD, the block names do not need to match the name.&amp;nbsp; You'll be able to assign any block to any feature service layer (or subtype).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 00:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847707#M484</guid>
      <dc:creator>KarenHodge</dc:creator>
      <dc:date>2020-04-29T00:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847708#M485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Karen.&amp;nbsp; That's very helpful.&amp;nbsp; We will give it a shot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 00:31:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847708#M485</guid>
      <dc:creator>Roberts_Craig</dc:creator>
      <dc:date>2020-04-29T00:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847709#M486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Don,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like you may have this in the next release, but since you asked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice to be able to select the point block field similar to selecting a label field in the Bonus Tools.&amp;nbsp; A default point block could be assigned for mismatches.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Point Block Idea for ArcGIS for Autocad" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/490287_AFA labeling idea.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may complicate linking the block attributes and feature fields.&amp;nbsp; Maybe a nested block?&amp;nbsp; (I'm just thinking out loud...)&amp;nbsp;&amp;nbsp;I'll try Karen's solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be looking forward to your next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 00:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847709#M486</guid>
      <dc:creator>Roberts_Craig</dc:creator>
      <dc:date>2020-04-29T00:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847710#M487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The block bonus tools for AFA370&amp;nbsp; do create different blocks by looking for a field called&amp;nbsp; BLOCKNAME.&amp;nbsp; &amp;nbsp;It may be a little while after the release of AFA400 before the bonus tools are updated.&amp;nbsp; In the meantime Karen's is the right answer.:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;H1 style="margin-left: .5in;"&gt;&lt;SPAN style="font-size: 12.0pt; color: windowtext;"&gt;AFA_BLOCKTOFIELD&lt;/SPAN&gt; &lt;SPAN style="color: windowtext; font-size: 11.0pt; "&gt;(found in "afa_blocktools.lsp")&lt;/SPAN&gt;&lt;/H1&gt;&lt;P style="margin-left: .5in;"&gt;This AutoLISP &lt;EM&gt;command&lt;/EM&gt; use the current ArcGIS for AutoCAD POINT feature class or feature service.&amp;nbsp; It will process each POINT feature that is also a block entity to determine if it has any block attributes.&amp;nbsp; It will check for ArcGIS field names: BLOCKNAME, ROTATION or ANGLE, XSCALE, YSCALE and ZSCALE and if found will populate those ArcGIS field values with the current AutoCAD entity property for those values.&amp;nbsp; &lt;EM&gt;See AFA_FIELDTOBLOCK to perform the reverse operation&lt;/EM&gt;.&amp;nbsp; &lt;EM&gt;Older version of this function also synchronized fields that matched tag names which is no longer necessary in ArcGIS for AutoCAD 365 since it now happens automatically.&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 22:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847710#M487</guid>
      <dc:creator>DonKuehne</dc:creator>
      <dc:date>2020-04-29T22:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create different blocks based on field values?</title>
      <link>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847711#M488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Don.&amp;nbsp; I was under the impression that AFA_BLOCKTOFIELD was for attribute&amp;lt;&amp;gt;field correlation only&amp;nbsp; This makes it clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 19:23:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-autocad-questions/how-to-create-different-blocks-based-on-field/m-p/847711#M488</guid>
      <dc:creator>Roberts_Craig</dc:creator>
      <dc:date>2020-04-30T19:23:07Z</dc:date>
    </item>
  </channel>
</rss>

