OpenLexocad  27.1
CmdEmptyBuildingStorey.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Core/Command.h>
4 #include <OpenLxApp/Element.h>
5 
6 
7 namespace OpenLxCmd
8 {
16 class LX_OPENLXCMD_EXPORT CmdEmptyStorey : public Core::Command
17 {
18 public:
19  CmdEmptyStorey(const double& elevation, bool removeElements);
20  ~CmdEmptyStorey();
21 
22  bool redo() override;
23  bool undo() override;
24 
25 private:
26  Command* _cmd = nullptr;
27 };
28 } // namespace OpenLxCmd
bool undo(int id=0)
Will UNDO one step, returns False if no undo was done (Undos == 0).
bool redo(int id=0)
Will REDO one step, returns False if no redo was done (Redos == 0).
Definition: CmdAddBolt.h:7
Remove Elements from the BuildingStorey of the active Building, whose elevation value corresponds to ...
Definition: CmdEmptyBuildingStorey.h:16
Definition: Command.h:34