comp(f) { top: Top | front : nord | back : sued | left : ost | right : west } split(y){ HoeheEG: Floor(split.index)fassadenstreifen.Facade | Hoehe1und2Stock: Floor(split.index) | Hoehe1und2Stock: Floor(split.index) | {~Hoehe1und2Stock: Floor(split.index)}* | Hoehe1und2Stock: Floor(999) | 0.5 : s('1,'1,0.3) LedgeAsset}
Solved! Go to Solution.
Rule --> comp(f) { .. } split(y) { .. }
A --> B. C.
Rule --> comp(f) { .. } split(y) { .. }
A --> B. C.
could you please explain it a little bit more, im confused trying to do the same but with no luck !
Matt's answer is saying that if you want to apply a split to the result of a comp, you can't put the split right after the comp, but instead, you need to put the split inside the comp. For example, let's say you start with a building that is a cube. If you want to use comp to get a facade (one side of the cube) and then apply a split to the facade, you need to perform the split inside the curly braces of the comp.
comp(f) { side: split(y) { ~floor_height: Floor }* }
You could also put the split in a Facade rule. This is the same as above:
comp(f) { side: Facade }
Facade -->
split(y) { ~floor_height: Floor }*