Help Please

80
1
Jump to solution
10-07-2019 02:09 AM
Highlighted
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}


Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
New Contributor III

Thank you Guys, i fixed my issue

View solution in original post

Reply
0 Kudos
1 Reply
Highlighted
New Contributor III

Thank you Guys, i fixed my issue

View solution in original post

Reply
0 Kudos