| 
    Archicad 29 C++ API
    
   | 
 
This outline summarizes the major new features and changes in the API available with Archicad 29.0.1 (3100).
ACAPI::MEP::ElementBase class includes getters and ACAPI::MEP::ModifiableElementBase::Modifier includes setters for rotation, reflection, and the A and B parameters of the library (sizes along the X and Y axis).These functions and structures are currently available, but they are intended to be removed in the future. They will not receive bug fixes and support.
This outline summarizes the major new features and changes in the API available with Archicad 29.0.0 (3000).
ACAPI::UI::Menu::MenuManager and ACAPI::UI::Menu::MenuItem, which allows AddOns to read shortcut information and the command's text.ACAPI::EditNotificationInterface.ACAPI::UI::Notification::NotificationBubbleManager.API_OpeningType and related structures have been removed. You should use ACAPI::Element::Opening and ACAPI::Element::OpeningDefault instead.isAutoOnStoryVisibility has been added to API_SlabType.APIMenuCodeID: MenuCode_RoofExtras, MenuCode_Design.API_ArrowData structure has been changed to contain only the data of one arrow. The begArrow and endArrow boolean values have been replaced by an arrowVisibility boolean.API_LineType, API_PolyLineType, API_ArcType and API_SplineType) now contain two API_ArrowData attributes (one for each end of the line).API_LineType, API_PolyLineType, API_ArcType and API_SplineType) contain a new boolean linkedArrowAttributes variable. Setting this to true links the size and pen attributes of the two arrowheads. When set to true, the size and pen of the endArrowData must be equal to the size and pen of startArrowData, otherwise APIERR_BADPARS will be thrown.API_ApplicationTypeID: APIAppl_MEPDesignerID.IFCAPI::PropertyBuilder::CreateDefaultValue can create a default IFCAPI::Value based on a sole IFCAPI::IFCType. With this you can also query the corresponding data type to use in an IFCAPI::AnyValue for that IFCType.ACAPI::LicenseInfo::ProductVersionInfo changes:GetProductNameGetGSProductTypeGetVersionString renamed to GetAppVersionStringGetVersionNum1 renamed to GetMainVersionStringGetVersionNum2 renamed to GetUpdateVersionStringGetVersionNum3 renamed to GetHotfixVersionStringACAPI_View_ModelToScreen for 3D to 2D coordinate conversion.API_LineType, API_PolyLineType, API_ArcType and API_SplineType) with t- Two different arrowheads can be set for line types (API_LineType, API_PolyLineType, API_ArcType and API_SplineType) with the help of their API_ArrowData structure attributes (startArrowData and endArrowData).ACAPI_Element_ChangeMorphEdgeType can be used to change the edge type of all edges of a morph element.ACAPI::IsDomainAvailable) in the running product. Available means that it is fully supported and usable. For ex. Archicad with a Studio license does not support MEP.ACAPI_Markup_ImportFromPDF, and the possible options: ACAPI_Markup_PDFImportOptionsACAPI_HierarchicalEditing_IsInEditModebool& instead of bool*ACAPI_Command_ExecuteJSONRequest for JSON-based command executionACAPI::MEP::RoutingElement and ACAPI::MEP::RoutingElementDefault changes:GetFloorPlanDisplayOptionGetCutPlanePositionGetShowProjectionGetOnStoryVisibilityACAPI::MEP::RoutingElement::Modifier and ACAPI::MEP::RoutingElementDefault::Modifier changes:SetFloorPlanDisplayOptionSetCutPlanePositionSetShowProjectionSetOnStoryVisibilityThese functions and structures are currently available, but they are intended to be removed in the future. They will not receive bug fixes and support.
IFCAPI namespace and functions instead to query and manipulate IFC data. ACAPI_Element_GetIFCIdentifier, ACAPI_Element_GetElemListByIFCIdentifierACAPI_Element_GetIFCProperties, ACAPI_Element_SetIFCProperty, ACAPI_Element_RemoveIFCPropertyACAPI_Element_GetIFCAttributes, ACAPI_Element_SetIFCAttributeACAPI_Element_GetIFCClassificationReferences, ACAPI_Element_SetIFCClassificationReference, ACAPI_Element_RemoveIFCClassificationReferenceAPI_IFCPropertyHead, API_IFCPropertyType, API_IFCPropertyValuePrimitiveType, API_IFCPropertyAnyValue, API_IFCPropertyAnyValue, API_IFCPropertyValueAPI_IFCPropertySingleValue, API_IFCPropertyBoundedValue, API_IFCPropertyListValue, API_IFCPropertyEnumeratedValue, API_IFCPropertyTableValue, API_IFCPropertyAPI_IFCAttribute, API_IFCClassification, API_IFCClassificationReference