This document is archived and information here might be outdated.  Recommended version.


ITinAdvanced2.ConvertToPolylines Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.ConvertToPolylines Method
ArcGIS Developer Help

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++]
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 [in, optional]
pFieldName is a parameter of type VARIANT*

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