Product(s): | InRoads, MX, GEOPAK |
Version(s): | 08.11.09+ |
Area: | Amalysis & Reporting |
Original Author: | Kevin McDonald, Bentley Technical Support Group |
Problem:
Can I change the Cardinal Point abbreviations used in reports? If so, how?
Solution:
Yes, it can be done. Points like P.C & S.C. are hard coded in the reports for SELECT series 3 folders:
C:\ProgramData\Bentley\Civil\ReportBrowser\8.11.9\en\CivilGeometry.
To change, navigate to
C:\ProgramData\Bentley\Civil\ReportBrowser\8.11.9\en\format.xsl
and edit as needed by changing the return value.
// Converts the point type to a user defined type, modify the value after the return, not the case value
// As an example case "POB" : return "P.O.B."; will change the POB to P.O.B.
// If in doubt, contact Development
//
function pointType( pointSubtype )
{
switch ( pointSubtype )
{
case "POB" : return "POB";
case "POE" : return "POE";
case "PC" : return "PC";
case "PT" : return "PT";
case "PI" : return "PI";
case "CC" : return "CC";
case "PRC" : return "PRC";
case "PCC" : return "PCC";
case "TS" : return "TS";
case "SC" : return "SC";
case "CS" : return "CS";
case "ST" : return "ST";
case "SPI" : return "SPI";
case "SS" : return "SS";
case "POT" : return "POT";
case "POC" : return "POC";
case "POS" : return "POS";
case "PVC" : return "PVC";
case "PVI" : return "PVI";
case "PVT" : return "PVT";
case "PVCC" : return "PVCC";
case "PVRC" : return "PVRC";
case "VHigh" : return "HP";
case "VLow" : return "LP";
case "POVT" : return "POVT";
case "POVC" : return "POVC";
default: return pointSubtype;