AnsweredAssumed Answered

Conditional rule based on object attributes

Question asked by geonetadmin on Oct 16, 2012
Latest reply on Oct 17, 2012 by geonetadmin
Original User: mc2g

Hi guys,

I am trying to write a simple conditional rule to generate some built form in CGA (based on the generic modern building rule from the example)

Basically I have a Lot parcel file (.shp) with area and Storey data. I want to use these object attributes to control the Front setback mode.

Say any parcel above or equal to 8 storeys and with a lot area F_Area larger than 1000sqm will have a podium tower type setback, otherwise no setback is required.

attr Front_Setback_Mode =
 case Nbr_of_Floors >= 8 && F_AREA > minArea : "Podium Tower Setback"
  else : "None"


Based on the rule, the selected parcel in the attached screen capture is 8 storeys but have a lot area smaller than 1000, hence should have no setback. It seems like only the Nbr of floors part of the conditional rule passed through. Can someone please give me some pointers on what I did wrong?

Regards,

M.C.

Outcomes