Imported and exported XML data is in the following general format:
<Ship Version="1.3">
<Material Grade="grade*name"/>
.
.
<BarSection BarSectionId="section*name">...</BarSection>
.
.
<HoleDef HoleDefId="hole*name">...</HoleDef>
.
.
<NotchDef NotchDefId="notch*name">...</NotchDef>
.
.
<Block ObjId="block*name">...</Block>
.
.
</Ship>
Reference data for material, profile cross-sections, holes, and features is contained within the <Material>, <BarSection>, <HoleDef>, <CutoutDef>, and <NotchDef> tags.
Model data is contained in additional tags within the <Block> tag. Each data type has additional parameters and options.
Attribute Naming Between Smart 3D and Imported Structure
In Smart 3D, plate and profile parts have attributes on their edges, faces, and vertices. When objects are connected, the needed attributes are associated with the connection.
Because imported structure cannot be modified in Smart 3D, it is typically used as background structure for equipment, piping, and other outfitting. As a result, connections are created between Smart 3D outfitting and the imported structure. Attributes are also needed for the imported structure. The unique ObjId and CompId of plate Limit, NotchRef, CutoutRef, and HoleRef attributes are used to name edges and vertices. Edges are collected to name plate faces. For stiffeners, cross-sections from the catalog are also used to name the edges, faces, and vertices. These names must remain consistent so that the structure is properly processed if it is re-imported, and connections and connected outfitting are not deleted.