Download CommonLua/Ged/XTemplates/GedBuildingRulesEditor.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/Ged/XTemplates/GedBuildingRulesEditor.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/CommonLua/Ged/XTemplates/GedBuildingRulesEditor.lua
-
curl -L -o GedBuildingRulesEditor.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/Ged/XTemplates/GedBuildingRulesEditor.lua
1.4 kB
| -- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ========== | |
| PlaceObj('XTemplate', { | |
| group = "GedApps", | |
| id = "GedBuildingRulesEditor", | |
| save_in = "Ged", | |
| PlaceObj('XTemplateWindow', { | |
| '__class', "GedApp", | |
| 'Title', "Building Rules Editor", | |
| 'AppId', "GedBuildingRulesEditor", | |
| 'CommonActionsInMenubar', false, | |
| 'CommonActionsInToolbar', false, | |
| }, { | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "NewForbidRule", | |
| 'ActionName', T(918801280324, --[[XTemplate GedBuildingRulesEditor ActionName]] "New Forbid Rule"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/new.tga", | |
| 'ActionToolbar', "main", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Op("GedOpNewForbidRule", "SelectedObject") | |
| end, | |
| 'ActionContexts', { | |
| "RoomPanelGeneral", | |
| }, | |
| }), | |
| PlaceObj('XTemplateWindow', { | |
| '__context', function (parent, context) return "root" end, | |
| '__class', "GedListPanel", | |
| 'Id', "idRules", | |
| 'Margins', box(0, 0, 2, 0), | |
| 'Dock', "left", | |
| 'Title', "Rules", | |
| 'ActionsClass', "Object", | |
| 'Delete', "GedOpListDeleteItem", | |
| 'SelectionBind', "SelectedObject", | |
| }), | |
| PlaceObj('XTemplateWindow', { | |
| '__context', function (parent, context) return "SelectedObject" end, | |
| '__class', "GedPropPanel", | |
| 'Title', "Properties", | |
| 'ActionsClass', "PropertyObject", | |
| 'Copy', "GedOpPropertyCopy", | |
| 'Paste', "GedOpPropertyPaste", | |
| }), | |
| }), | |
| }) | |