<?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 What is the full path of a Featureclass? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697623#M18690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd go with whatever shows up in the Location: box in arccatalog when you have it selected in the treeview, which would be C:\Temp\WellData.gdb\Wells&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 16:32:01 GMT</pubDate>
    <dc:creator>KirkKuykendall</dc:creator>
    <dc:date>2010-04-22T16:32:01Z</dc:date>
    <item>
      <title>What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697622#M18689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm needing to get the full path of a featureclass.&amp;nbsp; So if I have a featureclass called "Wells" and it resides in C:\Temp\WellData.gdb what would be the full path?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 15:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697622#M18689</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2010-04-22T15:13:52Z</dc:date>
    </item>
    <item>
      <title>What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697623#M18690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd go with whatever shows up in the Location: box in arccatalog when you have it selected in the treeview, which would be C:\Temp\WellData.gdb\Wells&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 16:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697623#M18690</guid>
      <dc:creator>KirkKuykendall</dc:creator>
      <dc:date>2010-04-22T16:32:01Z</dc:date>
    </item>
    <item>
      <title>What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697624#M18691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure from where you are needing to access the path (ArcMap, ArcCatalog, etc) but here are a couple of examples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'ArcMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pMxDoc As IMxDocument&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pFL As IFeatureLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pDS As IDataset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pWS As IWorkspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pMxDoc = ThisDocument&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pFL = pMxDoc.SelectedLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pDS = pFL.FeatureClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pWS = pDS.Workspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox pWS.PathName &amp;amp; "\" &amp;amp; pDS.Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'ArcCatalog&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pGxApp As IGxApplication&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pGxObj As IGxObject&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pGxArray As IGxObjectArray&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pGxApp = Application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pGxObj = pGxApp.SelectedObject&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pGxArray = New GxObjectArray&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pGxArray.Insert -1, pGxObj&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox pGxArray.Item(0).FullName&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 16:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697624#M18691</guid>
      <dc:creator>JeffMatson</dc:creator>
      <dc:date>2010-04-22T16:34:28Z</dc:date>
    </item>
    <item>
      <title>What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697625#M18692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should also include the featuredataset's name in the path, if there is one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 16:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697625#M18692</guid>
      <dc:creator>KirkKuykendall</dc:creator>
      <dc:date>2010-04-22T16:38:05Z</dc:date>
    </item>
    <item>
      <title>What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697626#M18693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You should also include the featuredataset's name in the path, if there is one.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point Kirk; I rarely work with featureDataset but I suppose this could be added to the ArcMap example to make it more complete:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pFD As IFeatureDataset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pFD = pFL.FeatureClass.FeatureDataset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If pFD Is Nothing Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox pWS.PathName &amp;amp; "\" &amp;amp; pDS.Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox pWS.PathName &amp;amp; "\" &amp;amp; pFD.Name &amp;amp; "\" &amp;amp; pDS.Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 16:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697626#M18693</guid>
      <dc:creator>JeffMatson</dc:creator>
      <dc:date>2010-04-23T16:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697627#M18694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks to your description I got the full path of some feature classes in a feature dataset. I need it to split polygons at each vertex in order to calculate the centroid points of the lines afterwards (using VBA). The tool "split line at vertices" requires an input feature class (the geometry that will be split) and an output feature class (both as path names). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With shapefiles it works without any mistakes. But with feature classes in a feature dataset I get errors. Same problem with other tools that require a path name...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697627#M18694</guid>
      <dc:creator>CK</dc:creator>
      <dc:date>2010-05-17T08:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697628#M18695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure what would cause that, can you post your code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 14:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697628#M18695</guid>
      <dc:creator>JeffMatson</dc:creator>
      <dc:date>2010-05-18T14:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is the full path of a Featureclass?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697629#M18696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the mistake on my own. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 05:34:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/what-is-the-full-path-of-a-featureclass/m-p/697629#M18696</guid>
      <dc:creator>CK</dc:creator>
      <dc:date>2010-05-28T05:34:20Z</dc:date>
    </item>
  </channel>
</rss>

