<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [DotNet] Is it possible to create an elevation  Profile layer using Arc Engine in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343541#M9045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The help states that the class requires the 3d Analyst extension.&amp;nbsp; That's different than requiring a 3d Analyst license.&amp;nbsp; Not all of the objects in the 3d Analyst assemblies require any special licensing but in order to access and use them the assemblies for the extension must be installed.&amp;nbsp; I'm not very familiar with Engine as I don't use it much so I don't know if those assemblies are installed as part of the core product or not.&amp;nbsp; If they are, then I would say you don't have much need to worry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I first began programming with ArcObjects there weren't any resources to help developers like there are today - online resources website, sample code, tech articles, walkthroughs, etc.&amp;nbsp; The developer help was just a *.chm file that contained nothing more than an inventory of the interfaces, classes, methods, etc.&amp;nbsp; It didn't have any comments, remarks, guidance, etc. to help developers figure out how to use any of the ArcObjects classes.&amp;nbsp; So, yes, it was difficult.&amp;nbsp; What made it even worse was the fact that there were many more bugs in the software than there are today.&amp;nbsp; So, many times I would be trying to figure out how to get something to work only to find out after several days that my code had been correct all along and it wasn't working because of a bug in the ESRI code.&amp;nbsp; After you've worked with the ArcObjects object model for awhile, things get much easier.&amp;nbsp; The biggest hurdle most developers face is simply not knowing what interfaces and classes they need to be using for a specific task.&amp;nbsp; Once you get familiar with ESRI terminology and naming conventions you tend to find those things a lot quicker.&amp;nbsp; It also helps if you have a good memory.&amp;nbsp; In the beginning I did a lot of searching through that skeleton help document and in doing so I read the names of a lot of interfaces and classes.&amp;nbsp; Later on, when faced with a new task I'd remember seeing things that sounded like what I might need for that new task.&amp;nbsp; The ArcObjects library is huge.&amp;nbsp; I don't know what the count is up to now but at one time I believe the number of interfaces, classes, enums, etc. was around 30,000.&amp;nbsp; It just takes time to get familiar with all of that.&amp;nbsp; Using Google and the ESRI help site is the best way to find what you need.&amp;nbsp; I would also recommend going to the old user forums and searching there first (I don't think the current search includes those forums).&amp;nbsp; There's a decades worth of information on the old forums and while most of the code you'll find will be in VB6/VBA, I think it'll help.&amp;nbsp; The key is figuring out the keywords to search with.&amp;nbsp; You'll get better at that as you go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, I don't think you'll be able to use IDataGraphT.&amp;nbsp; A good rule of thumb, if it comes from an assembly whose name ends with "UI", it's Desktop only.&amp;nbsp; Sorry, I should have caught that.&amp;nbsp; You'll have to use a 3rd party graphing control or use the native Microsoft libraries like you mentioned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2012 13:09:34 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2012-03-16T13:09:34Z</dc:date>
    <item>
      <title>[DotNet] Is it possible to create an elevation  Profile layer using Arc Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343535#M9039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am upgrading a stand alone application (from &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;MapObjects 2.2&lt;/SPAN&gt;&lt;SPAN&gt;), to &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;#00FF00&amp;quot;;"&gt;ArcObjects 10&lt;/SPAN&gt;&lt;SPAN&gt; in DotNet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MapObjects did not support a dynamic Terrain Profile view - this feature was added manually (using windows Forms and custom elevation data processing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The input data is in the form of SRTM elevation files (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Shuttle_Radar_Topography_Mission" rel="nofollow" target="_blank"&gt;http://en.wikipedia.org/wiki/Shuttle_Radar_Topography_Mission&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The objective is to dynamically enable / disable a layer or view of an elevation profile for a given path over elevation data (i.e. set of lat/lon coordinates).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;The image below is an example (click to enlarge):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12587[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After a lot of reading and searching the ArcGIS forums I understand that the &lt;/SPAN&gt;&lt;SPAN style="color: &amp;quot;#800080&amp;quot;; font-style: italic;"&gt;spacial analyst&lt;/SPAN&gt;&lt;SPAN&gt; extension seems to be the correct extension for this feature - but I cannot find any references in the API for what I would like to do : create an elevation profile image from elevation data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also see that ARC Desktop has front end features to manage this sort of visualization - but I would like to do this programmatically with ArcEngine in my own stand alone application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would obviously be ideal if &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;ArcEngine&lt;/STRONG&gt;&lt;SPAN&gt; itself could handle this, without the need for an extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ESRI sales consultant explained to us that this would certainly be possible - could someone please point me in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 12:05:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343535#M9039</guid>
      <dc:creator>ManfredLauterbach</dc:creator>
      <dc:date>2012-03-12T12:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: [DotNet] Is it possible to create an elevation  Profile layer using Arc Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343536#M9040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it's possible.&amp;nbsp; The basic process would be to get the functional surface (ISurface) from your elevation layer, get/create a polyline (IPolyline) object that the profile should be based on, interpolate z-values for the polyline (ISurface.InterpolateShape) or call ISurface.GetProfile and then graph it.&amp;nbsp; You can use the built-in graph objects (IDataGraphT) or use a 3rd party graphing library to display the profile graph.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 12:44:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343536#M9040</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-12T12:44:06Z</dc:date>
    </item>
    <item>
      <title>Reading HGT files into a dataset</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343537#M9041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the initial guidance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to implement what you mentioned but am unable to find a way to load .hgt files (STRM data), using ArcEngine - I can read them in manually (with dotnet code), but would like to create a dataset from the data using ArcObjects in order to reach the next step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Created another thread for this : &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/52752-ArcEngine-DotNet-How-to-load-.hgt-files-into-a-dataset-and-then-elevation-layer"&gt;http://forums.arcgis.com/threads/52752-ArcEngine-DotNet-How-to-load-.hgt-files-into-a-dataset-and-then-elevation-layer&lt;/A&gt;&lt;SPAN&gt; in order to proceed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 08:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343537#M9041</guid>
      <dc:creator>ManfredLauterbach</dc:creator>
      <dc:date>2012-03-13T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Raster data check, elevation profile pending</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343538#M9042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok. Thanks to &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/52752-ArcEngine-DotNet-How-to-load-.hgt-files-into-a-dataset-and-then-elevation-layer"&gt;http://forums.arcgis.com/threads/52752-ArcEngine-DotNet-How-to-load-.hgt-files-into-a-dataset-and-then-elevation-ayer&lt;/A&gt;&lt;SPAN&gt; we now have a fully functional RasterDataset and RasterLayer, which were successfully tested with a RasterRenderer (UniqueValueRenderer) to display the SRTM height map on a map control. Excellent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moving right along, your suggestion was to create a surface from the said layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Taking a closer look at ISurface, it implements only RasterSurface and Tin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RasterSurface requires the 3DAnalyst extension (having to buy 3DAnalyst just for the terrain profile would be a bit unreasonable), and Tin requires the associated factory and workspace boilerplate architecture - which only reads in existing tin files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other sort of dedicated elevation profile interface which accepts raster elevation data as input?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 14:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343538#M9042</guid>
      <dc:creator>ManfredLauterbach</dc:creator>
      <dc:date>2012-03-14T14:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: [DotNet] Is it possible to create an elevation  Profile layer using Arc Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343539#M9043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think you need any additional licensing to do this.&amp;nbsp; I just ran the following VBA code in ArcMap 9.3.1 with all of my extensions turned off and it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Sub profileTest()
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim mxDocument As IMxDocument
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set mxDocument = ThisDocument
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim rasterLayer As IRasterLayer
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set rasterLayer = mxDocument.FocusMap.layer(7)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim surface As ISurface
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set surface = GetSurfaceFromLayer(rasterLayer)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim fromPoint As IPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set fromPoint = New point
&amp;nbsp;&amp;nbsp;&amp;nbsp; fromPoint.PutCoords 286000, 4271200
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim toPoint As IPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set toPoint = New point
&amp;nbsp;&amp;nbsp;&amp;nbsp; toPoint.PutCoords 286500, 4271200
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim polyline As IPolyline
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set polyline = New polyline
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyline.fromPoint = fromPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyline.toPoint = toPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; surface.GetProfile polyline, polyline
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pointCollection As IPointCollection
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pointCollection = polyline
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim i As Long
&amp;nbsp;&amp;nbsp;&amp;nbsp; For i = 0 To pointCollection.PointCount - 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim point As IPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set point = pointCollection.point(i)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox point.X &amp;amp; ", " &amp;amp; point.Y &amp;amp; ", " &amp;amp; point.Z
&amp;nbsp;&amp;nbsp;&amp;nbsp; Next i
End Sub

 Function GetSurfaceFromLayer(rasterLayer As IRasterLayer) As ISurface
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim surface As ISurface
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim layerExtensions As ILayerExtensions
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set layerExtensions = rasterLayer
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim i As Long
&amp;nbsp;&amp;nbsp;&amp;nbsp; For i = 0 To layerExtensions.ExtensionCount - 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim dddProperties As I3DProperties
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set dddProperties = layerExtensions.Extension(i)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If dddProperties.BaseOption = esriBaseSurface Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set surface = dddProperties.BaseSurface
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
&amp;nbsp;&amp;nbsp;&amp;nbsp; Next
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; If surface Is Nothing Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim rasterBandCollection As IRasterBandCollection
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set rasterBandCollection = rasterLayer.Raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim rasterBand As IRasterBand
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set rasterBand = rasterBandCollection.Item(0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim rasterSurface As IRasterSurface
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set rasterSurface = New rasterSurface
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rasterSurface.rasterBand = rasterBand
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set surface = rasterSurface
&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set GetSurfaceFromLayer = surface
End Function
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343539#M9043</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2021-12-11T16:11:39Z</dc:date>
    </item>
    <item>
      <title>Half the problem solved - ArcEngine ambiguity?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343540#M9044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil - that certainly does work despite the stated requirement for 3DAnalyst (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/RasterSurfaceClass_Class/0009000001n3000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/RasterSurfaceClass_Class/0009000001n3000000/&lt;/A&gt;&lt;SPAN&gt;) - which concerns me enough not to use this as a permanent solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#800000&amp;quot;;"&gt;[rant]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;before continuing, could you please give me an honest opinion : I see you've been working with ArcObjects for at least 10 years now? - Did you experience the same difficulty trying to implement new features as I am now? Having worked in the application development industry for almost 10 years myself I certainly don't consider myself a blundering novice either - yet I find myself being incredibly frustrated by the amount of time I have to spend trying to search and sift through documentation and reply on forum support in order to accomplish something with ArcEngine... am I doing something wrong? If half my answers are coming from experienced developers or architects that have worked with ArcObjects before then perhaps I'm missing something important.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#800000&amp;quot;;"&gt;[/rant]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Back to the problem at hand&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also tried to implement &lt;/SPAN&gt;&lt;STRONG&gt;IDataGraphT&lt;/STRONG&gt;&lt;SPAN&gt; as you mentioned earlier, but ran into some confusing information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00120000034p000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00120000034p000000&lt;/A&gt;&lt;SPAN&gt; states that IDataGraphT is supported by ArcEngine...&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000013w000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000013w000000&lt;/A&gt;&lt;SPAN&gt; states that a license for ArcView, ArcEditor or ArcInfo is required (no mention of ArcEngine) - the sample also shows an ArcView license being initialized in order to proceed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My own code is obviously initializing ArcEngine and fails as soon as I try to instantiate DataGraphT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
IDataGraphT dataGraphT = new DataGraphTClass();
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;"Retrieving the COM class factory for component with CLSID {58B570A4-02AE-44FC-B36F-630AE32EA4E4} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way, producing a polyline with height values from the raster dataset is already a huge step forward (can use this for an terrain elevation overlay). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there are no other means of creating a terrain profile as shown in the picture in the first post, then I'll have to stick with drawing everything manually using Windows GDI (as with Map Objects).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for the support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343540#M9044</guid>
      <dc:creator>ManfredLauterbach</dc:creator>
      <dc:date>2021-12-11T16:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: [DotNet] Is it possible to create an elevation  Profile layer using Arc Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343541#M9045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The help states that the class requires the 3d Analyst extension.&amp;nbsp; That's different than requiring a 3d Analyst license.&amp;nbsp; Not all of the objects in the 3d Analyst assemblies require any special licensing but in order to access and use them the assemblies for the extension must be installed.&amp;nbsp; I'm not very familiar with Engine as I don't use it much so I don't know if those assemblies are installed as part of the core product or not.&amp;nbsp; If they are, then I would say you don't have much need to worry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I first began programming with ArcObjects there weren't any resources to help developers like there are today - online resources website, sample code, tech articles, walkthroughs, etc.&amp;nbsp; The developer help was just a *.chm file that contained nothing more than an inventory of the interfaces, classes, methods, etc.&amp;nbsp; It didn't have any comments, remarks, guidance, etc. to help developers figure out how to use any of the ArcObjects classes.&amp;nbsp; So, yes, it was difficult.&amp;nbsp; What made it even worse was the fact that there were many more bugs in the software than there are today.&amp;nbsp; So, many times I would be trying to figure out how to get something to work only to find out after several days that my code had been correct all along and it wasn't working because of a bug in the ESRI code.&amp;nbsp; After you've worked with the ArcObjects object model for awhile, things get much easier.&amp;nbsp; The biggest hurdle most developers face is simply not knowing what interfaces and classes they need to be using for a specific task.&amp;nbsp; Once you get familiar with ESRI terminology and naming conventions you tend to find those things a lot quicker.&amp;nbsp; It also helps if you have a good memory.&amp;nbsp; In the beginning I did a lot of searching through that skeleton help document and in doing so I read the names of a lot of interfaces and classes.&amp;nbsp; Later on, when faced with a new task I'd remember seeing things that sounded like what I might need for that new task.&amp;nbsp; The ArcObjects library is huge.&amp;nbsp; I don't know what the count is up to now but at one time I believe the number of interfaces, classes, enums, etc. was around 30,000.&amp;nbsp; It just takes time to get familiar with all of that.&amp;nbsp; Using Google and the ESRI help site is the best way to find what you need.&amp;nbsp; I would also recommend going to the old user forums and searching there first (I don't think the current search includes those forums).&amp;nbsp; There's a decades worth of information on the old forums and while most of the code you'll find will be in VB6/VBA, I think it'll help.&amp;nbsp; The key is figuring out the keywords to search with.&amp;nbsp; You'll get better at that as you go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, I don't think you'll be able to use IDataGraphT.&amp;nbsp; A good rule of thumb, if it comes from an assembly whose name ends with "UI", it's Desktop only.&amp;nbsp; Sorry, I should have caught that.&amp;nbsp; You'll have to use a 3rd party graphing control or use the native Microsoft libraries like you mentioned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 13:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/dotnet-is-it-possible-to-create-an-elevation-nbsp/m-p/343541#M9045</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-16T13:09:34Z</dc:date>
    </item>
  </channel>
</rss>

