<?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: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297695#M69799</link>
    <description>Ignore my gibberish below about downcasting interfaces.&lt;BR /&gt;
&lt;BR /&gt;
Contrary to what I suggested, AutoCAD always creates the&lt;BR /&gt;
corresponding collection interface when you try to get a&lt;BR /&gt;
built-in dictionary object such as the group dictionary.&lt;BR /&gt;
&lt;BR /&gt;
The confusion on my part comes largely from my routine&lt;BR /&gt;
use of a method in AcadX that returns these same objects&lt;BR /&gt;
as AcadDictionary objects instead of their associated&lt;BR /&gt;
Collection object.&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO at="" caddzone="" dot="" com=""&gt; wrote in message &amp;gt;&lt;BR /&gt;
&amp;gt; There is a hitch when downcasting interfaces in .net, which&lt;BR /&gt;
&amp;gt; is that when AutoCAD creates an interface for an object, it&lt;BR /&gt;
&amp;gt; uses a CLSID provided by that object's ObjectARX class, and&lt;BR /&gt;
&amp;gt; the Interop seems to just use that interface rather than&lt;BR /&gt;
&amp;gt; trying to query the object for a different one.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In the case of built-in dictionaries like ACAD_GROUP and&lt;BR /&gt;
&amp;gt; ACAD_LAYOUTS, the ObjectARX classes that wrap these built-&lt;BR /&gt;
&amp;gt; in dictionaries do not return the CLSID for an AcadDictionary,&lt;BR /&gt;
&amp;gt; but rather they return the CLSIDs for the corresponding&lt;BR /&gt;
&amp;gt; Collection interfaces (IAcadGroups for the Groups dictionary,&lt;BR /&gt;
&amp;gt; for example).  And, that's what COM wrapper ends up being&lt;BR /&gt;
&amp;gt; created for the built-in dictionary object. And, since those&lt;BR /&gt;
&amp;gt; same wrapper interfaces do not support AcadDictionary, the&lt;BR /&gt;
&amp;gt; QueryInterface that the Interop performs when you try to cast&lt;BR /&gt;
&amp;gt; an AcadObject to an AcadDictionary is failing.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For example, this code gets the AcadGroups collection from&lt;BR /&gt;
&amp;gt; the ACAD_GROUP dictionary object, and demonstrates that the&lt;BR /&gt;
&amp;gt; COM wrapper that is created for the built-in dictionary object&lt;BR /&gt;
&amp;gt; is actually the corresponding collection interface:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AutoCAD.AcadApplication Acad;&lt;BR /&gt;
&amp;gt;    Acad = (AutoCAD.AcadApplication)&lt;BR /&gt;
&amp;gt;       Marshal.GetActiveObject("AutoCAD.Application");&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AutoCAD.AcadObject AnObject;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    // Get the groups dictionary:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AnObject = Acad.ActiveDocument.Dictionaries.Item("ACAD_GROUP");&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    // Cast the groups dictionary to the Groups collection:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AutoCAD.IAcadGroups Groups;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    Groups = (AutoCAD.IAcadGroups) AnObject;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/TONY.TANZILLO&gt;</description>
    <pubDate>Thu, 10 Oct 2002 20:53:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-10-10T20:53:13Z</dc:date>
    <item>
      <title>C#.NET and AutoCAD Dictionary objects.</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297687#M69791</link>
      <description>I have done some extensive work with Dictionaries (xRecords), and XData.  I&lt;BR /&gt;
have been able to replicate read/write of xData, and write of xrecords in&lt;BR /&gt;
C#.NET.  However, I have been able to read xrecords, or even open a&lt;BR /&gt;
dictionary at all using .NET.&lt;BR /&gt;
&lt;BR /&gt;
The problem is is the casting of types.  Here is some code to add a&lt;BR /&gt;
dictionary (works)...&lt;BR /&gt;
&lt;BR /&gt;
source.AcadDocument.Dictionaries.Add(mstrDictName);&lt;BR /&gt;
&lt;BR /&gt;
no problem, but here is what I am doing to get a reference to the dictionary&lt;BR /&gt;
object...&lt;BR /&gt;
=====================================================================&lt;BR /&gt;
public static AutoCAD.AcadDictionaryClass Dictionary(ACAD.Document source)&lt;BR /&gt;
{&lt;BR /&gt;
    //An Acad.Document object is a special object of mine which contains a&lt;BR /&gt;
reference to an&lt;BR /&gt;
    //  AutoCAD "AcadDocumentClass" object.&lt;BR /&gt;
 AutoCAD.AcadObject aoDict;&lt;BR /&gt;
 AutoCAD.AcadDictionaryClass adDict;&lt;BR /&gt;
 try&lt;BR /&gt;
 {&lt;BR /&gt;
  aoDict = source.AcadDocument.Dictionaries.Item(mstrDictName);&lt;BR /&gt;
  if (aoDict != null)&lt;BR /&gt;
  {&lt;BR /&gt;
   //adDict = (AutoCAD.AcadDictionaryClass)aoDict; //(doesn't work)&lt;BR /&gt;
   //adDict = aoDict as AutoCAD.AcadDictionaryClass; //(doesn't work)&lt;BR /&gt;
   object oD = source.AcadDocument.HandleToObject(aoDict.Handle);&lt;BR /&gt;
    //HandleToObject returns an "AcadObject" type.&lt;BR /&gt;
   adDict = oD as AutoCAD.AcadDictionaryClass; //doesn't work&lt;BR /&gt;
   return adDict;&lt;BR /&gt;
  }&lt;BR /&gt;
  else&lt;BR /&gt;
  {// does not exist in this document.&lt;BR /&gt;
   return null;&lt;BR /&gt;
  }&lt;BR /&gt;
 }&lt;BR /&gt;
 catch (Exception ex)&lt;BR /&gt;
 {&lt;BR /&gt;
  throw new InvalidOperationException("Problem reading Boundary Dictionary&lt;BR /&gt;
from AutoCAD.", ex);&lt;BR /&gt;
 }&lt;BR /&gt;
}&lt;BR /&gt;
=====================================================================&lt;BR /&gt;
&lt;BR /&gt;
As you can see i tried 3 ways.  The problem is that the original object&lt;BR /&gt;
returned from the indexer of the dictionaries collection is an "AcadObject".&lt;BR /&gt;
&lt;BR /&gt;
First of all, it should return an AcadDictionary.  How could the&lt;BR /&gt;
Dictionaries collection contain anything but a Dictionary?  It probably is&lt;BR /&gt;
just another problem with the auto-generated wrapper.  Although I am&lt;BR /&gt;
currently using the wrapper from AcadX (www.acadx.com) which fixes the event&lt;BR /&gt;
bug in the auto-generated wrapper.&lt;BR /&gt;
&lt;BR /&gt;
It seems none of the 3 ways of casting to a dictionary from an AcadObject&lt;BR /&gt;
works.  Anyone have any other ideas?  I have trouble casting from any&lt;BR /&gt;
AutoCAD type to any other AutoCAD type actually...  IE. AcadEntity to&lt;BR /&gt;
AcadArc or AcadLine...&lt;BR /&gt;
&lt;BR /&gt;
Michael</description>
      <pubDate>Thu, 10 Oct 2002 08:56:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297687#M69791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: C#.NET and AutoCAD Dictionary objects.</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297688#M69792</link>
      <description>Michael Lang had this to say&lt;BR /&gt;
:&lt;BR /&gt;
&amp;gt; It seems none of the 3 ways of casting to a dictionary from an&lt;BR /&gt;
&amp;gt; AcadObject works.&lt;BR /&gt;
&lt;BR /&gt;
It seems that in each case, your are attempting to cast to&lt;BR /&gt;
AcadDictionaryClass. Have you tried casting to AcadDictionary?&lt;BR /&gt;
&lt;BR /&gt;
While it may seem trivial, the former is a class while the latter is an&lt;BR /&gt;
interface. Many calls return an interface supported by the object in&lt;BR /&gt;
question and C# prohibits casting between interfaces and classes.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
There are 10 kinds of people:&lt;BR /&gt;
Those who understand binary and those who don't&lt;BR /&gt;
http://www.acadx.com</description>
      <pubDate>Thu, 10 Oct 2002 08:56:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297688#M69792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297689#M69793</link>
      <description>I just tried doing that.  The cast does work.  However, All the properties&lt;BR /&gt;
don't exist on that returned object.  For instance I can't query the Count&lt;BR /&gt;
property to get the number of xrecords, or use the Item property.&lt;BR /&gt;
&lt;BR /&gt;
===========================================&lt;BR /&gt;
for (int i = 0; i &amp;lt; adDict.Count; i++)&lt;BR /&gt;
{&lt;BR /&gt;
 AutoCAD.AcadXRecordClass xrec;&lt;BR /&gt;
 try&lt;BR /&gt;
 {&lt;BR /&gt;
  AutoCAD.AcadObject aoRec = adDict.Item(i);&lt;BR /&gt;
  xrec = aoRec as AutoCAD.AcadXRecordClass;&lt;BR /&gt;
  Boundary nextBdy = new Boundary(myDoc, myDefs, xrec);&lt;BR /&gt;
  this.Add(nextBdy);&lt;BR /&gt;
 }&lt;BR /&gt;
 catch&lt;BR /&gt;
 {}&lt;BR /&gt;
}&lt;BR /&gt;
===========================================&lt;BR /&gt;
&lt;BR /&gt;
both the call to adDict.Count, and adDict.Item(i) throw the same error:&lt;BR /&gt;
&lt;BR /&gt;
============================================================================&lt;BR /&gt;
===========&lt;BR /&gt;
System.NullReferenceException: Object reference not set to an instance of an&lt;BR /&gt;
object.&lt;BR /&gt;
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)&lt;BR /&gt;
    at&lt;BR /&gt;
System.Windows.Forms.ComponentManager.&lt;BR /&gt;
System.Windows.Forms.UnsafeNativeMethods+IMsoComonentManager.FPush&lt;BR /&gt;
MessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)&lt;BR /&gt;
    at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,&lt;BR /&gt;
ApplicationContext context)&lt;BR /&gt;
    at System.Windows.Forms.Application.Run(Form mainForm)&lt;BR /&gt;
    at Hagerman.SpacePlanner.Startup.Main() in ...&lt;FILE and="" line="" number=""&gt;&lt;BR /&gt;
here&amp;gt;...&lt;BR /&gt;
============================================================================&lt;BR /&gt;
===========&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKOATACADXDOTCOM&gt; wrote in message&lt;BR /&gt;
news:A930F9A4734FEFD334A0895497EE3027@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Michael Lang had this to say&lt;BR /&gt;
&amp;gt; :&lt;BR /&gt;
&amp;gt; &amp;gt; It seems none of the 3 ways of casting to a dictionary from an&lt;BR /&gt;
&amp;gt; &amp;gt; AcadObject works.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; It seems that in each case, your are attempting to cast to&lt;BR /&gt;
&amp;gt; AcadDictionaryClass. Have you tried casting to AcadDictionary?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; While it may seem trivial, the former is a class while the latter is an&lt;BR /&gt;
&amp;gt; interface. Many calls return an interface supported by the object in&lt;BR /&gt;
&amp;gt; question and C# prohibits casting between interfaces and classes.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; There are 10 kinds of people:&lt;BR /&gt;
&amp;gt; Those who understand binary and those who don't&lt;BR /&gt;
&amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/FRANKOATACADXDOTCOM&gt;&lt;/FILE&gt;</description>
      <pubDate>Thu, 10 Oct 2002 09:27:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297689#M69793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297690#M69794</link>
      <description>Michael Lang had this to say&lt;BR /&gt;
:&lt;BR /&gt;
&amp;gt; I just tried doing that.  The cast does work.&lt;BR /&gt;
&lt;BR /&gt;
I'll have a closer look at that later tonight. I'll be sure to let you&lt;BR /&gt;
know what I find. In the meantime: good luck.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
There are 10 kinds of people:&lt;BR /&gt;
Those who understand binary and those who don't&lt;BR /&gt;
http://www.acadx.com</description>
      <pubDate>Thu, 10 Oct 2002 09:27:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297690#M69794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297691#M69795</link>
      <description>hi michael,&lt;BR /&gt;
&lt;BR /&gt;
i'm not familiar with xrecords and also not with c#, but i got troubles when&lt;BR /&gt;
i used "Integer" instead of "Int16", .net changed the default datatypes, the&lt;BR /&gt;
datatype "Integer" now depends on your operating-system/processor.&lt;BR /&gt;
it's just a try for help, don't mind if not.&lt;BR /&gt;
&lt;BR /&gt;
regards, alfred&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Michael Lang" &lt;M&gt; schrieb im Newsbeitrag&lt;BR /&gt;
news:DF2392AB7DB5062C7C8D1EE9B5F484FD@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I just tried doing that.  The cast does work.  However, All the properties&lt;BR /&gt;
&amp;gt; don't exist on that returned object.  For instance I can't query the Count&lt;BR /&gt;
&amp;gt; property to get the number of xrecords, or use the Item property.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; ===========================================&lt;BR /&gt;
&amp;gt; for (int i = 0; i &amp;lt; adDict.Count; i++)&lt;BR /&gt;
&amp;gt; {&lt;BR /&gt;
&amp;gt;  AutoCAD.AcadXRecordClass xrec;&lt;BR /&gt;
&amp;gt;  try&lt;BR /&gt;
&amp;gt;  {&lt;BR /&gt;
&amp;gt;   AutoCAD.AcadObject aoRec = adDict.Item(i);&lt;BR /&gt;
&amp;gt;   xrec = aoRec as AutoCAD.AcadXRecordClass;&lt;BR /&gt;
&amp;gt;   Boundary nextBdy = new Boundary(myDoc, myDefs, xrec);&lt;BR /&gt;
&amp;gt;   this.Add(nextBdy);&lt;BR /&gt;
&amp;gt;  }&lt;BR /&gt;
&amp;gt;  catch&lt;BR /&gt;
&amp;gt;  {}&lt;BR /&gt;
&amp;gt; }&lt;BR /&gt;
&amp;gt; ===========================================&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; both the call to adDict.Count, and adDict.Item(i) throw the same error:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
============================================================================&lt;BR /&gt;
&amp;gt; ===========&lt;BR /&gt;
&amp;gt; System.NullReferenceException: Object reference not set to an instance of&lt;BR /&gt;
an&lt;BR /&gt;
&amp;gt; object.&lt;BR /&gt;
&amp;gt;     at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)&lt;BR /&gt;
&amp;gt;     at&lt;BR /&gt;
&amp;gt; System.Windows.Forms.ComponentManager.&lt;BR /&gt;
&amp;gt; System.Windows.Forms.UnsafeNativeMethods+IMsoComonentManager.FPush&lt;BR /&gt;
&amp;gt; MessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)&lt;BR /&gt;
&amp;gt;     at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,&lt;BR /&gt;
&amp;gt; ApplicationContext context)&lt;BR /&gt;
&amp;gt;     at System.Windows.Forms.Application.Run(Form mainForm)&lt;BR /&gt;
&amp;gt;     at Hagerman.SpacePlanner.Startup.Main() in ...&lt;FILE and="" line="" number=""&gt;&lt;BR /&gt;
&amp;gt; here&amp;gt;...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
============================================================================&lt;BR /&gt;
&amp;gt; ===========&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Frank Oquendo" &lt;FRANKOATACADXDOTCOM&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:A930F9A4734FEFD334A0895497EE3027@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Michael Lang had this to say&lt;BR /&gt;
&amp;gt; &amp;gt; :&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; It seems none of the 3 ways of casting to a dictionary from an&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; AcadObject works.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; It seems that in each case, your are attempting to cast to&lt;BR /&gt;
&amp;gt; &amp;gt; AcadDictionaryClass. Have you tried casting to AcadDictionary?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; While it may seem trivial, the former is a class while the latter is an&lt;BR /&gt;
&amp;gt; &amp;gt; interface. Many calls return an interface supported by the object in&lt;BR /&gt;
&amp;gt; &amp;gt; question and C# prohibits casting between interfaces and classes.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; There are 10 kinds of people:&lt;BR /&gt;
&amp;gt; &amp;gt; Those who understand binary and those who don't&lt;BR /&gt;
&amp;gt; &amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/FRANKOATACADXDOTCOM&gt;&lt;/FILE&gt;&lt;/M&gt;</description>
      <pubDate>Thu, 10 Oct 2002 11:26:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297691#M69795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T11:26:31Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297692#M69796</link>
      <description>Yes, that is true.  The "integer" datatype used in AutoCAD is a 16 bit&lt;BR /&gt;
integer.  Base integral datatypes translate as follows:&lt;BR /&gt;
&lt;BR /&gt;
VB6    | .NET               | C#.NET  |    VB.NET&lt;BR /&gt;
------------------------------------------------&lt;BR /&gt;
int        | System.Int16   |    short     |      short&lt;BR /&gt;
long     | System.Int32   |     int        |      integer&lt;BR /&gt;
 ---      | System.Int64   |     long     |      long&lt;BR /&gt;
&lt;BR /&gt;
IE. When you are working with xData on any AutoCAD element, the datatype&lt;BR /&gt;
array must be an array of Int16, or "short".&lt;BR /&gt;
&lt;BR /&gt;
"Alfred NESWADBA" &lt;ALFRED.NESWADBA&gt; wrote in message&lt;BR /&gt;
news:D9BD82E282A1F4C8AE238D1C771DE03C@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; hi michael,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; i'm not familiar with xrecords and also not with c#, but i got troubles&lt;BR /&gt;
when&lt;BR /&gt;
&amp;gt; i used "Integer" instead of "Int16", .net changed the default datatypes,&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; datatype "Integer" now depends on your operating-system/processor.&lt;BR /&gt;
&amp;gt; it's just a try for help, don't mind if not.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; regards, alfred&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Michael Lang" &lt;M&gt; schrieb im Newsbeitrag&lt;BR /&gt;
&amp;gt; news:DF2392AB7DB5062C7C8D1EE9B5F484FD@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; I just tried doing that.  The cast does work.  However, All the&lt;BR /&gt;
properties&lt;BR /&gt;
&amp;gt; &amp;gt; don't exist on that returned object.  For instance I can't query the&lt;BR /&gt;
Count&lt;BR /&gt;
&amp;gt; &amp;gt; property to get the number of xrecords, or use the Item property.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; ===========================================&lt;BR /&gt;
&amp;gt; &amp;gt; for (int i = 0; i &amp;lt; adDict.Count; i++)&lt;BR /&gt;
&amp;gt; &amp;gt; {&lt;BR /&gt;
&amp;gt; &amp;gt;  AutoCAD.AcadXRecordClass xrec;&lt;BR /&gt;
&amp;gt; &amp;gt;  try&lt;BR /&gt;
&amp;gt; &amp;gt;  {&lt;BR /&gt;
&amp;gt; &amp;gt;   AutoCAD.AcadObject aoRec = adDict.Item(i);&lt;BR /&gt;
&amp;gt; &amp;gt;   xrec = aoRec as AutoCAD.AcadXRecordClass;&lt;BR /&gt;
&amp;gt; &amp;gt;   Boundary nextBdy = new Boundary(myDoc, myDefs, xrec);&lt;BR /&gt;
&amp;gt; &amp;gt;   this.Add(nextBdy);&lt;BR /&gt;
&amp;gt; &amp;gt;  }&lt;BR /&gt;
&amp;gt; &amp;gt;  catch&lt;BR /&gt;
&amp;gt; &amp;gt;  {}&lt;BR /&gt;
&amp;gt; &amp;gt; }&lt;BR /&gt;
&amp;gt; &amp;gt; ===========================================&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; both the call to adDict.Count, and adDict.Item(i) throw the same error:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
============================================================================&lt;BR /&gt;
&amp;gt; &amp;gt; ===========&lt;BR /&gt;
&amp;gt; &amp;gt; System.NullReferenceException: Object reference not set to an instance&lt;BR /&gt;
of&lt;BR /&gt;
&amp;gt; an&lt;BR /&gt;
&amp;gt; &amp;gt; object.&lt;BR /&gt;
&amp;gt; &amp;gt;     at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp;&lt;BR /&gt;
msg)&lt;BR /&gt;
&amp;gt; &amp;gt;     at&lt;BR /&gt;
&amp;gt; &amp;gt; System.Windows.Forms.ComponentManager.&lt;BR /&gt;
&amp;gt; &amp;gt; System.Windows.Forms.UnsafeNativeMethods+IMsoComonentManager.FPush&lt;BR /&gt;
&amp;gt; &amp;gt; MessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)&lt;BR /&gt;
&amp;gt; &amp;gt;     at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,&lt;BR /&gt;
&amp;gt; &amp;gt; ApplicationContext context)&lt;BR /&gt;
&amp;gt; &amp;gt;     at System.Windows.Forms.Application.Run(Form mainForm)&lt;BR /&gt;
&amp;gt; &amp;gt;     at Hagerman.SpacePlanner.Startup.Main() in ...&lt;FILE and="" line="" number=""&gt;&lt;BR /&gt;
&amp;gt; &amp;gt; here&amp;gt;...&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
============================================================================&lt;BR /&gt;
&amp;gt; &amp;gt; ===========&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Frank Oquendo" &lt;FRANKOATACADXDOTCOM&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:A930F9A4734FEFD334A0895497EE3027@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Michael Lang had this to say&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; :&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; It seems none of the 3 ways of casting to a dictionary from an&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; AcadObject works.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; It seems that in each case, your are attempting to cast to&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; AcadDictionaryClass. Have you tried casting to AcadDictionary?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; While it may seem trivial, the former is a class while the latter is&lt;BR /&gt;
an&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; interface. Many calls return an interface supported by the object in&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; question and C# prohibits casting between interfaces and classes.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; There are 10 kinds of people:&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Those who understand binary and those who don't&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/FRANKOATACADXDOTCOM&gt;&lt;/FILE&gt;&lt;/M&gt;&lt;/ALFRED.NESWADBA&gt;</description>
      <pubDate>Thu, 10 Oct 2002 13:20:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297692#M69796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T13:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: C#.NET and AutoCAD Dictionary objects.</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297693#M69797</link>
      <description>Michael,&lt;BR /&gt;
The dictionaries collection can contain many objects.  Try this little VBA&lt;BR /&gt;
procedure and see what you get:&lt;BR /&gt;
&lt;BR /&gt;
Public Sub dumpNOD()&lt;BR /&gt;
    Dim obj As AcadObject&lt;BR /&gt;
    For Each obj In ThisDrawing.Dictionaries&lt;BR /&gt;
        Debug.Print TypeName(obj)&lt;BR /&gt;
    Next obj&lt;BR /&gt;
End Sub&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
www.AcadX.com</description>
      <pubDate>Thu, 10 Oct 2002 14:11:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297693#M69797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T14:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: C#.NET and AutoCAD Dictionary objects.</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297694#M69798</link>
      <description>"Michael Lang" &lt;M&gt; wrote in message news:15F4AA9178528D5DC4A010AA272E36F0@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; As you can see i tried 3 ways.  The problem is that the original object&lt;BR /&gt;
&amp;gt; returned from the indexer of the dictionaries collection is an "AcadObject".&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; First of all, it should return an AcadDictionary.  How could the&lt;BR /&gt;
&amp;gt; Dictionaries collection contain anything but a Dictionary?&lt;BR /&gt;
&lt;BR /&gt;
Very easily. A Dictionary may contain objects other than&lt;BR /&gt;
Dictionaries (XRecords for example, or other objects that&lt;BR /&gt;
are derived from AcDbObject/IAcadObject).&lt;BR /&gt;
&lt;BR /&gt;
Try this:&lt;BR /&gt;
&lt;BR /&gt;
   AutoCAD.AcadApplication Acad;&lt;BR /&gt;
   Acad = (AutoCAD.AcadApplication)&lt;BR /&gt;
      Marshal.GetActiveObject("AutoCAD.Application");&lt;BR /&gt;
&lt;BR /&gt;
   AutoCAD.AcadObject AnObject;&lt;BR /&gt;
   AnObject = Acad.ActiveDocument.Dictionaries.Item("TEST");&lt;BR /&gt;
&lt;BR /&gt;
   AutoCAD.IAcadDictionary ADict;&lt;BR /&gt;
&lt;BR /&gt;
   ADict = (AutoCAD.IAcadDictionary) AnObject;&lt;BR /&gt;
&lt;BR /&gt;
There is a hitch when downcasting interfaces in .net, which&lt;BR /&gt;
is that when AutoCAD creates an interface for an object, it&lt;BR /&gt;
uses a CLSID provided by that object's ObjectARX class, and&lt;BR /&gt;
the Interop seems to just use that interface rather than&lt;BR /&gt;
trying to query the object for a different one.&lt;BR /&gt;
&lt;BR /&gt;
In the case of built-in dictionaries like ACAD_GROUP and&lt;BR /&gt;
ACAD_LAYOUTS, the ObjectARX classes that wrap these built-&lt;BR /&gt;
in dictionaries do not return the CLSID for an AcadDictionary,&lt;BR /&gt;
but rather they return the CLSIDs for the corresponding&lt;BR /&gt;
Collection interfaces (IAcadGroups for the Groups dictionary,&lt;BR /&gt;
for example).  And, that's what COM wrapper ends up being&lt;BR /&gt;
created for the built-in dictionary object. And, since those&lt;BR /&gt;
same wrapper interfaces do not support AcadDictionary, the&lt;BR /&gt;
QueryInterface that the Interop performs when you try to cast&lt;BR /&gt;
an AcadObject to an AcadDictionary is failing.&lt;BR /&gt;
&lt;BR /&gt;
For example, this code gets the AcadGroups collection from&lt;BR /&gt;
the ACAD_GROUP dictionary object, and demonstrates that the&lt;BR /&gt;
COM wrapper that is created for the built-in dictionary object&lt;BR /&gt;
is actually the corresponding collection interface:&lt;BR /&gt;
&lt;BR /&gt;
   AutoCAD.AcadApplication Acad;&lt;BR /&gt;
   Acad = (AutoCAD.AcadApplication)&lt;BR /&gt;
      Marshal.GetActiveObject("AutoCAD.Application");&lt;BR /&gt;
&lt;BR /&gt;
   AutoCAD.AcadObject AnObject;&lt;BR /&gt;
&lt;BR /&gt;
   // Get the groups dictionary:&lt;BR /&gt;
&lt;BR /&gt;
   AnObject = Acad.ActiveDocument.Dictionaries.Item("ACAD_GROUP");&lt;BR /&gt;
&lt;BR /&gt;
   // Cast the groups dictionary to the Groups collection:&lt;BR /&gt;
&lt;BR /&gt;
   AutoCAD.IAcadGroups Groups;&lt;BR /&gt;
&lt;BR /&gt;
   Groups = (AutoCAD.IAcadGroups) AnObject;&lt;/M&gt;</description>
      <pubDate>Thu, 10 Oct 2002 15:07:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297694#M69798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T15:07:29Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297695#M69799</link>
      <description>Ignore my gibberish below about downcasting interfaces.&lt;BR /&gt;
&lt;BR /&gt;
Contrary to what I suggested, AutoCAD always creates the&lt;BR /&gt;
corresponding collection interface when you try to get a&lt;BR /&gt;
built-in dictionary object such as the group dictionary.&lt;BR /&gt;
&lt;BR /&gt;
The confusion on my part comes largely from my routine&lt;BR /&gt;
use of a method in AcadX that returns these same objects&lt;BR /&gt;
as AcadDictionary objects instead of their associated&lt;BR /&gt;
Collection object.&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO at="" caddzone="" dot="" com=""&gt; wrote in message &amp;gt;&lt;BR /&gt;
&amp;gt; There is a hitch when downcasting interfaces in .net, which&lt;BR /&gt;
&amp;gt; is that when AutoCAD creates an interface for an object, it&lt;BR /&gt;
&amp;gt; uses a CLSID provided by that object's ObjectARX class, and&lt;BR /&gt;
&amp;gt; the Interop seems to just use that interface rather than&lt;BR /&gt;
&amp;gt; trying to query the object for a different one.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In the case of built-in dictionaries like ACAD_GROUP and&lt;BR /&gt;
&amp;gt; ACAD_LAYOUTS, the ObjectARX classes that wrap these built-&lt;BR /&gt;
&amp;gt; in dictionaries do not return the CLSID for an AcadDictionary,&lt;BR /&gt;
&amp;gt; but rather they return the CLSIDs for the corresponding&lt;BR /&gt;
&amp;gt; Collection interfaces (IAcadGroups for the Groups dictionary,&lt;BR /&gt;
&amp;gt; for example).  And, that's what COM wrapper ends up being&lt;BR /&gt;
&amp;gt; created for the built-in dictionary object. And, since those&lt;BR /&gt;
&amp;gt; same wrapper interfaces do not support AcadDictionary, the&lt;BR /&gt;
&amp;gt; QueryInterface that the Interop performs when you try to cast&lt;BR /&gt;
&amp;gt; an AcadObject to an AcadDictionary is failing.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For example, this code gets the AcadGroups collection from&lt;BR /&gt;
&amp;gt; the ACAD_GROUP dictionary object, and demonstrates that the&lt;BR /&gt;
&amp;gt; COM wrapper that is created for the built-in dictionary object&lt;BR /&gt;
&amp;gt; is actually the corresponding collection interface:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AutoCAD.AcadApplication Acad;&lt;BR /&gt;
&amp;gt;    Acad = (AutoCAD.AcadApplication)&lt;BR /&gt;
&amp;gt;       Marshal.GetActiveObject("AutoCAD.Application");&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AutoCAD.AcadObject AnObject;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    // Get the groups dictionary:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AnObject = Acad.ActiveDocument.Dictionaries.Item("ACAD_GROUP");&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    // Cast the groups dictionary to the Groups collection:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    AutoCAD.IAcadGroups Groups;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;    Groups = (AutoCAD.IAcadGroups) AnObject;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Thu, 10 Oct 2002 20:53:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297695#M69799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-10T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297696#M69800</link>
      <description>I made yet another cast in an attempt to solve the problem.  I casted to an&lt;BR /&gt;
"IAcadDictionary" which is what the "AcadDictionary" interface inherits&lt;BR /&gt;
from.  The cast worked.  In the locals debug window I saw a value for the&lt;BR /&gt;
count property.  However, in the line of code that reads the count property&lt;BR /&gt;
a "System.ExecutionEngineException" was thrown.  I don't understand how this&lt;BR /&gt;
can happen?  If the locals window has been able to successfully query and&lt;BR /&gt;
display the value, why can't my code?&lt;BR /&gt;
&lt;BR /&gt;
Here is that code...&lt;BR /&gt;
&lt;BR /&gt;
AutoCAD.IAcadDictionary iDict = (AutoCAD.IAcadDictionary)adDict;&lt;BR /&gt;
for (int i = 0; i &amp;lt; iDict.Count; i++)&lt;BR /&gt;
{...}&lt;BR /&gt;
&lt;BR /&gt;
Do you think this is another problem with the wrapper?&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKOATACADXDOTCOM&gt; wrote in message&lt;BR /&gt;
news:E13EC7E5E431A04A52D87FB0EE07AFC7@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Michael Lang had this to say&lt;BR /&gt;
&amp;gt; :&lt;BR /&gt;
&amp;gt; &amp;gt; I just tried doing that.  The cast does work.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I'll have a closer look at that later tonight. I'll be sure to let you&lt;BR /&gt;
&amp;gt; know what I find. In the meantime: good luck.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; There are 10 kinds of people:&lt;BR /&gt;
&amp;gt; Those who understand binary and those who don't&lt;BR /&gt;
&amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/FRANKOATACADXDOTCOM&gt;</description>
      <pubDate>Fri, 11 Oct 2002 08:25:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297696#M69800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-11T08:25:46Z</dc:date>
    </item>
    <item>
      <title>C#.NET and AutoCAD Dictionary objects. &lt;SOLVED&gt;</title>
      <link>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297697#M69801</link>
      <description>The problem had nothing to do with dictionaries.&lt;BR /&gt;
&lt;BR /&gt;
for (int i = 0; i &amp;lt; adDict.Count; i ++)&lt;BR /&gt;
{...&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
See the problem here? What datatype is the Count property?&lt;BR /&gt;
&lt;BR /&gt;
When you hover your cursor over the Count property in .NET it says it is an&lt;BR /&gt;
int. Do the same in VB6, and it says it is an int.  int in VB6 and .NET are&lt;BR /&gt;
not the same thing.  An int in VB6 translates to a short in .NET.  The&lt;BR /&gt;
tooltip in .NET should show the Count property as a short, not an int.&lt;BR /&gt;
Maybe the wrapper should be corrected?&lt;BR /&gt;
&lt;BR /&gt;
I have written code that adds an xRecord, and then goes though the loop&lt;BR /&gt;
above successfully.&lt;BR /&gt;
&lt;BR /&gt;
"Michael Lang" &lt;M&gt; wrote in message&lt;BR /&gt;
news:F85270221929307EF6CB4A95F0E7EF14@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I made yet another cast in an attempt to solve the problem.  I casted to&lt;BR /&gt;
an&lt;BR /&gt;
&amp;gt; "IAcadDictionary" which is what the "AcadDictionary" interface inherits&lt;BR /&gt;
&amp;gt; from.  The cast worked.  In the locals debug window I saw a value for the&lt;BR /&gt;
&amp;gt; count property.  However, in the line of code that reads the count&lt;BR /&gt;
property&lt;BR /&gt;
&amp;gt; a "System.ExecutionEngineException" was thrown.  I don't understand how&lt;BR /&gt;
this&lt;BR /&gt;
&amp;gt; can happen?  If the locals window has been able to successfully query and&lt;BR /&gt;
&amp;gt; display the value, why can't my code?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Here is that code...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; AutoCAD.IAcadDictionary iDict = (AutoCAD.IAcadDictionary)adDict;&lt;BR /&gt;
&amp;gt; for (int i = 0; i &amp;lt; iDict.Count; i++)&lt;BR /&gt;
&amp;gt; {...}&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Do you think this is another problem with the wrapper?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Frank Oquendo" &lt;FRANKOATACADXDOTCOM&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:E13EC7E5E431A04A52D87FB0EE07AFC7@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Michael Lang had this to say&lt;BR /&gt;
&amp;gt; &amp;gt; :&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I just tried doing that.  The cast does work.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I'll have a closer look at that later tonight. I'll be sure to let you&lt;BR /&gt;
&amp;gt; &amp;gt; know what I find. In the meantime: good luck.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; There are 10 kinds of people:&lt;BR /&gt;
&amp;gt; &amp;gt; Those who understand binary and those who don't&lt;BR /&gt;
&amp;gt; &amp;gt; http://www.acadx.com&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/FRANKOATACADXDOTCOM&gt;&lt;/M&gt;</description>
      <pubDate>Fri, 25 Oct 2002 13:22:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/c-net-and-autocad-dictionary-objects/m-p/297697#M69801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-25T13:22:16Z</dc:date>
    </item>
  </channel>
</rss>

