Archicad 29 C++ API
|
A base class for all element defaults. More...
#include <ElementDefault.hpp>
Public Member Functions | |
ElementDefault (std::shared_ptr< Impl::ElementDefaultImpl > impl) | |
Constructs a new ElementDefault. | |
Result< void > | SetAsArchicadDefault () const |
Sets the locally prepared Default settings to the Archicad Default. | |
API_ElemType | GetElemType () const |
![]() | |
Object (std::shared_ptr< Impl::ObjectImpl > impl) | |
Constructs a new object. | |
const API_Token & | GetToken () const |
Get the token for this object. | |
Additional Inherited Members | |
![]() | |
~Object () | |
Default destructor. | |
![]() | |
std::shared_ptr< Impl::ObjectImpl > | mImpl |
Impl object given by constructor. | |
A base class for all element defaults.
This class represents the default state of Archicad elements. When an element is placed in Archicad, either from the API of from the UI, it always uses the Element Defaults as its default parameters.
ACAPI::ElementDefault::ElementDefault | ( | std::shared_ptr< Impl::ElementDefaultImpl > | impl | ) |
Constructs a new ElementDefault.
impl | Impl instance of the element default. |
API_ElemType ACAPI::ElementDefault::GetElemType | ( | ) | const |