cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 

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 Solution

Accepted Solutions
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

Go to post

3 Replies 3
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

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

Akos Somorjai
Graphisoft
Graphisoft

Hi Danny,

 

The drawing title is tightly coupled with the drawing itself, so it cannot be handled separately.

 

Best, Akos

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!