ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced2.ConvertToPolylines Method

Converts qualified edges to a polyline feature class.

[Visual Basic .NET]
Public Sub ConvertToPolylines ( _
    ByVal pFeatureClass As IFeatureClass, _
    ByVal pFilter As ITinDynamicFilter, _
    [ByRef pFieldName As Object] _
)
[C#]
public void ConvertToPolylines (
    IFeatureClass pFeatureClass,
    ITinDynamicFilter pFilter,
    ref object pFieldName
);
[C#]

Optional Values

pFieldName   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT ConvertToPolylines(
  IFeatureClass* pFeatureClass,
  ITinDynamicFilter* pFilter,
  VARIANT* pFieldName
);
[C++]

Parameters

pFeatureClass

  pFeatureClass is a parameter of type IFeatureClass

pFilter [in]

  pFilter is a parameter of type ITinDynamicFilter

pFieldName [optional]   pFieldName is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Extracts embedded TIN polylines and writes them out to the specified feature class.

The specified feature class must exist and be polyline based.

If the feature class is Z enabled the polylines written to it will be 3D, otherwise they will be 2D.

The specified filter must be edge based (e.g. TinEdgeTypeFilter) and implement ITinDynamicFilter. You can use ITinEdgeTypeFilter2 with its RegularEdgesExcluded property set to TRUE to extract hard and soft breaklines as polyline features.

A field will be added to the feature class and is used to store a numeric code for the output features. In the case of edge type, a value of 1 is used for soft breaklines and 2 for hard. The added field will be called 'Code' unless you provide a different name via the optional field name argument.

Do not have WorkspaceEdit turned on as this member needs to add fields to the output feature class, a schema edit operation that WorkspaceEdit does not permit.

See Also

ITinAdvanced2 Interface