Archicad C++ API
About Archicad add-on development using the C++ API.

Modifying External Drawing Links

Anonymous
Not applicable
I'm struggling a little with the API + documentation regarding drawing links. The customer has some external drawing links that they wish to change the link on, but I can't see how this might be possible in the API.

I can see 'APIDb_GetDrawingLinkID' function, but I can't see where to get that drawing linkUID from. I've tried ACAPI_Element_GetElemList to gather all elements, then using the element.drawing.linkUId / drawingGuid to pass into APIDb_GetDrawingLinkID, but this doesn't appear to work. The linkUId object says it's not being used in the header as well.

Is modifying external drawing links possible via the API?
0 REPLIES 0