<?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: Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253740#M7554</link>
    <description>&lt;P&gt;Using the following method :&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let renderer = AGSSimpleRenderer()
renderer.sceneProperties?.headingExpression = "[HEADING]"
graphicsOverlay.renderer = renderer
....
graphic.attributes["HEADING"] = heading&lt;/LI-CODE&gt;&lt;P&gt;Instead of just simply "symbol.heading = angle" fixed the problem.&lt;/P&gt;&lt;P&gt;This may need to me mentioned in the documentation.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 12:18:47 GMT</pubDate>
    <dc:creator>YoussefMAHERZI</dc:creator>
    <dc:date>2023-02-01T12:18:47Z</dc:date>
    <item>
      <title>Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253733#M7553</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When I create a&amp;nbsp;AGSModelSceneSymbol with a dae file and&amp;nbsp;symbolSizeUnits is set to .dips, the size of the object changes when I rotate the object (heading).&lt;/P&gt;&lt;P&gt;I assume you're trying to keep always the same &lt;U&gt;width&lt;/U&gt; of the object. But when the object isn't circular and I rotate the object it's normal that the width of the displayed object changes.&lt;/P&gt;&lt;P&gt;I attached a sample project of a symbol with a&amp;nbsp;marker. When I animate the heading, we clearly see that the object size is changing.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 11:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253733#M7553</guid>
      <dc:creator>YoussefMAHERZI</dc:creator>
      <dc:date>2023-02-01T11:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253740#M7554</link>
      <description>&lt;P&gt;Using the following method :&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let renderer = AGSSimpleRenderer()
renderer.sceneProperties?.headingExpression = "[HEADING]"
graphicsOverlay.renderer = renderer
....
graphic.attributes["HEADING"] = heading&lt;/LI-CODE&gt;&lt;P&gt;Instead of just simply "symbol.heading = angle" fixed the problem.&lt;/P&gt;&lt;P&gt;This may need to me mentioned in the documentation.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 12:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253740#M7554</guid>
      <dc:creator>YoussefMAHERZI</dc:creator>
      <dc:date>2023-02-01T12:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253982#M7555</link>
      <description>&lt;P&gt;Hi Youssef, thank you for reaching out! I've ran your sample and your proposed solution. I'll research to see if there's a simpler way and will keep you updated.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 18:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253982#M7555</guid>
      <dc:creator>DavidFeinzimer</dc:creator>
      <dc:date>2023-02-01T18:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253992#M7556</link>
      <description>&lt;P&gt;Thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 18:20:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1253992#M7556</guid>
      <dc:creator>YoussefMAHERZI</dc:creator>
      <dc:date>2023-02-01T18:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1254573#M7557</link>
      <description>&lt;P&gt;Hi Youssef. I've completed my research on your question and the solution you've suggested above is the best approach to take for this problem.&lt;/P&gt;&lt;P&gt;Since a 3D model may have an unwanted initial orientation, the symbol's heading, pitch, and roll properties are provided as a way to customize their &lt;EM&gt;initial&lt;/EM&gt; orientation. Using these properties to produce an animation is an expensive operation and can lead to unexpected results (take your issue reported here example).&lt;/P&gt;&lt;P&gt;Using the heading expression that you've found is &lt;STRONG&gt;the&lt;/STRONG&gt; recommended way to produce an animation. I've attached a modified version of your view controller, where I've implemented the recommended approach.&lt;/P&gt;&lt;P&gt;I'd also like to point you to our &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios" target="_blank" rel="noopener"&gt;Samples application&lt;/A&gt; that can be a good source of best practices. For this specific question, please refer to the &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Scenes/Animate%203D%20graphic/Animate3DGraphicViewController.swift" target="_blank" rel="noopener"&gt;Animate 3D Graphic&lt;/A&gt; sample.&lt;/P&gt;&lt;P&gt;I hope this information helps, please feel free to reply if you have any further questions!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 20:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1254573#M7557</guid>
      <dc:creator>DavidFeinzimer</dc:creator>
      <dc:date>2023-02-02T20:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Size is changing in AGSModelSceneSymbol with symbolSizeUnits set to .dips</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1254586#M7558</link>
      <description>&lt;P&gt;Yes indeed, I actually got the solution from that sample.&lt;/P&gt;&lt;P&gt;Thank you for your help and your research.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 20:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/size-is-changing-in-agsmodelscenesymbol-with/m-p/1254586#M7558</guid>
      <dc:creator>YoussefMAHERZI</dc:creator>
      <dc:date>2023-02-02T20:50:20Z</dc:date>
    </item>
  </channel>
</rss>

