<?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 Can the sun position azimuth and elevation be set with Python? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711225#M9349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Title says it all. &amp;nbsp; Thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit&lt;/P&gt;&lt;P&gt;Note I'm not trying to calculate these values I want to assign them to the city engine environment settings. Idea is to set up a script as below. &lt;BR /&gt; &lt;BR /&gt;assign sun position&lt;BR /&gt;set position by bookmark&lt;BR /&gt;snapshot&lt;BR /&gt;layer off.&lt;BR /&gt;layer on&lt;BR /&gt;snapshot&lt;BR /&gt;etc&lt;BR /&gt; &lt;BR /&gt;set position bookmark&lt;BR /&gt;etc&lt;BR /&gt; &lt;BR /&gt;Set new sun position&lt;BR /&gt;etc&lt;BR /&gt; &lt;BR /&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 08:43:27 GMT</pubDate>
    <dc:creator>BrianMcAuslan</dc:creator>
    <dc:date>2016-10-05T08:43:27Z</dc:date>
    <item>
      <title>Can the sun position azimuth and elevation be set with Python?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711225#M9349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Title says it all. &amp;nbsp; Thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit&lt;/P&gt;&lt;P&gt;Note I'm not trying to calculate these values I want to assign them to the city engine environment settings. Idea is to set up a script as below. &lt;BR /&gt; &lt;BR /&gt;assign sun position&lt;BR /&gt;set position by bookmark&lt;BR /&gt;snapshot&lt;BR /&gt;layer off.&lt;BR /&gt;layer on&lt;BR /&gt;snapshot&lt;BR /&gt;etc&lt;BR /&gt; &lt;BR /&gt;set position bookmark&lt;BR /&gt;etc&lt;BR /&gt; &lt;BR /&gt;Set new sun position&lt;BR /&gt;etc&lt;BR /&gt; &lt;BR /&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 08:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711225#M9349</guid>
      <dc:creator>BrianMcAuslan</dc:creator>
      <dc:date>2016-10-05T08:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can the sun position azimuth and elevation be set with Python?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711226#M9350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@nothing builtin but there are tons of libraries&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pysolar.readthedocs.io/en/latest/" title="https://pysolar.readthedocs.io/en/latest/"&gt;Pysolar: staring directly at the sun since 2007 — Pysolar 0.7 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pypi.python.org/pypi/sunpos" title="https://pypi.python.org/pypi/sunpos"&gt;sunpos 1.1 : Python Package Index&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pypi.python.org/pypi/astral/0.7.4" title="https://pypi.python.org/pypi/astral/0.7.4"&gt;astral 0.7.4 : Python Package Index&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could provide more, but I assume you have ruled out using externals&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711226#M9350</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-05T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can the sun position azimuth and elevation be set with Python?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711227#M9351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, thanks for your reply. &amp;nbsp;I'm not trying to calculate these values I want to assign them to the city engine environment settings. &amp;nbsp;Idea is to set up a script as below. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign sun position&lt;/P&gt;&lt;P&gt;set position by bookmark&lt;/P&gt;&lt;P&gt;snapshot&lt;/P&gt;&lt;P&gt;layer off.&lt;/P&gt;&lt;P&gt;layer on&lt;/P&gt;&lt;P&gt;snapshot&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set position bookmark&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set new sun position&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:38:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711227#M9351</guid>
      <dc:creator>BrianMcAuslan</dc:creator>
      <dc:date>2016-10-05T10:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can the sun position azimuth and elevation be set with Python?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711228#M9352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok... I don't know what CE has for python methods and functions or properties, but certainly not within arcmap and arcpy. &amp;nbsp;I hate to send you back to troll through the &lt;A href="http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/toc.html"&gt;help documentation &lt;/A&gt;but... The only mention of 'azimuth' was under 'light' for setting light source... but not direct mention of python&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711228#M9352</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-05T10:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can the sun position azimuth and elevation be set with Python?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711229#M9353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;Sorry to inform you, that the sun can't be set via python.&lt;/P&gt;&lt;P&gt;The CityEngine team is aware of this missing feature.&lt;/P&gt;&lt;P&gt;I've added your request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 14:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711229#M9353</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2016-10-05T14:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can the sun position azimuth and elevation be set with Python?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711230#M9354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 06:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/can-the-sun-position-azimuth-and-elevation-be-set/m-p/711230#M9354</guid>
      <dc:creator>BrianMcAuslan</dc:creator>
      <dc:date>2016-10-06T06:38:57Z</dc:date>
    </item>
  </channel>
</rss>

