Help Please

656
1
Jump to solution
10-07-2019 02:09 AM
BilalMustafa
New Contributor III

what to edit in the following code to make the facade picture appear correctly after the split ?

/**
 * File:    comp_split.cga
 * Created: 5 Oct 2019 06:28:38 GMT
 * Author:  Bilal Mustafa
 */

version "2018.1"

import gen_Facade_AdvancedFacade3 :"/شارع السهل/rules/gen_Facade_goolge2_cropped.cga"

attr height = 10
attr groundfloor_height=5
attr floor_height=3
Lot -->  
extrude(height)  
comp(f){  
0: Base | 1: Roof | 2: AA | 3: BB   
| 4: CC  }  
  
AA -->  
split(y){ groundfloor_height    : Floor(split.index) 	// Groundfloor
			| floor_height : Floor(split.index)   		 	// First Floor			
			| floor_height : Floor(split.index)		 		// Second Floor
			| {~floor_height : Floor(split.index)}*			// Mid Floors
			| floor_height : Floor(999)						// Top Floor, indexed with 999
			| 0.5 : s('1,'1,0.3) LedgeAsset}   				// The top ledge just below the roof
            facade
            
            facade-->
            
            comp(f) { 2 :gen_Facade_AdvancedFacade3.Facade}
  
  
0 Kudos
1 Solution

Accepted Solutions
BilalMustafa
New Contributor III

Thank you Guys, i fixed my issue

View solution in original post

0 Kudos
1 Reply
BilalMustafa
New Contributor III

Thank you Guys, i fixed my issue

0 Kudos