API_​SavePars_​Ifc

Parameters to save the current project as an Ifc file.

    typedef struct {
        API_IfcTypeID               subType;
        API_IFCTranslatorIdentifier translatorIdentifier; Featuring API 23API_ElementsToIfcExportID   elementsToIfcExport; Featuring API 23const GS::ArrayAPI_Guid>*  elementsSet; Featuring API 23bool                        includeBoundingBoxGeometry; Featuring API 26void*                       filler_1;
        void*                       filler_2;
    } API_SavePars_Ifc;

 

Members

subType
Defines whether to save IFC or IFC XML format.
translatorIdentifier
Define the translator identifier, for IFC save.
elementsToIfcExport
Define type of elements which will be exported.
elementsSet
Define the elements set wich elements will be saved in file, or leave nullptr to save all elements.
includeBoundingBoxGeometry New in API 26
Defines whether to calculate and save the corresponding IfcBoundingBox.

 

Remarks

You’ll have to pass this structure to the ACAPI_Automate (APIDo_SaveID, ..) function.

 

Requirements

Version: API 11 or later
Header: APIdefs_Automate.h

 

See Also

APIDo_SaveID, API Types