<?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: which references required for connect objectdata (map 2019) in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8775100#M506</link>
    <description>&lt;P&gt;Moin!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i added references&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-07_11h08_03.png" style="width: 955px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/633840i6E032EF3E47B5174/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-07_11h08_03.png" alt="2019-05-07_11h08_03.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and define imports:&lt;/P&gt;
&lt;PRE&gt;Imports System
'Imports Microsoft.VisualBasic
Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.ApplicationServices

Imports ManagedMapApi
Imports OSGeo.MapGuide.Foundation
Imports OSGeo.MapGuide.PlatformBase&lt;/PRE&gt;
&lt;P&gt;and here the names of Imports are marked with no correction-options!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;????&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Addition:&lt;/P&gt;
&lt;P&gt;i have a new idea and reduce import to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;'Imports ManagedMapApi&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Imports OSGeo.MapGuide&lt;/PRE&gt;
&lt;P&gt;then the marked commands of starting this post are not marked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-07_11h15_48.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/633843iB2EEDED0B9760FEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-07_11h15_48.png" alt="2019-05-07_11h15_48.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;i hope it will works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards Jan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 09:17:05 GMT</pubDate>
    <dc:creator>jan_tappenbeck</dc:creator>
    <dc:date>2019-05-07T09:17:05Z</dc:date>
    <item>
      <title>which references required for connect objectdata (map 2019)</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8772657#M504</link>
      <description>&lt;P&gt;hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want to read objectdata and found example code by &lt;A href="https://forums.autodesk.com/t5/autocad-map-3d-developer/problem-accessing-objectdata/td-p/2911552" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-map-3d-developer/problem-accessing-objectdata/td-p/2911552&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but my problem&amp;nbsp;is which reference are required to call "Autodesk.Gis.Map.ObjectData.Tables" (this is marked in following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; Dim tables As Autodesk.Gis.Map.ObjectData.Tables = Autodesk.Gis.Map.HostMapApplicationServices.Application.ActiveProject.ODTables

            Using records As Autodesk.Gis.Map.ObjectData.Records = tables.GetObjectRecords(0, entity.Id, Autodesk.Gis.Map.Constants.OpenMode.OpenForRead, False&lt;/PRE&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could someone help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards Jan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 09:35:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8772657#M504</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2019-05-06T09:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: which references required for connect objectdata (map 2019)</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8773223#M505</link>
      <description>&lt;P&gt;"ManagedMapApi" is the reference and for me the path is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Program Files\Autodesk\AutoCAD 2018\Map\ManagedMapApi.dll&lt;/P&gt;
&lt;P&gt;You might also need OSGeo - depending on what your doing.&lt;/P&gt;
&lt;P&gt;C:\Program Files\Autodesk\AutoCAD 2018\Map\bin\GisPlatform contains&lt;/P&gt;
&lt;P&gt;OSGeo.MapGuide.Foundation.dll&lt;/P&gt;
&lt;P&gt;OSGeo.MapGuide.Geometry.dll&lt;/P&gt;
&lt;P&gt;OSGeo.MapGuide.PlatformBase.dll&lt;/P&gt;
&lt;P&gt;remember "Copy local" should be false.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 13:58:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8773223#M505</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2019-05-06T13:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: which references required for connect objectdata (map 2019)</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8775100#M506</link>
      <description>&lt;P&gt;Moin!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i added references&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-07_11h08_03.png" style="width: 955px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/633840i6E032EF3E47B5174/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-07_11h08_03.png" alt="2019-05-07_11h08_03.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and define imports:&lt;/P&gt;
&lt;PRE&gt;Imports System
'Imports Microsoft.VisualBasic
Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.ApplicationServices

Imports ManagedMapApi
Imports OSGeo.MapGuide.Foundation
Imports OSGeo.MapGuide.PlatformBase&lt;/PRE&gt;
&lt;P&gt;and here the names of Imports are marked with no correction-options!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;????&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Addition:&lt;/P&gt;
&lt;P&gt;i have a new idea and reduce import to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;'Imports ManagedMapApi&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Imports OSGeo.MapGuide&lt;/PRE&gt;
&lt;P&gt;then the marked commands of starting this post are not marked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-07_11h15_48.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/633843iB2EEDED0B9760FEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-07_11h15_48.png" alt="2019-05-07_11h15_48.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;i hope it will works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards Jan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 09:17:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8775100#M506</guid>
      <dc:creator>jan_tappenbeck</dc:creator>
      <dc:date>2019-05-07T09:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: which references required for connect objectdata (map 2019)</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8775592#M507</link>
      <description>&lt;P&gt;There is no namespace called "ManagedMapApi". Instead, the namespace in the ManagedMapApi.dll is like "Autodesk.Gis.Map...", that is, for dealing with ObjectData in AutoCAD Map, you probably need these "Imports..."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Imports Autodesk.Gis.Map&lt;/P&gt;
&lt;P&gt;Imports Autodesk.Gis.Map.Project&lt;/P&gt;
&lt;P&gt;Imports Autodesk.Gis.Map.ObjectData&lt;/P&gt;
&lt;P&gt;Imports Autodesk.Gis.Map.Constants&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/81963"&gt;@fieldguy&lt;/a&gt;&amp;nbsp;suggested, you may need those "OSGeo.xxx.xxx" depending on what you do with AutoCAD Map. If you only deal with ObjectData, not FDO data source, then there is no need to add references to those DLLs, which is harmless, but unnecessary dependencies to your project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 13:05:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/which-references-required-for-connect-objectdata-map-2019/m-p/8775592#M507</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2019-05-07T13:05:49Z</dc:date>
    </item>
  </channel>
</rss>

