<?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: Using print() function to log attributes and variables to console in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-print-function-to-log-attributes-and/m-p/110618#M1540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, print() works ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try this rule:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Lot --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; print(geometry.area)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:39:04 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2021-12-11T06:39:04Z</dc:date>
    <item>
      <title>Using print() function to log attributes and variables to console</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-print-function-to-log-attributes-and/m-p/110617#M1539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to debug my CGA rule file and it would come in handy to 'log' some values back to the console. How can I do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that it is not possible with the print() statement. I'm using Cityengine Advanced 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in forward&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 09:04:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/using-print-function-to-log-attributes-and/m-p/110617#M1539</guid>
      <dc:creator>VanjaDjurdjevic</dc:creator>
      <dc:date>2014-07-02T09:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using print() function to log attributes and variables to console</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-print-function-to-log-attributes-and/m-p/110618#M1540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, print() works ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try this rule:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Lot --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; print(geometry.area)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/using-print-function-to-log-attributes-and/m-p/110618#M1540</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-11T06:39:04Z</dc:date>
    </item>
  </channel>
</rss>

