File size: 703 Bytes
b6a38d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
-- ========== GENERATED BY ExtrasGen Editor (Ctrl-Alt-G) DO NOT EDIT MANUALLY! ==========
PlaceObj('ExtrasGen', {
RequiresClass = "Room",
ToolbarSection = "Place Guides",
group = "CreateGuides",
id = "RoofEdgesInwardsAlong",
PlaceObj('PlaceRoomGuides', {
AssignTo = "guides",
PlaceOn = "Roof",
RoomsVar = "initial_selection",
}),
PlaceObj('PrgForEach', {
List = "initial_selection",
PlaceObj('PrgIf', {
Condition = function (self) return value.roof_type == "Gable" end,
PlaceObj('PlaceRoomGuides', {
AssignTo = "guides",
PlaceOn = "Roof",
RoomsVar = "value",
StartFrom = "Middle",
}),
}),
}),
PlaceObj('SelectInEditor', {
ObjectsVar = "guides",
}),
})
|