<?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 How to assign elevations in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148828#M1947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have another question for you afterall. I have brought in a layer of all of the building floors, it contains information about the elevation of the floor of the floor and also has the height of the floor. This is very important because our buildings have irregular interstitials that have been requested to be modled true to form. I was able to create a rule to extrude each floor by the height attribute. Im stuck on trying to determine how to assign the elevations in the attributes as the "heightmap", the elevation that floor should sit on. I want this to be independant of my terrain so I assume that it has to be added to the rule. I found some information online stating that there was a way to do this but the token settings.setHeightmap say that it is undefined. Very confused: below is an example of where Im currently at: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#This attribute should be "sourced" to the object attribute&lt;/P&gt;&lt;P&gt;attr Height = 0&lt;/P&gt;&lt;P&gt;attr Elevation = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@StartRule&lt;/P&gt;&lt;P&gt;Lot --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude (Height)&lt;/P&gt;&lt;P&gt;&amp;nbsp; volume. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the example I atempted to use but I guess I dont understand it: &lt;/P&gt;&lt;P&gt;&lt;A name="CE-alignShapes" style="text-decoration: underline; font-style: normal;"&gt;&lt;/A&gt;&lt;STRONG&gt;alignShapes&lt;/STRONG&gt;(self, shapes, settings&lt;SPAN style="color: #909090;"&gt;=None&lt;/SPAN&gt;)&lt;TT&gt;Aligns a set of shapes.&lt;BR /&gt; &lt;BR /&gt;@param shapes: The set of shapes to align. &lt;BR /&gt;@param settings: The align settings. Omit to use default settings. (default&amp;nbsp; = None).&lt;BR /&gt; &lt;BR /&gt;@note: # align shapes of layer 'Lots' to layer 'Heightmap'&lt;BR /&gt;lotLayer = ce.&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-getObjectsFrom" style="color: #007c00; text-decoration: underline;"&gt;getObjectsFrom&lt;/A&gt;(ce.scene, ce.isLayer, ce.&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-withName" style="color: #007c00; text-decoration: underline;"&gt;withName&lt;/A&gt;("'Lots'"))&lt;BR /&gt;settings = AlignShapesSettings()&lt;BR /&gt;settings.setHeightmap('Heightmap')&lt;BR /&gt;settings.setAlignFunction(AlignShapesSettings.TRANSLATE_TO_MIN)&lt;BR /&gt;ce.&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-alignShapes" style="color: #007c00; text-decoration: underline;"&gt;alignShapes&lt;/A&gt;(lotLayer, settings)&lt;/TT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 14:15:47 GMT</pubDate>
    <dc:creator>JacquelineAlessi</dc:creator>
    <dc:date>2015-07-01T14:15:47Z</dc:date>
    <item>
      <title>How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148828#M1947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have another question for you afterall. I have brought in a layer of all of the building floors, it contains information about the elevation of the floor of the floor and also has the height of the floor. This is very important because our buildings have irregular interstitials that have been requested to be modled true to form. I was able to create a rule to extrude each floor by the height attribute. Im stuck on trying to determine how to assign the elevations in the attributes as the "heightmap", the elevation that floor should sit on. I want this to be independant of my terrain so I assume that it has to be added to the rule. I found some information online stating that there was a way to do this but the token settings.setHeightmap say that it is undefined. Very confused: below is an example of where Im currently at: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#This attribute should be "sourced" to the object attribute&lt;/P&gt;&lt;P&gt;attr Height = 0&lt;/P&gt;&lt;P&gt;attr Elevation = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@StartRule&lt;/P&gt;&lt;P&gt;Lot --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude (Height)&lt;/P&gt;&lt;P&gt;&amp;nbsp; volume. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the example I atempted to use but I guess I dont understand it: &lt;/P&gt;&lt;P&gt;&lt;A name="CE-alignShapes" style="text-decoration: underline; font-style: normal;"&gt;&lt;/A&gt;&lt;STRONG&gt;alignShapes&lt;/STRONG&gt;(self, shapes, settings&lt;SPAN style="color: #909090;"&gt;=None&lt;/SPAN&gt;)&lt;TT&gt;Aligns a set of shapes.&lt;BR /&gt; &lt;BR /&gt;@param shapes: The set of shapes to align. &lt;BR /&gt;@param settings: The align settings. Omit to use default settings. (default&amp;nbsp; = None).&lt;BR /&gt; &lt;BR /&gt;@note: # align shapes of layer 'Lots' to layer 'Heightmap'&lt;BR /&gt;lotLayer = ce.&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-getObjectsFrom" style="color: #007c00; text-decoration: underline;"&gt;getObjectsFrom&lt;/A&gt;(ce.scene, ce.isLayer, ce.&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-withName" style="color: #007c00; text-decoration: underline;"&gt;withName&lt;/A&gt;("'Lots'"))&lt;BR /&gt;settings = AlignShapesSettings()&lt;BR /&gt;settings.setHeightmap('Heightmap')&lt;BR /&gt;settings.setAlignFunction(AlignShapesSettings.TRANSLATE_TO_MIN)&lt;BR /&gt;ce.&lt;A href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-alignShapes" style="color: #007c00; text-decoration: underline;"&gt;alignShapes&lt;/A&gt;(lotLayer, settings)&lt;/TT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 14:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148828#M1947</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-01T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148829#M1948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacqueline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you bring the shape layer in,&amp;nbsp; which are all individual floors of a building (or buildings?) are the shapes flat at zero elevation? And you say they have a Height and Elevation object attribute, and regardless of the terrain you want the floor at that elevation? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 14:49:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148829#M1948</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-01T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148830#M1949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is correct. I want the base of each floor to sit at the elevation specified in the Elevation attribute field. From there I will extrude them based on the Height attribute field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 14:59:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148830#M1949</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-01T14:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148831#M1950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The rule below will do it. To explain further what you are showing in you original post, the rule at the top is almost there. It just needs a t(x,y,z) which translates (moves) the model &lt;EM&gt;relative&lt;/EM&gt; to its current position. There is an absolute translation, but you only want the y to be absolute, not x and z. Also, if your shapes are not coming in at elevation zero, then see the comments in the rule below, for instructions on moving them down. The code you have at the end of your post is python, which is not needed since the AlignShapesToTerrain command is available in the Shapes menu, and on the toolbar. Python can be used to work with many shapes, while CGA runs on one shape at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;version "2015.1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# First, select all shapes and align them to y=0,&lt;/P&gt;&lt;P&gt;# using Shapes &amp;gt; AlignShapesToTerrain &amp;gt; Project All, y=0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attr Height = 0&lt;/P&gt;&lt;P&gt;attr Elevation = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@StartRule&lt;/P&gt;&lt;P&gt;BuildingFloorShape --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; # Move shape to elevation, relative to the current zero elevation.&lt;/P&gt;&lt;P&gt;&amp;nbsp; t(0,Elevation,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; # Extrude shape to make floor volume.&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude(Height)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 15:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148831#M1950</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-01T15:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148832#M1951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok that worked in regards to the extrusion but the foot print is still showing at y=0 along with a shadow. How do I remove the footprint from y=0 plain? I added a screen shot of what Im talking about.&amp;nbsp; I drew a pink box around one of the most obvious chunk of buildings. &lt;IMG alt="Untitled.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/114859_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148832#M1951</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-01T19:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148833#M1952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another screen shot where I put in yellow the portion that I dont want to see. Can I define that in the rule as to not be shown? &lt;IMG alt="Untitled.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/114863_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148833#M1952</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-01T19:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148834#M1953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacqueline,&lt;/P&gt;&lt;P&gt;These are settings you can change in the viewport toolbar. No rules involved. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; See image below for two buttons which will turn off the shapes and the shadows. The shadow control is in the gear shaped icon.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;IMG alt="buttons.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/114867_buttons.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 20:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148834#M1953</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-01T20:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148835#M1954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know how to turn the shadows off. I dont mind the shadows. Still confused about what you are saying in regards to the shapes. If I turn off the shapes in the scene window it turns off all of the shapes not just the remnants that remained at y=0. Im going to add the screen shot again wit the shadows turned off incase they are confusing you. In the picture the two ittems that you are seeing are BOTH the same shape. I cannot turn one off independantly of the other use the check box. The items in yellow are where the buildings appear prior to having the rule applied (at y=0). Once the rule is applied the items that are not in the yellow box are generated. I want to not see the items in yellow. Again turing off the shapes in the scene window doesnt work because these are the same shape. I tested using the selection tool aswell if I select one the other is automatically selected and the Scene window also only shows one item selected. &lt;/P&gt;&lt;P&gt;Does that make more sense?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/114864_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 20:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148835#M1954</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-01T20:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148836#M1955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are making total sense. If I am understanding you correctly, the shapes in the yellow box are the imported shapes that you applied the rule to, and the extruded buildings that are above the yellow box are the models generated from those shapes. And yes, if you turn off their layer in the scene window, then both the shapes and their generated models will not be visible. And if you select either the shape or the model, both will be selected. You cannot turn off the original shapes from within the rule. If you want to see the models, but not the shapes, your only option is to toggle off all of the shapes using the button indicated in the image below, and you must leave the models on (4th toggle from left).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="buttons2.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/114868_buttons2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This will turn off all shapes. Please let me know if I'm confused about this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 20:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148836#M1955</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-01T20:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148837#M1956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I guess I was the one that was confused that makes more sense! Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 12:26:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148837#M1956</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-02T12:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148838#M1957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have another question for you. So all above worked but I was in a sandbox scene. I brought the data into the scene that I want it to reside in and the buildings are floating above the surface of the terrain. I double checked the values for known areas and the pixels in the terrain match floor elevations within a 1/4 foot (3 inches). They are about 20-30 feet off in the scene. I know that value because I found a building with two underground levels each ~ 10 feet in height with the lowest sitting extremely close to the terrain. Any thoughts on what the issue here could be? Or how to resolve it? I also checked all the projections in ArcMap XYZ and they are identical. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:29:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148838#M1957</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-02T14:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148839#M1958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CGA rules always output meters regardless of scene units, so if your input is in feet, then use this to convert the feet input in your rules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 foot = 0.3048meters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so put your feet through this conversion, and use those meter values within your rule...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;convertFeetToMeters(feet) = feet *&amp;nbsp; 0.3048&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148839#M1958</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-02T14:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148840#M1959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was actually just about to tell you to disregard that. The group that I get the floor data from specified that they enabled the ZCoordSytem when they hadnt. I posted to quick reprojecting solved the issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148840#M1959</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-02T14:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148841#M1960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris can I ask you another question about syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im trying to use the same elevation data listed above to create a rule to color the floors by elevation. I only want to use 20 shades and already calculated the correct values for each standard deviation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue that I am having is with the proper syntax to combine simple float comparison operators. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Works perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@StartRule&lt;/P&gt;&lt;P&gt;BuildingByElevation --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; t(0,((Elevation)/3.28084),0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; extrude ((Height)/3.28084)&lt;/P&gt;&lt;P&gt;&amp;nbsp; comp (f) {all:AllComponents}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AllComponents --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; case Elevation &amp;gt;950 : color (0,230,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; else: PrintInfo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I specify, for example, Elevation &amp;gt;=950 and &amp;lt;=1000?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the methods that I can think of and am at a loss. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 18:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148841#M1960</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-06T18:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148842#M1961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;case &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Elevation &amp;gt;= 950 &amp;amp;&amp;amp; &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Elevation &lt;/SPAN&gt;&amp;lt;=1000:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If you are to make many of these in a row, make one of them have no equality as in this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Elevation &amp;gt;= 700 &amp;amp;&amp;amp; &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Elevation &lt;/SPAN&gt;&amp;lt;950:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # this one does not catch 950&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;case &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Elevation &amp;gt;= 950 &amp;amp;&amp;amp; &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Elevation &lt;/SPAN&gt;&amp;lt;1000:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # this one catches 950&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 18:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148842#M1961</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-06T18:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148843#M1962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic!!!! I couldnt find it searching for my life, I tried "complex comparison operator" and a few others what would be the best way to search something like this in the future?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 18:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148843#M1962</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-06T18:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148844#M1963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F1&amp;nbsp; for Help.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;On table of contents to the left, expand CGA Shape Grammar Reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;See "Simple Type Operations".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 18:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148844#M1963</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-07-06T18:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148845#M1964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried to use the expression but Im not sure that it is grabbing (in the example you used) only the values 700 to 949.&amp;nbsp; Everything in my model is symbolized with the highest elevations color assignment. I have 25 SD and all appear the same. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148845#M1964</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-06T20:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148846#M1965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A bit more info, I added parenthesis around the expression, the results were different but still made little sense. some floors became grey (my default if there is no value) but all of floors have values thats where I got the range of values from. the rest remained the same color as was assigned to higest elevation. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:18:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148846#M1965</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-06T20:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign elevations</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148847#M1966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also the "not catch" example you gave me the "not catch 950" and the "950" all items are flagged as unexpected tokens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-assign-elevations/m-p/148847#M1966</guid>
      <dc:creator>JacquelineAlessi</dc:creator>
      <dc:date>2015-07-06T20:28:28Z</dc:date>
    </item>
  </channel>
</rss>

