<?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 ArcGIS Pro scene: arcpy.mp - can't get or set Camera Field Of View property in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144523#M63776</link>
    <description>&lt;P&gt;When using an ArcGIS Pro scene, it does not appear to be possible to get or set the Field Of View property using Python (arcpy.mp). The Camera properties do not include access to the FOV property:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/camera-class.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/camera-class.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to get or set the FOV property using Python?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 07:49:47 GMT</pubDate>
    <dc:creator>Tim_McGinnes</dc:creator>
    <dc:date>2022-02-16T07:49:47Z</dc:date>
    <item>
      <title>ArcGIS Pro scene: arcpy.mp - can't get or set Camera Field Of View property</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144523#M63776</link>
      <description>&lt;P&gt;When using an ArcGIS Pro scene, it does not appear to be possible to get or set the Field Of View property using Python (arcpy.mp). The Camera properties do not include access to the FOV property:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/camera-class.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/camera-class.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to get or set the FOV property using Python?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144523#M63776</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2022-02-16T07:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro scene: arcpy.mp - can't get or set Camera Field Of View property</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144572#M63779</link>
      <description>&lt;P&gt;Would the CIM be able to update what you’re looking for?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/arcpy/mapping/python-cim-access.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/2.8/arcpy/mapping/python-cim-access.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/cim-spec/blob/master/docs/v2/CIMMap.md" target="_self"&gt;https://github.com/Esri/cim-spec/blob/master/docs/v2/CIMMap.md&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 12:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144572#M63779</guid>
      <dc:creator>CodyScott</dc:creator>
      <dc:date>2022-02-16T12:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro scene: arcpy.mp - can't get or set Camera Field Of View property</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144977#M63794</link>
      <description>&lt;P&gt;Thanks for the tip&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/18268"&gt;@CodyScott&lt;/a&gt;. The only FOV setting in CIM Map was for animation keyframes, but I have found the relevant property in the CIMDocument part of the spec, under CIMMapView:&lt;/P&gt;&lt;P&gt;fieldOfView - double - The scene's field-of-view in degrees (value must be between 35 and 70). Only used when the scene is in Perspective draw mode.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/cim-spec/blob/17eb261ec5f189d78e67996f356204931fb543d2/docs/v2/CIMDocument.md" target="_blank" rel="noopener"&gt;https://github.com/Esri/cim-spec/blob/17eb261ec5f189d78e67996f356204931fb543d2/docs/v2/CIMDocument.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However I have not been able to access this property through arcpy, as both the ArcGISProject and MapView classes do not have a GetDefinition method. It looks like you can only access the CIM for Map, Layer, Table, and Layout through arcpy.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 23:11:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-scene-arcpy-mp-can-t-get-or-set-camera/m-p/1144977#M63794</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2022-02-16T23:11:11Z</dc:date>
    </item>
  </channel>
</rss>

