|
Archicad 29 C++ API
|
#include <Opening.hpp>
Classes | |
| class | Modifier |
Public Member Functions | |
| bool | Exists () const |
| OpeningFloorPlanParameters | GetFloorPlanParameters () const |
| OpeningExtrusionParameters | GetExtrusionParameters () const |
| OpeningGeometry | GetOpeningGeometry () const |
| Result< UniqueID > | GetParentElement () const |
| std::vector< UniqueID > | GetCutElements () const |
| template<typename ModifierFunc > | |
| Result< void > | Modify (const ModifierFunc &modifierFunc, const GS::UniString &undoString) |
| Executes the passed modifier scope in an Undoable command. | |
Public Member Functions inherited from ACAPI::ElementBase | |
| UniqueID | GetElemId () const |
| Get unique identifier of the ElementBase object. | |
| Result< void > | IsEditable () const |
| Checks whether the element is editable. | |
Public Member Functions inherited from ACAPI::Object | |
| Object (std::shared_ptr< Impl::ObjectImpl > impl) | |
| Constructs a new object. | |
| const API_Token & | GetToken () const |
| Get the token for this object. | |
Static Public Member Functions | |
| static Result< Opening > | Get (const UniqueID &uniqueId) |
| Returns an Opening. | |
| static Result< std::vector< UniqueID > > | GetConnectedOpenings (const UniqueID &uniqueId, const API_Token &token) |
| Returns all Openings connected to the specified element. | |
Protected Member Functions | |
| Opening (std::shared_ptr< Impl::OpeningImpl > impl) | |
| Constructs an Opening with an opening implementation. | |
Protected Member Functions inherited from ACAPI::ElementBase | |
| ElementBase (std::shared_ptr< Impl::ObjectImpl > impl) | |
| Constructs a new ElementBase. | |
Protected Member Functions inherited from ACAPI::Object | |
| ~Object () | |
| Default destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from ACAPI::Object | |
| std::shared_ptr< Impl::ObjectImpl > | mImpl |
| Impl object given by constructor. | |
It is a representation of Opening element.
|
protected |
Constructs an Opening with an opening implementation.
| impl | The opening implementation. |
| bool ACAPI::Element::Opening::Exists | ( | ) | const |
|
static |
Returns all Openings connected to the specified element.
| uniqueId | The ID of the element whose connected openings you wish to query. |
| token | The token used by the implementation. |
| std::vector< UniqueID > ACAPI::Element::Opening::GetCutElements | ( | ) | const |
| OpeningExtrusionParameters ACAPI::Element::Opening::GetExtrusionParameters | ( | ) | const |
| OpeningFloorPlanParameters ACAPI::Element::Opening::GetFloorPlanParameters | ( | ) | const |
| OpeningGeometry ACAPI::Element::Opening::GetOpeningGeometry | ( | ) | const |
| Result< void > ACAPI::Element::Opening::Modify | ( | const ModifierFunc & | modifierFunc, |
| const GS::UniString & | undoString ) |
Executes the passed modifier scope in an Undoable command.
| modifierFunc | The modifier scope (lambda, std::function or function pointer) the caller wants to execute. |
| undoString | The text which appears in the undo queue of Archicad after executing the command. |