cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Changing Drawing Title Object Parameters

Hi all,

 

I am looking to use the API to change custom parameters in a custom title object attached to a drawing, placed on a layout. 

 

Documentation suggests API_DrawingTitle contains the GUID of the placed title element (the placed object), but if I use ACAPI_Element_Get with the GUID from element.drawing.title.guid I get an APIERR_BADID error. Is it possible to modify the custom GDL title object parameters of a placed drawing with custom title?

 

I have the layout already open and active when testing this, so the database should already be correct.

 

Thanks,

Danny

1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft

Hi Danny,

 

You should be able to modify the title's parameters via the original drawing element's memo (specifically the `params` member should contain those values).

 

Best, Akos