Hi, all! First time to ask questions here. I am currently considering how to connect the parameters in "Object Attributes" with attributes that pre-defined in CGA rule files. I imitate the lines in "Building_From_OpenStreetMap.cga" which could use the parameter in "object attributes" in terms of "Levels". Likewise, I will paste what I wrote in rule files. If anyone can make it happen without using Python, plsssss teach me. PS: two shortcuts were made manually which will be time-consuming when it comes to tremendous parameters need to be connected. attr NBayNumbers = _getNBayNumbers @Hidden attr building__Nbay__x = -1 @Hidden attr estimatedNBayNumbers =defaultNBayNumbers const defaultNBayNumbers= 8 hasNBayNumbers = building__Nbay__x != -1 _getNBayNumbers = case hasNBayNumbers : building__Nbay__x else: estimatedNBayNumbers
... View more