<?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 Features from City Engine are not centered at point location in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/features-from-city-engine-are-not-centered-at/m-p/1280267#M68138</link>
    <description>&lt;P&gt;Hi, I have been trying to move my CityEngine rule that generates the bottom&amp;nbsp; half of a sphere (inverted dome) to ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As the procedural fill/marker method only generated empty results, I ended up using the Geoprocessing tool Features from CityEngine.&lt;/P&gt;&lt;P&gt;This one is successfully loading my rule and applying it to a point layer I have with set attributes (CROWN, MAX_ROOT_D) and they are being successfully used as parameters to generate the dome.&lt;/P&gt;&lt;P&gt;The only problem I have is that in CityEngine I have set the code to be generated in the middle at the point location (using the translation command t). And in there, it works.&lt;/P&gt;&lt;P&gt;But once I run the rule in ArcGIS Pro it generates the object but it is shifted a little bit, it is mostly visible with the smaller domes.&lt;/P&gt;&lt;P&gt;I've been trying for ours to move the position in CityEngine and by trial an error positioning it in the middle, but when I manage to center a big dome, the smaller ones are shifted and vice versa.&lt;BR /&gt;&lt;BR /&gt;Any recommendations on what can I do to force the object to be centered to the point, no matter the size? I worked with a cylinder too and it doesn't show the same problem (it is centered by default&amp;nbsp; no matter the size).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;version "2021.1"&lt;/P&gt;&lt;P&gt;attr Min_Ht = -1&lt;BR /&gt;attr CROWN = 100&lt;BR /&gt;attr MAX_ROOT_D = 100&lt;/P&gt;&lt;P&gt;@StartRule&lt;BR /&gt;@InPoint&lt;BR /&gt;Dome --&amp;gt;&lt;BR /&gt;InsertDome&lt;/P&gt;&lt;P&gt;InsertDome --&amp;gt;&lt;BR /&gt;t(-CROWN/2, MAX_ROOT_D/2, -CROWN/2)&lt;BR /&gt;primitiveSphere&lt;BR /&gt;s(CROWN, -MAX_ROOT_D, CROWN)&lt;BR /&gt;split(y) {&lt;BR /&gt;~1: NIL&lt;BR /&gt;| ~1: comp(f) { bottom: Bottom | all= Facade } }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BottomPlane --&amp;gt;&lt;BR /&gt;color("#964B00")&lt;/P&gt;&lt;P&gt;Facade --&amp;gt;&lt;BR /&gt;color("#964B00")&lt;/P&gt;&lt;P&gt;Bottom --&amp;gt;&lt;BR /&gt;case Min_Ht &amp;lt; 0:&lt;BR /&gt;BottomPlane&lt;BR /&gt;else:&lt;BR /&gt;NIL&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-04-19 180900.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68420iBA9ED0E2A074BA43/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-04-19 180900.png" alt="Screenshot 2023-04-19 180900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 19 Apr 2023 16:15:12 GMT</pubDate>
    <dc:creator>Rodrigo</dc:creator>
    <dc:date>2023-04-19T16:15:12Z</dc:date>
    <item>
      <title>Features from City Engine are not centered at point location</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/features-from-city-engine-are-not-centered-at/m-p/1280267#M68138</link>
      <description>&lt;P&gt;Hi, I have been trying to move my CityEngine rule that generates the bottom&amp;nbsp; half of a sphere (inverted dome) to ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As the procedural fill/marker method only generated empty results, I ended up using the Geoprocessing tool Features from CityEngine.&lt;/P&gt;&lt;P&gt;This one is successfully loading my rule and applying it to a point layer I have with set attributes (CROWN, MAX_ROOT_D) and they are being successfully used as parameters to generate the dome.&lt;/P&gt;&lt;P&gt;The only problem I have is that in CityEngine I have set the code to be generated in the middle at the point location (using the translation command t). And in there, it works.&lt;/P&gt;&lt;P&gt;But once I run the rule in ArcGIS Pro it generates the object but it is shifted a little bit, it is mostly visible with the smaller domes.&lt;/P&gt;&lt;P&gt;I've been trying for ours to move the position in CityEngine and by trial an error positioning it in the middle, but when I manage to center a big dome, the smaller ones are shifted and vice versa.&lt;BR /&gt;&lt;BR /&gt;Any recommendations on what can I do to force the object to be centered to the point, no matter the size? I worked with a cylinder too and it doesn't show the same problem (it is centered by default&amp;nbsp; no matter the size).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;version "2021.1"&lt;/P&gt;&lt;P&gt;attr Min_Ht = -1&lt;BR /&gt;attr CROWN = 100&lt;BR /&gt;attr MAX_ROOT_D = 100&lt;/P&gt;&lt;P&gt;@StartRule&lt;BR /&gt;@InPoint&lt;BR /&gt;Dome --&amp;gt;&lt;BR /&gt;InsertDome&lt;/P&gt;&lt;P&gt;InsertDome --&amp;gt;&lt;BR /&gt;t(-CROWN/2, MAX_ROOT_D/2, -CROWN/2)&lt;BR /&gt;primitiveSphere&lt;BR /&gt;s(CROWN, -MAX_ROOT_D, CROWN)&lt;BR /&gt;split(y) {&lt;BR /&gt;~1: NIL&lt;BR /&gt;| ~1: comp(f) { bottom: Bottom | all= Facade } }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BottomPlane --&amp;gt;&lt;BR /&gt;color("#964B00")&lt;/P&gt;&lt;P&gt;Facade --&amp;gt;&lt;BR /&gt;color("#964B00")&lt;/P&gt;&lt;P&gt;Bottom --&amp;gt;&lt;BR /&gt;case Min_Ht &amp;lt; 0:&lt;BR /&gt;BottomPlane&lt;BR /&gt;else:&lt;BR /&gt;NIL&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-04-19 180900.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68420iBA9ED0E2A074BA43/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-04-19 180900.png" alt="Screenshot 2023-04-19 180900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 19 Apr 2023 16:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/features-from-city-engine-are-not-centered-at/m-p/1280267#M68138</guid>
      <dc:creator>Rodrigo</dc:creator>
      <dc:date>2023-04-19T16:15:12Z</dc:date>
    </item>
  </channel>
</rss>

