TitleBlock.getAttributes Method

Parent Object: TitleBlock

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::drawing" and the header file is <Drawing/Drawing/TitleBlock.h>

Description

Returns the attributes on the title block.

Syntax

"titleBlock_var" is a variable referencing a TitleBlock object.

returnValue = titleBlock_var.getAttributes()
"titleBlock_var" is a variable referencing a TitleBlock object.

#include <Drawing/Drawing/TitleBlock.h>

returnValue = titleBlock_var->getAttributes();
"titleBlock_var" is a variable referencing a TitleBlock object.

returnValue = titleBlock_var.getAttributes();

Return Value

Type Description
TitleBlockAttributeParameter[] Returns an array of TitleBlockAttributeParameter objects for the title block attributes. Returns null when the title block has no attributes. Throws if the attributes could not be retrieved. Attribute positions are in paper space on the active sheet. The origin is at the bottom-left of the printable sheet area; X increases to the right and Y increases upward.

Version

Introduced in version October 2026