About programmatic string and reference export and import
- Last UpdatedJul 08, 2024
- 1 minute read
The GraphicAccess2 API exports all of a graphic's substitutable strings to a specified XML file, regardless of whether some of the strings have been overridden. All graphic strings that appear from a Ctrl+L or Substitute Strings operation from within the Graphic Editor will be exported, allowing for bulk editing of the graphic strings.
The GraphicAccess2 API can also be used to export a list of configured references for a selected object. The list is exported to a XML string. The API will export the following configured references:
-
Mx references
-
InTouch tags, including those configured from the argument of attribute
Example: attribute("InTouch:zhmi-abc")
-
Custom properties configured with animation links
-
Client scripts
-
Custom property overrides
-
Client controls
-
All applicable references configured within an embedded graphic, regardless of the number of times it is embedded