blackantmaster

ShapeL, shapeU and shapeO doesn't work

Discussion created by blackantmaster on Jan 7, 2013
Latest reply on Jan 7, 2013 by MBuehler-esristaff
Hi,
i would like to use shape for my building, but don't know why it only does cubes shape instead of L, U or O shapes.

maybe wrong way i used it i paste my code:

version "2010.3"
attr Bat_Height = rand(15,30)
attr CoursSize = rand(-5,-20)
attr BatVar = rand(5,30)

Lot-->offset(-0.5)Global
Global-->comp(f) { border : Murs |inside : Cours }
Cours-->offset(CoursSize)CoursComp
CoursComp-->comp(f) { border : CoursRecre | 
      inside : CompLycee}
CompLycee-->shapeL(BatVar,BatVar) { shape : extrude(Bat_Height)FormComp | 
           remainder : CoursRecre}

//extrude(Bat_Height)FormComp
FormComp-->comp(f) { front : Entree|
     streetSide : CoteFenetre | 
     noStreetSide : CoteCours | 
     top : Toit }
     
CoteCours-->color("#FF0000") 
CoteFenetre-->color("#FFFF00")
Entree--> color("#00FFFF")
Murs-->comp(f) { front : MurEntree| 
    side : MursFerme }
MurEntree-->split(x) { 3 : Shape }*
MursFerme-->extrude(3)

CoursRecre-->setupProjection(0, scope.xy, 1, 1)
    projectUV(0)
    texture("images/Textures/Roads/Asphalt.jpg")

Outcomes