<?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: 100.8: New MMPK Issue in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219483#M2621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can provide the mmpk file I would be interested to test it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 22:48:12 GMT</pubDate>
    <dc:creator>KimberlySaballett</dc:creator>
    <dc:date>2020-05-12T22:48:12Z</dc:date>
    <item>
      <title>100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219480#M2618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heads up, looks like 100.8 has introduced a new MMPK problem, centered around GetLegendInfosAsync.&amp;nbsp; As soon as I can isolate the problem and set up a working example, I'll get it off to tech support.&amp;nbsp; Has anyone else seen this yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Cannot call this method in this context: Object failed to load, unable to execute task."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only happening with a particular MMPK and not the others I work with, so I wouldn't be surprised if it's a symbology issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 15:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219480#M2618</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-12T15:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219481#M2619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the same mmpk with the same code work with the 100.7 release?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 22:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219481#M2619</guid>
      <dc:creator>KimberlySaballett</dc:creator>
      <dc:date>2020-05-12T22:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219482#M2620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp;works fine at 100.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 22:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219482#M2620</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-12T22:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219483#M2621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can provide the mmpk file I would be interested to test it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 22:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219483#M2621</guid>
      <dc:creator>KimberlySaballett</dc:creator>
      <dc:date>2020-05-12T22:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219484#M2622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's big, about 600M.&amp;nbsp; I've been busy with other issues today, but tomorrow I'll see if I can come up with a smaller, simpler example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 23:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219484#M2622</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-12T23:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219485#M2623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, I was able to trace the error to two empty annotation classes.&amp;nbsp; However, there's another empty annotation class, and also other annotation classes with no problems.&amp;nbsp; I created a small MMPK with just a few features, and a simple Visual Studio project that duplicates the problem.&amp;nbsp; Attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 18:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219485#M2623</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-13T18:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219486#M2624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to reproduce the issue with your annotation layers but not with my own empty annotation layers. I'm thinking the issue is originating somewhere in how the annotation layers were created. Do you know of any differences in how yours that are giving the error were created compared to how the one you have that works was created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did note that yours had a lyr.MinScale and lyr.MaxScale of "NaN" while mine were 0 and that yours has a red font symbology embedded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 23:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219486#M2624</guid>
      <dc:creator>KimberlySaballett</dc:creator>
      <dc:date>2020-05-13T23:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219487#M2625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been scratching my head about it;&amp;nbsp; I'm dealing with&amp;nbsp;bookoo&amp;nbsp;layers over multiple MMPKs, and all I did was set them up in manually Pro to match the original ArcMap MXDs, because direct imports in earlier versions of Pro led to other problems.&amp;nbsp; I do have an open tech support case now, &lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8; font-weight: 300;"&gt;#02555784&lt;/SPAN&gt;.&amp;nbsp; I can upload Pro projects, mapx files, data, whatever through FTP for that case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 14:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219487#M2625</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-14T14:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219488#M2626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We still have further investigation to do, but I wanted to give you an update with what we know so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem appears to be due to the presence of an instance of the color type `CIMHSLColor` where currently we expect `CIMRGBColor`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This information may allow you modify your map to choose an appropriate RGB color in ArcGIS Pro and repackage.&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/color.htm" title="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/color.htm"&gt;Color—ArcGIS Pro | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifically the layers containing symbols with this color type are the two annotation layers:&lt;/P&gt;&lt;P&gt;- OH Fiber Optic Anno&lt;/P&gt;&lt;P&gt;- UG Fiber Optic Anno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll update you with more information when available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 19:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219488#M2626</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-05-20T19:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219489#M2627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have verified that updating the annotation class symbols works around the problem.&amp;nbsp; It&amp;nbsp;requires a data model change, however.&amp;nbsp; Substituting a color without changing the data model doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 20:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219489#M2627</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-21T20:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219490#M2628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What changes were required to the data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 16:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219490#M2628</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-05-22T16:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219491#M2629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Annotation symbols are defined in the annotation classes.&amp;nbsp; Changing the symbol is not allowed, so new classes were created and the old ones removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 16:48:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219491#M2629</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2020-05-22T16:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: 100.8: New MMPK Issue</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219492#M2630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a workaround, using ArcObjects, that can be applied to the temporary file GDB as part of an automated workflow.&amp;nbsp; As far as I can tell,&amp;nbsp;it is currently impossible to do the same thing in ArcGIS Pro*, so this change must be applied before the annotation feature class is upgraded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; System&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Collections&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Generic&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; ESRI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Carto&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; ESRI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DataSourcesGDB&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; ESRI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Display&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; ESRI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;esriSystem&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; ESRI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Geodatabase&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;namespace&lt;/SPAN&gt; UpdateAnnoSym
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

	&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;static&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;AnnoHelper&lt;/SPAN&gt;
	&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

		&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;static&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;UpdateAnno&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sWorkspacePath&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;string&lt;/SPAN&gt; sAnnoClass&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
		&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

			&lt;SPAN class="comment token"&gt;// Open workspace and annotation class&lt;/SPAN&gt;
			&lt;SPAN class="comment token"&gt;// [Assumes a file GDB]&lt;/SPAN&gt;

			IWorkspaceFactory pWSF &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;FileGDBWorkspaceFactoryClass&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			IWorkspace pWS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWSF&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenFromFile&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sWorkspacePath&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			IFeatureWorkspace pFWS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pWS &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; IFeatureWorkspace&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			IFeatureClass pFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pFWS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenFeatureClass&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sAnnoClass&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

			&lt;SPAN class="comment token"&gt;// Get the class extension&lt;/SPAN&gt;

			&lt;SPAN class="keyword token"&gt;object&lt;/SPAN&gt; ext &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pFC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Extension&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			IAnnotationClassExtension pAnnoExt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ext &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; IAnnotationClassExtension&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

			&lt;SPAN class="comment token"&gt;// Get symbol collection and loop through symbols&lt;/SPAN&gt;

			&lt;SPAN class="keyword token"&gt;bool&lt;/SPAN&gt; bUpdated &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			ISymbolCollection pSC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pAnnoExt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SymbolCollection&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			Dictionary&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ISymbol&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; SymbolTab &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Dictionary&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ISymbol&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			pSC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Reset&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			&lt;SPAN class="keyword token"&gt;while&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
			&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

				&lt;SPAN class="comment token"&gt;// Check text symbol for HSL color definition&lt;/SPAN&gt;

				ISymbolIdentifier pSI &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pSC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Next&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pSI &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
					&lt;SPAN class="keyword token"&gt;break&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				ISymbol pSym &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pSI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbol&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				ITextSymbol pTextSym &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pSym &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ITextSymbol&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				IColor pCol &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTextSym&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Color&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pCol &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; IHlsColor pHSL&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
					&lt;SPAN class="keyword token"&gt;continue&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

				&lt;SPAN class="comment token"&gt;// Replace with RGB color&lt;/SPAN&gt;

				&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; iID &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pSI&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ID&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				IClone pClone &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pSym &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; IClone&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				pTextSym &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pClone&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Clone&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ITextSymbol&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; iRGB &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pHSL&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;RGB&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				IRgbColor pRGB &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;RgbColorClass&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; RGB &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; iRGB &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				pTextSym&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Color &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pRGB&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				SymbolTab&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;iID&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pTextSym &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ISymbol&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				bUpdated &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

			&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
			&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;bUpdated&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
				&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

			&lt;SPAN class="comment token"&gt;// Update annotation classes&lt;/SPAN&gt;

			IAnnotateLayerPropertiesCollection pAPC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pAnnoExt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AnnoProperties&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; iCount &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pAPC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Count&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; i &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; i &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; iCount&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; i&lt;SPAN class="operator token"&gt;++&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
			&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
				pAPC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;QueryItem&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;out&lt;/SPAN&gt; IAnnotateLayerProperties pAnnoProp&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;out&lt;/SPAN&gt; IElementCollection pPlaced&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;out&lt;/SPAN&gt; IElementCollection pUnplaced&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				ILabelEngineLayerProperties pLabelProp &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pAnnoProp &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ILabelEngineLayerProperties&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; iID &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pLabelProp&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SymbolID&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;SymbolTab&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ContainsKey&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;iID&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
					&lt;SPAN class="keyword token"&gt;continue&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				pLabelProp&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbol &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; SymbolTab&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;iID&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ITextSymbol&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

			&lt;SPAN class="comment token"&gt;// Update symbol collection&lt;/SPAN&gt;
			&lt;SPAN class="comment token"&gt;// [Not really necessary?]&lt;/SPAN&gt;

			ISymbolCollection2 pSC2 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pSC &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ISymbolCollection2&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			&lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; iID &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; SymbolTab&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Keys&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
				pSC2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Replace&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;iID&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SymbolTab&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;iID&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

			&lt;SPAN class="comment token"&gt;// Save changes&lt;/SPAN&gt;

			IAnnoClassAdmin3 pAdmin &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pAnnoExt &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; IAnnoClassAdmin3&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
			pAdmin&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;UpdateProperties&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

		&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

	&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;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&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Feel free to vote up this idea if you agree with it:&amp;nbsp;&lt;A href="https://community.esri.com/ideas/18534-geoprocessing-toolset-for-creating-and-manipulating-annotation-feature-classes" target="_blank"&gt;Geoprocessing Toolset for Creating and Manipulating Annotation Feature Classes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-8-new-mmpk-issue/m-p/219492#M2630</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2021-12-11T10:42:48Z</dc:date>
    </item>
  </channel>
</rss>

