Archicad 28 C++ API
|
This class can be used to query the boundaries of Zones. Before use an Update must be called on it. More...
#include <ZoneBoundaryQuery.hpp>
Public Member Functions | |
Result< std::vector< ZoneBoundary > > | GetZoneBoundaries (API_Guid zoneId) const |
template<typename ModifierFunc > | |
Result< void > | Modify (ModifierFunc &&modifierFunc) |
Executes the given modifier scope in a NotUndoable command. | |
Result< void > | Update (GS::ProcessControl &) |
Updates the boundaries of the Zones in the current view. Works only on Floor Plan window and 3D Model window. | |
Public Member Functions inherited from ACAPI::v1::Object | |
Object (std::shared_ptr< Impl::ObjectImpl > impl) | |
Constructs a new object. | |
const API_Token & | GetToken () const |
Get the token for this object. | |
Friends | |
ZoneBoundaryQuery | CreateZoneBoundaryQuery () |
Additional Inherited Members | |
Protected Member Functions inherited from ACAPI::v1::Object | |
~Object () | |
Default destructor. | |
Protected Attributes inherited from ACAPI::v1::Object | |
std::shared_ptr< Impl::ObjectImpl > | mImpl |
Impl object given by constructor. | |
This class can be used to query the boundaries of Zones. Before use an Update must be called on it.
Result< std::vector< ZoneBoundary > > ACAPI::v1::ZoneBoundaryQuery::GetZoneBoundaries | ( | API_Guid | zoneId | ) | const |
zoneId | The unique identifier of the Zone. |
Result< void > ACAPI::v1::ZoneBoundaryQuery::Modify | ( | ModifierFunc && | modifierFunc | ) |
Executes the given modifier scope in a NotUndoable command.
modifierFunc | The modifier scope (lambda, std::function or function pointer) the caller wants to execute. |
Result< void > ACAPI::v1::ZoneBoundaryQuery::Update | ( | GS::ProcessControl & | ) |
Updates the boundaries of the Zones in the current view. Works only on Floor Plan window and 3D Model window.
|
friend |