AnsweredAssumed Answered

set problem

Question asked by dussla on Dec 25, 2019
Latest reply on Jan 27, 2020 by CLau-esristaff

i made this cga

but there is porblem

"  set(Facade_Textures.Usage , "Agricultural") "  

" set(Facade_Textures.Usage , "Office")"

did not working well

that did not apply

what problem

 


import FFacade_Textures   : "/ESRI.lib/rules/Facades/Facade_Textures.cga" () # completely controlled in rules below

 

 @StartRule
 
Lot --> 
 
   
 case geometry.area < 100   : 
 
      set(Facade_Textures.Usage , "Agricultural")
  
    extrude (10) Stories
   
   
    else: 
         
  set(Facade_Textures.Usage , "Office")

  extrude (20) Stories
  
        
  
Stories -->
 comp(f){ side: Facade }

Facade -->
 Facade_Textures.Generate

Outcomes