2024-07-18 06:52 AM
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
Solved! Go to Solution.
2024-07-19 01:02 PM
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
2024-07-19 01:02 PM
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
2024-07-22 11:35 AM
Hi Akos,
Thanks - that works for what I need. So we cant use ACAPI_LibraryPart_ChangeAParameter and associated functions? I receive errors no matter what I set paramOwner.type.typeID to.
Kind regards,
Danny
2024-08-05 10:06 AM
Hi Danny,
The drawing title is tightly coupled with the drawing itself, so it cannot be handled separately.
Best, Akos