A Data Graphic is actually stored as a special type of Master
in a stencil. The Master
contains a reference to each of the graphic items within it along with their configurations. The graphic items are also special masters, except for Color By Value, which is stored as a formula in user-defined cells.
The Data Graphic and Graphic Item masters do not appear in the Document Stencil list, but they are visible in the Drawing Explorer window, as can be seen in the following screenshot:
The following ListDataGraphicMasters()
VBA macros simply produces a list of the data graphics in the active Document Stencil:
Listing the graphic item masters is a bit more involved because the necessary information is stored in specific user-defined cells of the group shape. So, the ListGraphicItemMasters()
VBA macro, which is displayed in the following screenshot, checks the contents of the User.msvCalloutType
cell, if it exists:
A Data Graphic Master is a collection of...