Archicad 29 C++ API
|
This outline summarizes the major new features and changes in the API available with Archicad 29.
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:GetProductName
GetGSProductType
GetVersionString
renamed to GetAppVersionString
GetVersionNum1
renamed to GetMainVersionString
GetVersionNum2
renamed to GetUpdateVersionString
GetVersionNum3
renamed to GetHotfixVersionString
ACAPI_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_PDFImportOptions
ACAPI_HierarchicalEditing_IsInEditMode
bool&
instead of bool*
ACAPI_Command_ExecuteJSONRequest
for JSON-based command executionACAPI::MEP::RoutingElement
and ACAPI::MEP::RoutingElementDefault
changes:GetFloorPlanDisplayOption
GetCutPlanePosition
GetShowProjection
GetOnStoryVisibility
ACAPI::MEP::RoutingElement::Modifier
and ACAPI::MEP::RoutingElementDefault::Modifier
changes:SetFloorPlanDisplayOption
SetCutPlanePosition
SetShowProjection
SetOnStoryVisibility
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.
IFCAPI
namespace and functions instead to query and manipulate IFC data. ACAPI_Element_GetIFCIdentifier
, ACAPI_Element_GetElemListByIFCIdentifier
ACAPI_Element_GetIFCProperties
, ACAPI_Element_SetIFCProperty
, ACAPI_Element_RemoveIFCProperty
ACAPI_Element_GetIFCAttributes
, ACAPI_Element_SetIFCAttribute
ACAPI_Element_GetIFCClassificationReferences
, ACAPI_Element_SetIFCClassificationReference
, ACAPI_Element_RemoveIFCClassificationReference
API_IFCPropertyHead
, API_IFCPropertyType
, API_IFCPropertyValuePrimitiveType
, API_IFCPropertyAnyValue
, API_IFCPropertyAnyValue
, API_IFCPropertyValue
API_IFCPropertySingleValue
, API_IFCPropertyBoundedValue
, API_IFCPropertyListValue
, API_IFCPropertyEnumeratedValue
, API_IFCPropertyTableValue
, API_IFCProperty
API_IFCAttribute
, API_IFCClassification
, API_IFCClassificationReference