II_W4GL_EXPORT_WITH_DEFAULTS Includes Default Attribute Values in XML Export
This version of OpenROAD includes a new environment variable. II_W4GL_EXPORT_WITH_DEFAULTS lets you specify whether XML export of components or applications additionally writes attributes having default values into the export file. After default values are exported, they can be manipulated in the XML file before importing.
Valid values are:
TRUE
Specifies that all attributes (including those having default values) with their current values are included in the XML export file.
FALSE
(Default) Specifies that only those attributes with current values different from the attribute's default value are included in the XML export file. Attributes having default values are not included.
For example, the attribute xleft, defined for all FormField objects, has a default value of 0. If II_W4GL_EXPORT_WITH_DEFAULTS=FALSE, the attribute would appear only for those fields that have a different value (greater than 0). The exported XML would contain no occurrences of:
<xleft>0</xleft>
If II_W4GL_EXPORT_WITH_DEFAULTS=TRUE, you would find occurrences of xleft for all fields positioned at the left corner of their parent field. This situation applies to all other attributes.
Note: This option increases export file size and decreases performance of export and import processing. Import processing will take longer because all of the attributes must be applied instead of only those having non-default values. File size and performance depend on the number and kind of objects included.
For more information, in the Workbench User Guide, see:
• XML Import and Export
• Command Line Method of Exporting an Application to a File (BackupApp)
• Command Line Method of Exporting Components to a File (BackupApp)
• Environment Variables for All Platforms