Details on XML Files for Referencing Custom Pipe, Duct, Cable Tray and Conduit Systems
Information on the XML files for referencing user-defined pipe, duct, cable tray and conduit systems in the LINEAR Solutions.
In the directory C:\Program Files (x86)\liNear Software\Solutions xx\CAD\RevitMain\User-Standards\User Templates you will find the file RvptIndex.xml for referencing user-defined pipe systems, the file RvdtIndex.xml for duct systems and the file RvetIndex.xml for duct and conduit systems.
Structure of the XML files
Content of the XML file RvptIndex.xml for user-defined pipe systems:
<?xml version=”1.0” encoding=”utf-8”?> <Root> <Rvpt name=”Test manufacturer - stelll welded” file=”Template.rte” manufacturer=”Test manufacturer” disciplines="H;TW"> <dimensions>12;15;20;25;32;40;50;60;65;80;100;120</dimensions> </Rvpt> </Root>
Content of the XML file RvptIndex.xml for user-defined duct systems:
<?xml version="1.0" encoding="utf-8"?> <Root> <Rvdt name="Example Duct-Type" file="Example.rte" manufacturer="Example Manufacturer" disciplines="L" shape="rectangular"> <dimensions>12;15;20;25;32;40;50;60;65;80;100</dimensions> </Rvdt> </Root>
Content of the XML file RvptIndex.xml for user-defined cable trays and conduit systems:
<?xml version="1.0" encoding="utf-8"?> <Root> <Rvtt name="Example Cable-Tray-Type" file="Example.rte" manufacturer="Example Manufacturer" disciplines="E" shape="rectangular"> <dimensions>12;15;20;25;32;40;50;60;65;80;100</dimensions> </Rvtt> <Rvct name="Example Conduit-Type" file="Example.rte" manufacturer="Example Manufacturer" disciplines="E" shape="round"> <dimensions>12;15;20;25;32;40;50;60;65;80;100</dimensions> </Rvct> </Root>
Description of the XML elements contained
XML element | Description |
---|---|
Rvpt/Rvdt/Rvtt/Rvct | Main XML nodes for pipe systems (Rvpt ), duct systems (Rvdt ), cable trays (Rvtt ) and conduits (Rvct) , in which the pipe, duct, cable tray or conduit system is referenced via the attributes name, file, manufacturer and disciplines. |
name | Name of the pipe type used in the Revit project template file. |
file | Name of the Revit project template file including file extension that is saved in the subfolder of the XML files. |
manufacturer | Name of the manufacturer used in the Revit project template file. |
disciplines | Listing of the system types in which the user-defined pipe, duct, cable tray or conduit type should be available. The elements of the list must be separated by a semicolon. Note: The abbreviations for the system types correspond to the abbreviations commonly used in Revit (H for heating, WW for waste water, etc.). |
Shape | Information on the shape of the respective duct, cable duct or conduit. |
dimensions | Listing of the nominal diameters that should be available for the user-defined pipe, duct, cable duct or conduit type. The elements of the list must be separated by a semicolon. |