<?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: Python example scripts fail ?  in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/python-example-scripts-fail/m-p/534391#M7284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... nevermind folks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've figured out where I was going wrong, seems my python understanding was somewhat lacking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Nov 2019 05:59:39 GMT</pubDate>
    <dc:creator>AlanKlys</dc:creator>
    <dc:date>2019-11-27T05:59:39Z</dc:date>
    <item>
      <title>Python example scripts fail ?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/python-example-scripts-fail/m-p/534390#M7283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CE and python folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upfront disclaimer, I'm a python noob and seem to have forgotten most of the thing I tried and tested years ago with python &amp;amp; CE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone back to some posts and tutes, namely&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/42082"&gt;Overwriting attributs / using report results for further calculations&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as well as this old tutorial&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=e1d05298b8ee469fbe0f3256634a76a3" title="http://www.arcgis.com/home/item.html?id=e1d05298b8ee469fbe0f3256634a76a3"&gt;http://www.arcgis.com/home/item.html?id=e1d05298b8ee469fbe0f3256634a76a3&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the python scripts that I run come back with the same NameError:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;global name 'model' not defined&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the case of this script from tutorial 12 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/473832_CE_Script.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/473831_CE_Python_Error.jpg" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I'm wondering if it's actually something up with my setup or if I'm missing something fundamental ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could point me North I would greatly appreciate it as I'm lost as to why none of these work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/172220"&gt;Cheryl Lau&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 05:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/python-example-scripts-fail/m-p/534390#M7283</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2019-11-19T05:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Python example scripts fail ?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/python-example-scripts-fail/m-p/534391#M7284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... nevermind folks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've figured out where I was going wrong, seems my python understanding was somewhat lacking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 05:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/python-example-scripts-fail/m-p/534391#M7284</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2019-11-27T05:59:39Z</dc:date>
    </item>
  </channel>
</rss>

