Class Networks
Contains static methods to execute WisDOT pipe network and parts catalog commands.
Namespace: WisDOT
Assembly: WisDOT.Extensions.dll
Methods
AdjustStructureSumps()
For structures with zero sump, this adds a sump equal to the lowest pipe wall thickness.
Declaration
public static void AdjustStructureSumps()
Remarks
AssignPipeNetworkStyles(string)
Assigns part styles based on the part name.
Declaration
public static void AssignPipeNetworkStyles(string defaultCsv)
Parameters
| Type | Name | Description |
|---|---|---|
| string | defaultCsv | A default .csv file that maps parts names to styles using wildcards. Example format: ExMH,structure,Existing Manhole (Production) |
Remarks
CheckPayItems()
Checks all parts lists to see if the assigned pay items are contained in the drawing pay item file. Any invalid items are report to an Excel spreadsheet.
Declaration
public static void CheckPayItems()
CheckPipeSeparationAtStructure()
Checks the minimum chord distance between pipes at the inside wall of a selected cylinder structure.
Declaration
public static void CheckPipeSeparationAtStructure()
Remarks
ConnectApronToPipe()
Connects and orients a Inlet/Outlet structure to a selected pipe at the pipe end location.
Declaration
public static void ConnectApronToPipe()
ExportStructuresToCogoPtXML(string, string)
Creates a COGO Point LandXML file from pipe network structure data.
Declaration
public static void ExportStructuresToCogoPtXML(string xmlTemplate, string helpKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xmlTemplate | File path to a CogoPoint xml file template. |
| 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
MovePipeEnd()
Move a pipe end to a location at a specified elevation. That elevation will be assigned by snapping to the X, Y, and Z coordinates of an object.
Declaration
public static void MovePipeEnd()
Remarks
PartsListOrganizer(string)
Provides an interface to re-order parts in a parts list and save the results as a new parts list.
Declaration
public static void PartsListOrganizer(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 |
PlaceAllParts()
Places all parts listed in a selected parts list into the drawing.
Declaration
public static void PlaceAllParts()
RefreshNetworkParts()
Refreshes selected network parts to the parameters shown in the source parts list assigned to the parts' pipe network.
Declaration
public static void RefreshNetworkParts()
RenamePipes()
Renames all selected pipe network pipes to UpstreamStructureName-DownStreamStructureName.
Declaration
public static void RenamePipes()
Remarks
SwapPartsListStyles(string)
Changes the designated parts styles in a parts list to what is specified with option to update pipe network styles.
Declaration
public static void SwapPartsListStyles(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 |