<?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: USD user created attribute doesn't get exported in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1283856#M10971</link>
    <description>&lt;P&gt;Thanks for your feedback - I'll have a look and get back to you asap.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 14:06:29 GMT</pubDate>
    <dc:creator>SimonHaegler</dc:creator>
    <dc:date>2023-04-28T14:06:29Z</dc:date>
    <item>
      <title>USD user created attribute doesn't get exported</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1283005#M10967</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having issue with USD export,&lt;/P&gt;&lt;P&gt;if there's user created attribute and connected to any MAP layer, USD still have those attr&lt;/P&gt;&lt;P&gt;but if any attributes, value has been set in CGA file and "not customized" (changing values manually)&lt;/P&gt;&lt;P&gt;attributes doesn't show up in USD files&lt;BR /&gt;&lt;BR /&gt;This is a big problem and limits USD workflow big time&lt;BR /&gt;&lt;BR /&gt;Could you guys please look into it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GunSikKim_0-1682535336332.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69199i0BDCB6EB22BF847A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GunSikKim_0-1682535336332.png" alt="GunSikKim_0-1682535336332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for example, all the attr connected to map gets pass along,&lt;BR /&gt;but all those default numbers set in CGA file, if I don't change it manually (so it's hard-coded),&lt;BR /&gt;USD doesn't attach those attributes&lt;BR /&gt;both str and int value&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 18:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1283005#M10967</guid>
      <dc:creator>GunSikKim</dc:creator>
      <dc:date>2023-04-26T18:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: USD user created attribute doesn't get exported</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1283856#M10971</link>
      <description>&lt;P&gt;Thanks for your feedback - I'll have a look and get back to you asap.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 14:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1283856#M10971</guid>
      <dc:creator>SimonHaegler</dc:creator>
      <dc:date>2023-04-28T14:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: USD user created attribute doesn't get exported</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1285071#M10976</link>
      <description>&lt;P&gt;The current behavior of not exporting default CGA attribute values is expected. In general, the concept of "default" value is not so clear, as you can see in below example where attr b = a + 5, i.e. is the default value for b = 8 or 6?&lt;/P&gt;&lt;P&gt;What is your use case for these rule attributes in USD?&lt;/P&gt;&lt;P&gt;An alternative might be for you to use the "report" statement which will be exported as USD attributes on the USD "component" nodes. This allows you to control the semantics of values independently:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SimonHaegler_0-1683102207076.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69727iECAFF8559FEA7EF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="SimonHaegler_0-1683102207076.png" alt="SimonHaegler_0-1683102207076.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The reported value will appear prefixed with the "CityEngine:Reports:" namespace on the "component" node:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SimonHaegler_1-1683102673981.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69728i98AE46BB76B842FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="SimonHaegler_1-1683102673981.png" alt="SimonHaegler_1-1683102673981.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another reason we only export non-default values of CGA rule attributes is motivated by use cases which need to replicate the input to the model generation, e.g. in Palladio (Houdini plugin). One would export the shapes (not the models) with the rule attribute values. In this use case, setting attributes to default values would be wrong as illustrated in the above example (b would be fixed to 8 and not generated as 6 if a is 3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 08:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/usd-user-created-attribute-doesn-t-get-exported/m-p/1285071#M10976</guid>
      <dc:creator>SimonHaegler</dc:creator>
      <dc:date>2023-05-08T08:02:43Z</dc:date>
    </item>
  </channel>
</rss>

