Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

Updating drawings on layouts

RobDev
Contributor

Hi all,

 

I've been trying to get ACAPI_Drawing_Update_Drawings() to work, but I'm not having much success. Every time I run the below code the only return I get is Unknown Error, and the drawing doesn't update:

 

API_Element drawingElem;
drawingElem.header.guid = guid;
ACAPI_Element_Get(&drawingElem);

err = ACAPI_Drawing_Update_Drawings({ drawingElem.drawing.drawingGuid });
if (err) { WriteReport_Err("UpdateDrawings", err); }

 

Is there another way I could go about updating drawings?

 

Thanks,

Rob

0 REPLIES 0