Details on the XML Files for Referencing User-Defined Pipe/Duct Systems
Information on the XML files for referencing user-defined pipe and duct 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 and the file RvdtIndex.xml for duct systems.
Structure of the XML files
Content of the XML file RvptIndex.xml:
<?xml version=”1.0” encoding=”utf-8”?> <Root> <Rvpt name=”Test manufacturer - steel 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 RvdtIndex.xml:
<?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>
Description of the XML elements contained
XML element | Description |
---|---|
Rvpt/Rvdt | Main XML node for pipe systems (Rvpt ) or duct systems (Rvdt ), in which the pipe or duct 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 | List of system types in which the user-defined pipe or duct 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.). |
dimensions | List of the nominal widths that should be available for the user-defined pipe or duct type. The elements of the list must be separated by a semicolon. |