Functions related the server application and various project-related events, such as saving or publishing the project.
More...
|
| enum | API_FTypeID {
APIFType_None
, APIFType_PlanFile
, APIFType_A_PlanFile
, APIFType_Bak_PlanFile
,
APIFType_PlanFile600
, APIFType_A_PlanFile600
, APIFType_PlanFile650
, APIFType_A_PlanFile650
,
APIFType_PlanFile700
, APIFType_A_PlanFile700
, APIFType_TabListFile
, APIFType_ObjectFile
,
APIFType_DoorFile
, APIFType_WindowFile
, APIFType_GDLFile
, APIFType_2DLinesFile
,
APIFType_PNGFile
, APIFType_BMPFile
, APIFType_TIFFFile
, APIFType_JPEGFile
,
APIFType_GIFFile
, APIFType_EMFFile
, APIFType_WMFFile
, APIFType_PlanFile800
,
APIFType_A_PlanFile800
, APIFType_PlanFile810
, APIFType_A_PlanFile810
, APIFType_PlanFile900
,
APIFType_A_PlanFile900
, APIFType_PlanFile1000
, APIFType_A_PlanFile1000
, APIFType_PlanFile1100
,
APIFType_A_PlanFile1100
, APIFType_PlanFile1200
, APIFType_A_PlanFile1200
, APIFType_IfcFile
,
APIFType_PlanFile1300
, APIFType_A_PlanFile1300
, APIFType_PlanFile1400
, APIFType_A_PlanFile1400
,
APIFType_PlanFile1500
, APIFType_A_PlanFile1500
, APIFType_PlanFile1600
, APIFType_A_PlanFile1600
,
APIFType_PlanFile1700
, APIFType_A_PlanFile1700
, APIFType_PlanFile1800
, APIFType_A_PlanFile1800
,
APIFType_PdfFile
, APIFType_PlanFile1900
, APIFType_A_PlanFile1900
, APIFType_PlanFile2000
,
APIFType_A_PlanFile2000
, APIFType_PlanFile2100
, APIFType_A_PlanFile2100
, APIFType_PlanFile2200
,
APIFType_A_PlanFile2200
, APIFType_PlanFile2300
, APIFType_A_PlanFile2300
, APIFType_PlanFile2400
,
APIFType_A_PlanFile2400
, APIFType_PlanFile2500
, APIFType_A_PlanFile2500
, APIFType_PlanFile2600
,
APIFType_A_PlanFile2600
, APIFType_PlanFile2700
, APIFType_A_PlanFile2700
, APIFType_PlanFile2800
,
APIFType_A_PlanFile2800
, APIFType_PlanFile2900
, APIFType_A_PlanFile2900
, APIFType_SafFile
} |
| | Available file format identifiers for automated functions. More...
|
| |
| enum | API_ConvModID {
APIConvMod_TextGDL
, APIConvMod_MemGDL
, APIConvMod_SymTxtGDL
, APIConvMod_SymBinGDL
,
APIConvMod_SideGDL
, APIConvMod_DragGDL
} |
| | Represents the type of the Archicad object to be saved. More...
|
| |
| enum | API_IfcTypeID { API_IFC
, API_IFCZIP
} |
| | Defines type of file format for IFC Export. More...
|
| |
| enum | API_ElementsToIfcExportID {
API_EntireProject = 1
, API_VisibleElementsOnAllStories
, API_AllElementsOnCurrentStorey
, API_VisibleElementsOnCurrentStorey
,
API_SelectedElementsOnly
, API_FilteredElements
} |
| | Selected elements for IFC export. More...
|
| |
| enum | API_ElementsToSAFExportID { API_SAFSelectedElementsOnly = 1
, API_SAFEntireProject
, API_SAFVisibleElements
} |
| | Selected elements for SAF export. More...
|
| |
| enum | API_NotifyEventID {
APINotify_New = 0x00000001
, APINotify_NewAndReset = 0x00000002
, APINotify_Open = 0x00000004
, APINotify_PreSave = 0x00000008
,
APINotify_Save = 0x00000010
, APINotify_Close = 0x00000020
, APINotify_Quit = 0x00000040
, APINotify_TempSave = 0x00000080
,
APINotify_SendChanges = 0x00008000
, APINotify_ReceiveChanges = 0x00010000
, APINotify_ChangeProjectDB = 0x00040000
, APINotify_ChangeWindow = 0x00080000
,
APINotify_ChangeFloor = 0x00100000
, APINotify_ChangeLibrary = 0x00200000
, APINotify_AllInputFinished = 0x00400000
, APINotify_UnitChanged = 0x00800000
,
APINotify_SideviewCreated = 0x01000000
, APINotify_SideviewRebuilt = 0x02000000
, APINotify_PropertyVisibilityChanged = 0x04000000
, APINotify_ClassificationVisibilityChanged = 0x08000000
,
APINotify_ShowIn3DChanged = 0x10000000
} |
| | Possible values for notifications on project events. More...
|
| |
| enum | API_NotifyViewEventID {
APINotifyView_Inserted = 0x00000001
, APINotifyView_Modified = 0x00000002
, APINotifyView_Deleted = 0x00000004
, APINotifyView_Opened = 0x00000008
,
APINotifyView_Begin = 0x00000010
, APINotifyView_End = 0x00000020
} |
| | Possible values for notifications on Project Navigator events. More...
|
| |
|
| GSErrCode | ACAPI_ProjectOperation_NewProject (const API_NewProjectPars *newProjectPars) |
| | Opens a new plan.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Open (const API_FileOpenPars *fileOpenPars) |
| | Opens a new project file.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Close () |
| | Closes the current project window.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save () |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_Archive *formatPars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_PlanDump *formatPars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_Object *formatPars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_Picture *formatPars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_Ifc *formatPars, API_IFCRelationshipData *resultData=nullptr) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_Pdf *formatPars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Save (const API_FileSavePars *fileSavePars, const API_SavePars_Saf *formatPars) |
| | Saves the content of the current window in different file formats.
|
| |
| GSErrCode | ACAPI_ProjectOperation_ReloadLibraries () |
| | Resets and loads the active libraries.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Print (const API_PrintPars *printPars=nullptr) |
| | Prints the content of the current window.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Quit () |
| | Terminates the server application.
|
| |
| GSErrCode | ACAPI_ProjectOperation_SaveAsModuleFile (const IO::Location *location, GS::Array< API_Elem_Head > *elemHead=nullptr) |
| | Saves the selected elements into a module file.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Publish (const API_PublishPars *publishPars, const GS::Array< API_Guid > *selectedLinks=nullptr) |
| | Publishes a publisher set.
|
| |
| GSErrCode | ACAPI_ProjectOperation_Project (API_ProjectInfo *projectInfo) |
| | Returns information on the current project file.
|
| |
| GSErrCode | ACAPI_Teamwork_ProjectSharing (API_SharingInfo *sharingInfo) |
| | Returns the project sharing data in the case of a TeamWork project.
|
| |
| GSErrCode | ACAPI_ProjectOperation_GetMiscAppInfo (API_MiscAppInfo *miscAppInfo) |
| | Gets miscellaneous information about application.
|
| |
| GSErrCode | ACAPI_ProjectOperation_GetMiscPrinterInfo (API_MiscPrinterInfo *miscPrinterInfo) |
| | Gets miscellaneous information about current printer.
|
| |
| GSErrCode | ACAPI_ProjectOperation_GetMiscPlotterInfo (API_MiscPlotterInfo *miscPlotterInfo) |
| | Gets miscellaneous information about plotter.
|
| |
| GSErrCode | ACAPI_ProjectOperation_GetPrinterPars (API_PrintPars *printPars) |
| | Retrieves the current printer settings.
|
| |
| GSErrCode | ACAPI_ProjectOperation_AdditionalFileWasCreated (const IO::Location &path) |
| | Informs Archicad about the additional file created during exporting or publishing. Required for handling them with the target file. (E.g., uploading to BIMcloud together.)
|
| |
| GSErrCode | ACAPI_ProjectOperation_CatchProjectEvent (GSFlags eventTypes, APIProjectEventHandlerProc *handlerProc) |
| | Register or unregister your add-on to be notified of application and project events.
|
| |
Functions related the server application and various project-related events, such as saving or publishing the project.