Class SampleLines
Contains static methods used to execute WisDOT commands related to Sample Lines.
Namespace: WisDOT
Assembly: WisDOT.Extensions.dll
Methods
ExportSampleLines(string)
Presents user with dialog to develop list of dwg that contain sample lines. The sample lines in the selected sample line groups can then be exported to a LandXML file.
Declaration
public static void ExportSampleLines(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 |
GetMaterialLists(ObjectId)
Get an array of material lists from a sample line
Declaration
public static string[] GetMaterialLists(ObjectId sampleLineId)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectId | sampleLineId | ObjectId of sample line |
Returns
| Type | Description |
|---|---|
| string[] | Array of material list names |
GetSampleLineIds()
Get all sample line ids in a drawing
Declaration
public static ObjectIdCollection GetSampleLineIds()
Returns
| Type | Description |
|---|---|
| ObjectIdCollection | ObjectIdCollection of all sample lines in the current drawing |
GetSampledSurfaceNames(ObjectId)
Get a list of sampled surfaces from a sample line
Declaration
public static List<string> GetSampledSurfaceNames(ObjectId sampleLineId)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectId | sampleLineId | ObjectId of sample line |
Returns
| Type | Description |
|---|---|
| List<string> | List of surface names |