<?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 Formatting outputs of Report function in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256291#M3385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to format the output of the Report function? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I have a formula (within a CGA rule) that calculates the average cost of a building based on price per square foot. The problem is that there is no currency or comma symbol to make something more easily readable like making "123145341" into "$123,145,341". This becomes particularly noticeable when exporting to a web scene for sharing with other people.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how to make this adjustment? Even something like "123-145-341" would be an improvement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 14:23:50 GMT</pubDate>
    <dc:creator>NathanBrigmon</dc:creator>
    <dc:date>2014-02-19T14:23:50Z</dc:date>
    <item>
      <title>Formatting outputs of Report function</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256291#M3385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to format the output of the Report function? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I have a formula (within a CGA rule) that calculates the average cost of a building based on price per square foot. The problem is that there is no currency or comma symbol to make something more easily readable like making "123145341" into "$123,145,341". This becomes particularly noticeable when exporting to a web scene for sharing with other people.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how to make this adjustment? Even something like "123-145-341" would be an improvement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 14:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256291#M3385</guid>
      <dc:creator>NathanBrigmon</dc:creator>
      <dc:date>2014-02-19T14:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting outputs of Report function</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256292#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;Is it possible to format the output of the Report function? &lt;BR /&gt;&lt;BR /&gt;For example, I have a formula (within a CGA rule) that calculates the average cost of a building based on price per square foot. The problem is that there is no currency or comma symbol to make something more easily readable like making "123145341" into "$123,145,341". This becomes particularly noticeable when exporting to a web scene for sharing with other people.&lt;BR /&gt;&lt;BR /&gt;Any ideas on how to make this adjustment? Even something like "123-145-341" would be an improvement.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Nathan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't seemingly display Report result outputs as text (it's only really for numbers and calculations).&amp;nbsp;&amp;nbsp; You could give each report output a heading title equal to the value but it would be very messy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have thought your best bet is to use python to take the raw number in the report, format it and make it an object attribute.&amp;nbsp; The resulting object attribute would then appear in the webscene if you exported it.&amp;nbsp;&amp;nbsp; I suggest you explore the ce.setAttribute() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might start at this thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/91919-Report-gt-Object-Attribute"&gt;http://forums.arcgis.com/threads/91919-Report-gt-Object-Attribute&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Elliot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 15:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256292#M3386</guid>
      <dc:creator>ElliotHartley</dc:creator>
      <dc:date>2014-02-19T15:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting outputs of Report function</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256293#M3387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can't seemingly display Report result outputs as text (it's only really for numbers and calculations).&amp;nbsp;&amp;nbsp; You could give each report output a heading title equal to the value but it would be very messy.&lt;BR /&gt;&lt;BR /&gt;I would have thought your best bet is to use python to take the raw number in the report, format it and make it an object attribute.&amp;nbsp; The resulting object attribute would then appear in the webscene if you exported it.&amp;nbsp;&amp;nbsp; I suggest you explore the ce.setAttribute() function.&lt;BR /&gt;&lt;BR /&gt;You might start at this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/91919-Report-gt-Object-Attribute"&gt;http://forums.arcgis.com/threads/91919-Report-gt-Object-Attribute&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps...&lt;BR /&gt;&lt;BR /&gt;Elliot&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Elliot. I'll give that a try and see what happens.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 00:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/formatting-outputs-of-report-function/m-p/256293#M3387</guid>
      <dc:creator>NathanBrigmon</dc:creator>
      <dc:date>2014-02-20T00:52:13Z</dc:date>
    </item>
  </channel>
</rss>

