PRIMER 22.1
Database File
Database File
| Element tag | Attributes | Comment |
|---|---|---|
| <PRIMER_DATABASE | category = 'database name' | opening tag |
| protected = 'no' | ||
| Version data | ||
| <DEFAULT_VERSION | id = '<id>' | if not specified highest available version if default |
| <VERSION | descr = 'version name' | |
| id = '<id>' | <id> is integer version id | |
| Component data | ||
| <H1 | category = 'title' | |
| subcategory = 'subtitle' | ||
| thumbnail = 'filename' | optional | |
| owner = 'name of owner' | optional | |
| <COMPONENT | file = 'filename' | component file with absolute or relative path |
| version = '<id>' | version of this component | |
| <EXTRA_DATA | file = 'filename' | file for contact, etc which apply across components |
| <RENUMBERING | nelidlow = '<n>' | lower id for nodes/elem/nrb/nsets |
| nelidup = | upper id | |
| idlow = | lower id for other types | |
| idup = | upper id | |
| frozenlow = | lower id for range where labels are frozen | |
| frozenup = | upper | |
| entity renumber is optional | ||
| <CONNECTION_FILE | file = 'filename' | name of xml connection file |
| version = '<id>' | version of this file | |
| <CONNECTION_SETTINGS | target_title = '<title>' | destination component for connections |
| target_subtitle = '<subtitle' | ||
| Orientation of component by reference and tracked point | ||
| <REFERENCEPOINT | name = 'point name' | lower id for nodes/elem/nrb/nsets |
| <TRACKEDPOINT | Origin = '<x><y><z>' | coordinate |
| Origin_node = 'node' | may be id or name of node | |
| Ox = '<x><y><z>' | 2nd coordinate to define depenetration vector | |
| Ox_node = 'node' | ||
| Vector = '<x><y><z>' | depenetration vector | |
| Rotate = '<rx><ry><rz>' | rotation angles (defined for referencepoint only) | |
| Part = '<id>' | part for contact | |
| Partname = 'name' | ||
| Partset = '<id>' | part set for contact | |
| Partsetname = 'name' | ||
Here is an example of a simple database file to show the correct nesting of the elements.
XML |
<PRIMER_DATABASE category = 'New database' protected='no'> |