Table and Field Name Overwrites XML File
Table and Field Name Overwrites XML File
Table and Field Name Overwrites XML File
The CSI Logo®, SAP2000®, ETABS®, SAFE®, and CSiBridge® are registered
trademarks of Computers and Structures, Inc. Watch & LearnTM is a trademark of
Computers and Structures, Inc.
The computer programs SAP2000®, ETABS®, SAFE®, and CSiBridge® and all
associated documentation are proprietary and copyrighted products. Worldwide
rights of ownership rest with Computers and Structures, Inc. Unlicensed use of
these programs or reproduction of documentation in any form, without prior
written authorization from Computers and Structures, Inc., is explicitly
prohibited.
By default, table and field names are revised based on the content of a file
named xxxDefaultTableNameFile.xml. When the program launches, it reads the
xxxDefaultTableNameFile.xml file. If the xxxDefaultTableNameFile.xml file does
not exist (see Note), or if it is empty, the table and field names remain the same
as the keys. The Options menu > Database > Set Current Table Name
Source command in SAP2000, ETABS, and SAFE or the Orb > Settings >
Database Table Utilities and Settings > Set Current Table Name Source
command in CSiBridge can be used at any time to specify that table and field
names be based on an .xml file other than the xxxDefaultTableNameFile.xml. The
command also allows the user to restore the program defaults.
Any table name can be specified for a table; however, each table name must be
unique compared to all other table names. Similarly, any field name can be
specified; however, each field name in a table must be unique. If the program
reads non-unique table or field names, it will provide a warning message and set
the name back to its default; that is, the program will set the table or field name
to be the same as the associated key. The comparison of names for uniqueness is
not case sensitive.
The use of the Table and Filed Name Overwrites file is currently available for
SAP2000 Version 12 and later, SAFE Version 12 and later, and CSiBridge Version
15 and later. It will become available for ETABS with the next major release of
the software.
1
Table and Field Name Overwrites XML File
2 Schema
The schema is in the file named xxxDefaultTableNameFile.xsd, which is located in
the same directory as the program executable file (see preceding table). Again
xxx is Sap, Etabs, Safe, or CSiBridge, depending on the program in use.
2
Table and Field Name Overwrites XML File
4 Example
Following is an example Table and Field Name Overwrites XML file: This file
modifies the Sap2000 Joint Coordinates table name to JCs and modifies the XorR
and the Z field names in that table to X and Zee, respectively. It also modifies
the name of the JointI field in the Connectivity - Frame table to JtI.
<?xml version="1.0"?>
<tablelist xmlns="http://www.csiberkeley.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.csiberkeley.com
CSiDefaultTableNameFile.xsd">
<table>
<tkey>Joint Coordinates</tkey>
<tname>JCs</tname>
<field>
<fkey>XorR</fkey>
<fname>X</fname>
</field>
<field>
<fkey>Z</fkey>
<fname>Zee</fname>
</field>
</table>
<table>
<tkey>Connectivity - Frame</tkey>
<field>
<fkey>JointI</fkey>
<fname>JtI</fname>
</field>
</table>
</tablelist>