<?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: Change origin point of shape and translate it in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605745#M8116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can move the footprint by translating the geometry first using t() and then resizing the geometry afterwards.&amp;nbsp; When translating, you can use the apostrophe (ex: '1, '0.5) to move it a relative amount, or you can use scope.sx, scope.sy, scope.sz.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_t.html" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_t.html"&gt;t Operation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/attr_scope.html?resultof=%22%73%63%6f%70%65%2e%73%78%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/attr_scope.html?resultof=%22%73%63%6f%70%65%2e%73%78%22%20"&gt;scope Shape Attribute&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2018 15:36:08 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2018-04-25T15:36:08Z</dc:date>
    <item>
      <title>Change origin point of shape and translate it</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605744#M8115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding shape manipulation in CGA. I have used a rule that generates a footprint inside a parcel based on a coverage value (e.g.: a footprint inside an original parcel that occupies 50% of it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a print screen of it.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Coverage footprint" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/396817_poza.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the yellow shape is the footprint generated that occupies a certain percent of the initial geometry (the white parcel). The thing is that the footprint is placed at a certain origin (here is 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how can I move the footprint at other origins like 0, 2, or 3, and also to be able to translate the footprint a certain value from the specified sides?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have like a drop down list in which to choose one of the four origins that would move the footprint`s origin and four attributes that would move the footprins from the specified side &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with functions like setback but I cannot make the function recognize the four sides.&lt;/P&gt;&lt;P&gt;Also, to change the origin I`ve tried the function about scope and pivots but I do not think I have understood very well..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Ionut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2018 18:21:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605744#M8115</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2018-02-18T18:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change origin point of shape and translate it</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605745#M8116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can move the footprint by translating the geometry first using t() and then resizing the geometry afterwards.&amp;nbsp; When translating, you can use the apostrophe (ex: '1, '0.5) to move it a relative amount, or you can use scope.sx, scope.sy, scope.sz.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_t.html" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/op_t.html"&gt;t Operation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/attr_scope.html?resultof=%22%73%63%6f%70%65%2e%73%78%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/attr_scope.html?resultof=%22%73%63%6f%70%65%2e%73%78%22%20"&gt;scope Shape Attribute&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605745#M8116</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2018-04-25T15:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change origin point of shape and translate it</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605746#M8117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To make a drop down list from which the user can select a value, you can create an attribute and use the @Range annotation.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cga_annotations.html#range" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cga_annotations.html#range"&gt;Annotations&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 07:17:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/change-origin-point-of-shape-and-translate-it/m-p/605746#M8117</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2018-04-26T07:17:26Z</dc:date>
    </item>
  </channel>
</rss>

