Class TinSurfaces
Contains static methods used to execute WisDOT commands related to surfaces.
Namespace: WisDOT
Assembly: WisDOT.Extensions.dll
Methods
AddCorridorEntityAsBreakline()
Adds a corridor entity to a surface definition as a breakline. The breakline is in the form of a siteless feature line that is tied to a corridor surface elevation.
Declaration
public static void AddCorridorEntityAsBreakline()
CreateCorridorSurfaces(string, List<string>)
Create corridor surfaces for a selected corridor based on parameters specified in a csv file.
Declaration
public static void CreateCorridorSurfaces(string helpKey, List<string> defaultCsvDirs)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
| List<string> | defaultCsvDirs | The path the default CSV used to create mutliple surfaces |
Remarks
CSV format: {Create="X", Name where '*' inserts corridor name, surface style name, semi-colon separated feature line codes, semi-colon separated link codes}
https://c3dkb.dot.wi.gov/Content/c3d/wisdot-cstm/c3d-tab/dsn/dsn-crdr-creat-crdr-srfc.htm
CreateCorridorSurfacesLegacy(string)
Create corridor surfaces for a selected corridor based on parameters specified in a csv file.
Declaration
public static void CreateCorridorSurfacesLegacy(string defaultCsv)
Parameters
| Type | Name | Description |
|---|---|---|
| string | defaultCsv |
Remarks
CSV format: {Create="X", Name where '*' inserts corridor name, surface style name, semi-colon separated feature line codes, semi-colon separated link codes}
https://c3dkb.dot.wi.gov/Content/c3d/wisdot-cstm/c3d-tab/dsn/dsn-crdr-creat-crdr-srfc.htm
CreateCroppedSurfaces()
Creates cropped surfaces in the same drawing as the source surface.
Declaration
public static void CreateCroppedSurfaces()
Remarks
CreateMappingSurfaceFromPntFlt()
Automates the process of creating surface objects from WisDOT PNT and FLT Files.
Declaration
public static void CreateMappingSurfaceFromPntFlt()
Remarks
CreateVerificationSurface(string, string)
Copies the pertinent breakline and boundary data from a raw breakline file into a new file and creates a new surface from that data.
Declaration
public static void CreateVerificationSurface(string templateFile, string helpKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | templateFile | DWT file used to create the new verification surface file. |
| 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
CreateWallSurface(string)
Creates a nearly vertical surface from wall breaklines.
Declaration
public static void CreateWallSurface(string defaultStyle = "Top Triangles")
Parameters
| Type | Name | Description |
|---|---|---|
| string | defaultStyle | Name of style assigned to the resulting surface. |
Remarks
GetSurfaceIdByName(string)
Get a surface ObjectId from its name
Declaration
public static ObjectId GetSurfaceIdByName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of surface |
Returns
| Type | Description |
|---|---|
| ObjectId | Surface name |
ShrinkwrapCorridorSurfacePaletteSet(string)
Creates a shrink wrap boundary for the selected corridor surface based on the selected point and/or link codes.
Declaration
public static void ShrinkwrapCorridorSurfacePaletteSet(string helpKey)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |