Hi,
I would like to set a "colored line" or some thing like that between floors to mark the different floors. Just when the wireframe is turned on i CE.
I am still learning and have looked at different tutorials and videos, but not figure out how to do it...
I would be happy if some one could post a code:-)
Best regards
Try this.. keep in mind that the "line" is actually part of the building, not just drawn on.
version "2014.0" attr FloorCount = 10 attr FloorHeight = 2.9 attr FloorLine = 0.1 attr FloorPlusLine = FloorHeight+FloorLine Lot --> extrude(FloorCount*FloorPlusLine) split(y){ {FloorHeight: Floors | FloorLine: FloorLines}* | FloorPlusLine: Floors # "roof" } Floors --> color (0, rand, rand) FloorLines --> color(1,0,0)
Hi,
Tank YOU,
You did my morning a lot better:-)