Class Corridors
Contains static methods to execute WisDOT commands related to corridors.
Namespace: WisDOT
Assembly: WisDOT.Extensions.dll
Methods
AddCodesToCodeSets(string)
This prompts user to select Assembies and/or Corridors. It will then compare all of the point codes in the corridor or assembly and compare it to what's in the assigned code set style. If a point code is not found in the codes set style, it looks for the best match that starts with the same characters as the missing code. It will look at all the possible matches in the code set style and pick the one that matches the most characters and use it as a template to add an additional code for the one that was missing.
Declaration
public static void AddCodesToCodeSets(string codeMapper = "")
Parameters
| Type | Name | Description |
|---|---|---|
| string | codeMapper |
AssignCorridorTargets(List<string>, string)
Assigns targets to a corridor region based on an input csv file.
Exports a region's assigned targets to a csv file.
Declaration
public static void AssignCorridorTargets(List<string> sampleDirectories, string helpKey)
Parameters
| Type | Name | Description |
|---|---|---|
| List<string> | sampleDirectories | Directory path were sample csv files are kept. |
| string | helpKey | The command name used to execute this method. This is used to look up the help url in the /en-US/HelpResources.csv |
Remarks
RebuildAllCorridorsAndSurfaces(string)
Rebuilds all corridors and surfaces
Declaration
public static void RebuildAllCorridorsAndSurfaces(string logFilePath = "")
Parameters
| Type | Name | Description |
|---|---|---|
| string | logFilePath | log file to report results |