|
SketchUp C API
|
Interfaces for obtaining information about the executing SketchUp application. More...
#include <SketchUpAPI/common.h>Enumerations | |
| enum | SUEdition { SUEdition_Unknown, SUEdition_Make, SUEdition_Pro } |
| This is the edition of SketchUp currently running. More... | |
Functions | |
| enum SUResult | SUGetVersionStringUtf8 (size_t length, char *version) |
| Returns the version string for the current SketchUp version. This is exported only by the SketchUp executable. It is not part of the standalone SDK. More... | |
| enum SUResult | SUGetEdition (enum SUEdition *edition) |
| Returns the SketchUp edition (Pro or Make). This is only exported by the SketchUp executable. It is not part of the standalone SDK. Note: Starting with version 2018, SketchUp Make is no longer available. So this function will always return SUEdition_Pro. More... | |
Interfaces for obtaining information about the executing SketchUp application.
| enum SUEdition |
Returns the SketchUp edition (Pro or Make). This is only exported by the SketchUp executable. It is not part of the standalone SDK. Note: Starting with version 2018, SketchUp Make is no longer available. So this function will always return SUEdition_Pro.
| [out] | edition | The edition of Sketchup |
| enum SUResult SUGetVersionStringUtf8 | ( | size_t | length, |
| char * | version | ||
| ) |
Returns the version string for the current SketchUp version. This is exported only by the SketchUp executable. It is not part of the standalone SDK.
| [in] | length | Length of the string buffer passed in including null terminator. |
| [out] | version | The UTF-8 encoded version string. This must be large enough to hold the version string including null terminator. |
1.8.3.1