Archicad 29 C++ API
|
Functions for integrating into the publisher or registering new supported file types. More...
Typedefs | |
typedef GSErrCode | SaveProc(API_SaveMethod method, const char *path, API_UserData *userData, GS::UniString *reportStr) |
Callback function to save the document in the newly registered publish format. | |
typedef GSErrCode | SaveOptionProc(API_SaveMethod method, API_UserData *userData) |
Callback function to set different options for the newly registered format. | |
typedef GSErrCode | TranslatorGetterProc(GS::Array< API_TranslatorNameConfig > &arr) |
Callback function to receive the translators for the new registered publish forma. | |
typedef GSErrCode | DefaultTranslatorGetterProc(API_TranslatorNameConfig &def) |
typedef GSErrCode | InfoGetterProc(const API_UserData *const userData, GS::UniString &info, bool general) |
Enumerations | |
enum | API_SaveMethod { Save2DProc = 0 , SaveSectionProc = 1 , Save3DProc = 2 , SaveRenderingProc = 3 , SaveTextProc = 4 , SaveReportProc = 5 , SaveDrawProc = 6 , SaveLayoutProc = 7 , SaveMovie3DProc = 8 , SaveMovieRenderingProc = 9 , SaveDetailDrawingProc = 10 , SaveIESProc = 11 , SaveDocumentFrom3DProc = 12 } |
Defines the different save methods in Archicad. More... | |
Functions for integrating into the publisher or registering new supported file types.
typedef GSErrCode DefaultTranslatorGetterProc(API_TranslatorNameConfig &def) |
Callback function to receive the default translator for the new registered publish format.
def | [out] The output parameter of this function. This configuration will be set to hold the default translator of the format. |
typedef GSErrCode InfoGetterProc(const API_UserData *const userData, GS::UniString &info, bool general) |
Callback function to receive a string providing additional information about a publisher format or it's current configuration.
info | [out] The info string that can be displayed by the Publisher. |
general | [in] Indicates that the info string should have contents for a Publisher Folder item has the same format items, but with different info |
typedef GSErrCode SaveOptionProc(API_SaveMethod method, API_UserData *userData) |
Callback function to set different options for the newly registered format.
method | [in] Any of Save2DProc, SaveSectionProc, Save3DProc, SaveRenderingProc, SaveTextProc, SaveReportProc, SaveDrawProc, SaveLayoutProc, SaveMovie3DProc, SaveMovieRenderingProc, SaveDetailDrawingProc, SaveIESProc, SaveDocumentFrom3DProc |
userData | [in] The userData contains the save options given by the Add-On. |
typedef GSErrCode SaveProc(API_SaveMethod method, const char *path, API_UserData *userData, GS::UniString *reportStr) |
Callback function to save the document in the newly registered publish format.
method | [in] Any of Save2DProc, SaveSectionProc, Save3DProc, SaveRenderingProc, SaveTextProc, SaveReportProc, SaveDrawProc, SaveLayoutProc, SaveMovie3DProc, SaveMovieRenderingProc, SaveDetailDrawingProc, SaveIESProc, SaveDocumentFrom3DProc |
path | [in] The path where to save the published file. |
userData | [in] The userData contains the save options given by the Add-On. |
reportStr | [in] The error message if the publishing failed. |
typedef GSErrCode TranslatorGetterProc(GS::Array< API_TranslatorNameConfig > &arr) |
Callback function to receive the translators for the new registered publish forma.
arr | [out] The array which will be filled with translator configurations. |
enum API_SaveMethod |
Defines the different save methods in Archicad.