<?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: Getting object attributes as values for the rule file in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460177#M6253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;//Create some attributes to store data attr BUILDING_H = 0.0 attr HEIGHT = 0.0&amp;nbsp; MyRule--&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; //within a rule: set the Height attr to the value of BUILDING_H,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //assuming BUILDING_H is mapped to a map layer &amp;nbsp;&amp;nbsp;&amp;nbsp; set(HEIGHT, BUILDING_H)&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //use a value of an attr, in this case HEIGHT that was just set above&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(world.y, HEIGHT)&amp;nbsp; //attribute to store number of floors attr numberOfFloors=0&amp;nbsp; //numFloors is a Function, with the value BH passed to it //case statements work as if/elif/else statements,&amp;nbsp; //else can be used to catch in this case a building height of 0, //since we only calculate if a building height is over 0,&amp;nbsp; //if the building height is over 120(units) we divide by 4 instead of three.. if its over 0 but less than 120 we divide by 3&amp;nbsp; numFloors(BH) =&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH&amp;gt;120: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/4) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH &amp;gt; 0: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/3) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; MyRule --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; //here we pass BUILDING_H to our Function numFloors &amp;nbsp;&amp;nbsp;&amp;nbsp; //the value returned from the calculation is passed to the attribute numberOfFloors,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //functions have funky syntax.. i know.. &amp;nbsp;&amp;nbsp;&amp;nbsp; //attr numberOfFloors value can now be used elsewhere in the rule&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; set (numberOfFloors, numFloors(BUILDING_H))&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 18:42:09 GMT</pubDate>
    <dc:creator>RobertHexter</dc:creator>
    <dc:date>2013-03-22T18:42:09Z</dc:date>
    <item>
      <title>Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460176#M6252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, just one question from a newbie;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use my building height from my object attribute (from shapefile) to recalculate/estimate the number of floors in the building.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To do this I use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr BUILDING_H = 0.0 (this works, I now can use BUILDING_H to extrude etc.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but as soon as I try something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;numFloors = floor(BUILDING_H/3) it doesn't work anymore since in the rule file BUILDING_H is 0.0 obviously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr Height = getObjectAttr(BUILDING_H) but this doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I get the attribute to be useable for calculations in the rule file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Niek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460176#M6252</guid>
      <dc:creator>NiekSpeetjens</dc:creator>
      <dc:date>2013-03-22T12:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460177#M6253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;//Create some attributes to store data attr BUILDING_H = 0.0 attr HEIGHT = 0.0&amp;nbsp; MyRule--&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; //within a rule: set the Height attr to the value of BUILDING_H,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //assuming BUILDING_H is mapped to a map layer &amp;nbsp;&amp;nbsp;&amp;nbsp; set(HEIGHT, BUILDING_H)&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //use a value of an attr, in this case HEIGHT that was just set above&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(world.y, HEIGHT)&amp;nbsp; //attribute to store number of floors attr numberOfFloors=0&amp;nbsp; //numFloors is a Function, with the value BH passed to it //case statements work as if/elif/else statements,&amp;nbsp; //else can be used to catch in this case a building height of 0, //since we only calculate if a building height is over 0,&amp;nbsp; //if the building height is over 120(units) we divide by 4 instead of three.. if its over 0 but less than 120 we divide by 3&amp;nbsp; numFloors(BH) =&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH&amp;gt;120: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/4) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH &amp;gt; 0: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/3) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; MyRule --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; //here we pass BUILDING_H to our Function numFloors &amp;nbsp;&amp;nbsp;&amp;nbsp; //the value returned from the calculation is passed to the attribute numberOfFloors,&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //functions have funky syntax.. i know.. &amp;nbsp;&amp;nbsp;&amp;nbsp; //attr numberOfFloors value can now be used elsewhere in the rule&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; set (numberOfFloors, numFloors(BUILDING_H))&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 18:42:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460177#M6253</guid>
      <dc:creator>RobertHexter</dc:creator>
      <dc:date>2013-03-22T18:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460178#M6254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it does, thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see that it has a lot to do with me getting to understand the cga language &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Niek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 18:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460178#M6254</guid>
      <dc:creator>NiekSpeetjens</dc:creator>
      <dc:date>2013-03-24T18:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460179#M6255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//Create some attributes to store data
attr BUILDING_H = 0.0
attr HEIGHT = 0.0

MyRule--&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //within a rule: set the Height attr to the value of BUILDING_H, 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //assuming BUILDING_H is mapped to a map layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; set(HEIGHT, BUILDING_H) 

&amp;nbsp;&amp;nbsp;&amp;nbsp; //use a value of an attr, in this case HEIGHT that was just set above 
&amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(world.y, HEIGHT)

//attribute to store number of floors
attr numberOfFloors=0

//numFloors is a Function, with the value BH passed to it
//case statements work as if/elif/else statements, 
//else can be used to catch in this case a building height of 0,
//since we only calculate if a building height is over 0, 
//if the building height is over 120(units) we divide by 4 instead of three.. if its over 0 but less than 120 we divide by 3

numFloors(BH) = 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH&amp;gt;120:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/4)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH &amp;gt; 0:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/3)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0

MyRule --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //here we pass BUILDING_H to our Function numFloors
&amp;nbsp;&amp;nbsp;&amp;nbsp; //the value returned from the calculation is passed to the attribute numberOfFloors, 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //functions have funky syntax.. i know..
&amp;nbsp;&amp;nbsp;&amp;nbsp; //attr numberOfFloors value can now be used elsewhere in the rule 
&amp;nbsp;&amp;nbsp;&amp;nbsp; set (numberOfFloors, numFloors(BUILDING_H))




&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Does this help?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I thought it would work now since what you suggested&amp;nbsp; makes a lot of sense, but... Now BUILDING_H is still not passed on to the attr HEIGHT... Even if I "set(HEIGHT,BUILDING_H)" and then "print(HEIGHT)" it doesn't result in anything. it looks as if the source of BUILDING_H, which is an object attribute, still doesn't allow BUILDING_H to be used in the script (except for the extrude functions etc.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
// This

attr BUILDING_H = 0.0
attr HEIGHT = 0.0

@Startrule
HeightSet--&amp;gt;
 set(HEIGHT, BUILDING_H) 
 print(HEIGHT)
Lot--&amp;gt;
extrude(world.y,BUILDING_H)Mass
attr NumberOfFloors = 0
numFloors(BH) = 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH&amp;gt;120:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/4)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case BH &amp;gt; 0:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(BH/3.5)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0
countFloors--&amp;gt;

set (NumberOfFloors, numFloors(HEIGHT))&amp;nbsp; 
print(NumberOfFloors) 

// doesn't result in anyting... &lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry if i'm a bit of a retard on this &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460179#M6255</guid>
      <dc:creator>NiekSpeetjens</dc:creator>
      <dc:date>2021-12-11T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460180#M6256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;did you set the attr source to the object attr ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the Inspector, check if behind the attr it says (rule) or (object).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if it says rule, then change the attr source with the little icon right next to it, a bit left. the icon looks like a little black tringle pointing into a white rectangle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 08:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460180#M6256</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-03-26T08:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460181#M6257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As Matthias says..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attributes of generated Shapes can recieve their input from a number of sources. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These sources can be changed via the little black arrows next to the attribute values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clicking the black arrow with a white square gives access to the Attribute Connection Editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you modify a value of an attribute manually the value in the Attribute Connection Editor is automatically customized to User-defined value so any thing a script/rule does is ignored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you expected the script/rule to provide the values to the attribute then make sure its set to Rule-defined value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My assumption in the example was that your "BUILDING_H" attribute was being driven by some other kind of input, so I was demonstrating how to pass values around to other attributes and to functions as well as how to access them for example the extrude() cga.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a question.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What drives your "BUILDING_H" attribute value (what provides its value)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it connected to a map layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you set it manually, making it a User-defined value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 18:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460181#M6257</guid>
      <dc:creator>RobertHexter</dc:creator>
      <dc:date>2013-03-26T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460182#M6258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi and thanks again for the support,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my attr BUILDING_H is an attribute that is in the attribute table of a shape file that I imported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This shapefile contains the lots on which the buildings are generated&amp;nbsp; and information such as building height and roof slopes etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use this data to do some calculations that have an effect on the final shape of the building but so far I am unable to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use attributes from an object in my script except for the extrude function.&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;Niek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 13:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460182#M6258</guid>
      <dc:creator>NiekSpeetjens</dc:creator>
      <dc:date>2013-03-27T13:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting object attributes as values for the rule file</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460183#M6259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe first play through this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/53008-GIS-Data-Mini-Tutorial-Building-Height-and-Floor-Splits"&gt;http://forums.arcgis.com/threads/53008-GIS-Data-Mini-Tutorial-Building-Height-and-Floor-Splits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 13:51:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/getting-object-attributes-as-values-for-the-rule/m-p/460183#M6259</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-03-27T13:51:07Z</dc:date>
    </item>
  </channel>
</rss>

