TrackerManager is a class to access the main tracker with.
More...
#include <TrackerManager.hpp>
|
| ~Object () |
| Default destructor.
|
|
std::shared_ptr< Impl::ObjectImpl > | mImpl |
| Impl object given by constructor.
|
|
TrackerManager is a class to access the main tracker with.
- Since
- Archicad 28
◆ GetMainTracker()
Returns the main tracker.
- Returns
- Returns a reference to the main tracker if the process succeeds, otherwise returns an error.
- APIERR_GENERAL - The main tracker is missing, which is an invalid state.
- Example code snippets from Test / Tracker Manager
WriteReport ("Could not instantiate the Tracker Manager.");
return;
}
if (trackerRef.
IsErr ()) {
WriteReport ("%i: %s", err.kind, err.text.c_str ());
return;
}
WriteReport ("The main tracker is hidden.");
return;
}
if (isAnyTrackerItemVisible) {
WriteReport ("The main tracker is visible.");
} else {
WriteReport ("The main tracker could be visible but has no item to be shown.");
}
◆ GetTrackerManager