ACAPI_​Element_​LinkIdToDrwGuid

Converts a drawing link unique ID to Drawing’s guid.

    API_Guid  ACAPI_Element_LinkIdToDrwGuid (
        Int32     linkId
    );

 

Parameters

linkId
[in] Drawing link unique ID. Used in ARCHICAD 11 and previous versions.

 

Return Values

The guid of the drawing.

Remarks

The linkUId member of API_DrawingType strucure is not used anymore. APIDb_GetDrawingLinkID function requires the drawing’s guid instead of linkUId.
If an old (ARCHICAD 11 or older) project file was opened, and conversion of linkUIds stored in user datas or module datas may be necessary. You are able to perform the conversion via this function.

Requirements

Version: API 12.0 or later
Header: ACAPinc.h

 

See Also

API Functions