<?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: .NET and Autocad versions... in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347884#M84733</link>
    <description>Both AutoCAD 2005 and AutoCAD 2006 expose a .NET API; the coverage is much &lt;BR /&gt;
more extensive in AutoCAD 2006.&lt;BR /&gt;
&lt;BR /&gt;
Using C# with earlier versions is possible with COM Interop or even &lt;BR /&gt;
P/Invoke.&lt;BR /&gt;
&lt;BR /&gt;
   Dan&lt;BR /&gt;
&lt;BR /&gt;
"Anders Pettersson" &lt;ANDERS.PETTERSSON&gt; wrote in message &lt;BR /&gt;
news:4868401@discussion.autodesk.com...&lt;BR /&gt;
In wich versions of AutoCad can I write C# programs for?&lt;BR /&gt;
I'm also intrested in ADT versions...&lt;/ANDERS.PETTERSSON&gt;</description>
    <pubDate>Wed, 08 Jun 2005 14:32:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-06-08T14:32:04Z</dc:date>
    <item>
      <title>.NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347883#M84732</link>
      <description>In wich versions of AutoCad can I write C# programs for?&lt;BR /&gt;
I'm also intrested in ADT versions...</description>
      <pubDate>Wed, 08 Jun 2005 08:44:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347883#M84732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-08T08:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347884#M84733</link>
      <description>Both AutoCAD 2005 and AutoCAD 2006 expose a .NET API; the coverage is much &lt;BR /&gt;
more extensive in AutoCAD 2006.&lt;BR /&gt;
&lt;BR /&gt;
Using C# with earlier versions is possible with COM Interop or even &lt;BR /&gt;
P/Invoke.&lt;BR /&gt;
&lt;BR /&gt;
   Dan&lt;BR /&gt;
&lt;BR /&gt;
"Anders Pettersson" &lt;ANDERS.PETTERSSON&gt; wrote in message &lt;BR /&gt;
news:4868401@discussion.autodesk.com...&lt;BR /&gt;
In wich versions of AutoCad can I write C# programs for?&lt;BR /&gt;
I'm also intrested in ADT versions...&lt;/ANDERS.PETTERSSON&gt;</description>
      <pubDate>Wed, 08 Jun 2005 14:32:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347884#M84733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-08T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347885#M84734</link>
      <description>AutoCAD 2005 had a partial .NET implementation (say 60% of ObjectARX coverage) and AutoCAD 2006 has a virtually complete .NET implementation (say 95%... the main part missing is custom object creation).&lt;BR /&gt;
&lt;BR /&gt;
ADT 2006 is the first version of ADT with .NET support with a partial implementation (say 40%)... more to come next year.</description>
      <pubDate>Thu, 09 Jun 2005 07:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347885#M84734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-09T07:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347886#M84735</link>
      <description>This is a bit misleading.&lt;BR /&gt;
&lt;BR /&gt;
If you quantify coverage in terms of the number of native&lt;BR /&gt;
ObjectARX classes wrapped, it's not even close.&lt;BR /&gt;
&lt;BR /&gt;
If you consider that many wrappers do not expose the&lt;BR /&gt;
complete functionality of the underlying native class,&lt;BR /&gt;
your even farther away.&lt;BR /&gt;
&lt;BR /&gt;
95% is essentially a fairy tale.  Not even taking into&lt;BR /&gt;
account custom object creation, I'd guess that in terms&lt;BR /&gt;
of functionality, it is about 50%. Consider that AdUi and&lt;BR /&gt;
AcUi are not exposed at all via managed wrappers, with&lt;BR /&gt;
the exception of Palettes.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;QUANCI&gt; wrote in message news:4869735@discussion.autodesk.com...&lt;BR /&gt;
AutoCAD 2005 had a partial .NET implementation (say 60% of ObjectARX coverage) and AutoCAD 2006 has a virtually complete &lt;BR /&gt;
.NET implementation (say 95%... the main part missing is custom object creation).&lt;BR /&gt;
&lt;BR /&gt;
ADT 2006 is the first version of ADT with .NET support with a partial implementation (say 40%)... more to come next &lt;BR /&gt;
year.&lt;/QUANCI&gt;</description>
      <pubDate>Thu, 09 Jun 2005 19:45:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347886#M84735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-09T19:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347887#M84736</link>
      <description>I don't want to get into the percentage discussion. 3 things that I'd like &lt;BR /&gt;
to point out:&lt;BR /&gt;
&lt;BR /&gt;
1. I don't think we ever want to wrap the AcUi, AdUi functionality. Winforms &lt;BR /&gt;
do a much better job.&lt;BR /&gt;
2. Please don't hesitate to point out when you run into holes. We will try &lt;BR /&gt;
to fix them.&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than &lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the &lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4870748@discussion.autodesk.com...&lt;BR /&gt;
This is a bit misleading.&lt;BR /&gt;
&lt;BR /&gt;
If you quantify coverage in terms of the number of native&lt;BR /&gt;
ObjectARX classes wrapped, it's not even close.&lt;BR /&gt;
&lt;BR /&gt;
If you consider that many wrappers do not expose the&lt;BR /&gt;
complete functionality of the underlying native class,&lt;BR /&gt;
your even farther away.&lt;BR /&gt;
&lt;BR /&gt;
95% is essentially a fairy tale.  Not even taking into&lt;BR /&gt;
account custom object creation, I'd guess that in terms&lt;BR /&gt;
of functionality, it is about 50%. Consider that AdUi and&lt;BR /&gt;
AcUi are not exposed at all via managed wrappers, with&lt;BR /&gt;
the exception of Palettes.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;QUANCI&gt; wrote in message news:4869735@discussion.autodesk.com...&lt;BR /&gt;
AutoCAD 2005 had a partial .NET implementation (say 60% of ObjectARX &lt;BR /&gt;
coverage) and AutoCAD 2006 has a virtually complete&lt;BR /&gt;
.NET implementation (say 95%... the main part missing is custom object &lt;BR /&gt;
creation).&lt;BR /&gt;
&lt;BR /&gt;
ADT 2006 is the first version of ADT with .NET support with a partial &lt;BR /&gt;
implementation (say 40%)... more to come next&lt;BR /&gt;
year.&lt;/QUANCI&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Thu, 09 Jun 2005 21:44:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347887#M84736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-09T21:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347888#M84737</link>
      <description>Well, I don't agree completely with regards to AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
That isn't to suggest that you should *directly* expose things &lt;BR /&gt;
like CAcUiDialog, but rather that AutoCAD-specific functionality&lt;BR /&gt;
provided by that and other AcUi/AdUi classes most definitely &lt;BR /&gt;
should be exposed in the form of WinForms-based classes.&lt;BR /&gt;
&lt;BR /&gt;
I also feel that all of the property inspector functionality and its &lt;BR /&gt;
custom controls (most of which are heavily dependent on COM) &lt;BR /&gt;
should be exposed as managed wrappers if for no other reason,&lt;BR /&gt;
consistency's sake.&lt;BR /&gt;
&lt;BR /&gt;
Regarding holes, see my other post &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
And please keep in mind that I've not really explored or used&lt;BR /&gt;
the Managed wrappers very much, and I'm still seeing lots of&lt;BR /&gt;
missed opportunities.  I hope it's not the tip of an iceberg.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Albert Szilvasy" &lt;NOT_PROVIDED&gt; wrote in message news:4871040@discussion.autodesk.com...&lt;BR /&gt;
I don't want to get into the percentage discussion. 3 things that I'd like &lt;BR /&gt;
to point out:&lt;BR /&gt;
&lt;BR /&gt;
1. I don't think we ever want to wrap the AcUi, AdUi functionality. Winforms &lt;BR /&gt;
do a much better job.&lt;BR /&gt;
2. Please don't hesitate to point out when you run into holes. We will try &lt;BR /&gt;
to fix them.&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than &lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the &lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4870748@discussion.autodesk.com...&lt;BR /&gt;
This is a bit misleading.&lt;BR /&gt;
&lt;BR /&gt;
If you quantify coverage in terms of the number of native&lt;BR /&gt;
ObjectARX classes wrapped, it's not even close.&lt;BR /&gt;
&lt;BR /&gt;
If you consider that many wrappers do not expose the&lt;BR /&gt;
complete functionality of the underlying native class,&lt;BR /&gt;
your even farther away.&lt;BR /&gt;
&lt;BR /&gt;
95% is essentially a fairy tale.  Not even taking into&lt;BR /&gt;
account custom object creation, I'd guess that in terms&lt;BR /&gt;
of functionality, it is about 50%. Consider that AdUi and&lt;BR /&gt;
AcUi are not exposed at all via managed wrappers, with&lt;BR /&gt;
the exception of Palettes.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;QUANCI&gt; wrote in message news:4869735@discussion.autodesk.com...&lt;BR /&gt;
AutoCAD 2005 had a partial .NET implementation (say 60% of ObjectARX &lt;BR /&gt;
coverage) and AutoCAD 2006 has a virtually complete&lt;BR /&gt;
.NET implementation (say 95%... the main part missing is custom object &lt;BR /&gt;
creation).&lt;BR /&gt;
&lt;BR /&gt;
ADT 2006 is the first version of ADT with .NET support with a partial &lt;BR /&gt;
implementation (say 40%)... more to come next&lt;BR /&gt;
year.&lt;/QUANCI&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOT_PROVIDED&gt;</description>
      <pubDate>Thu, 09 Jun 2005 22:46:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347888#M84737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-09T22:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347889#M84738</link>
      <description>I'm really curious what you have in mind with regards to AdUi/AcUi. What do &lt;BR /&gt;
they provide that winforms doesn't? Note that we did provide access to &lt;BR /&gt;
palettes because that is indeed AutoCAD specific. But what else?&lt;BR /&gt;
&lt;BR /&gt;
Yes, property palette is an interesting animal. Of course, Winforms provides &lt;BR /&gt;
a more extensible property browser called the PropertyGrid. I see an need &lt;BR /&gt;
for bridge between Property Palette and the Property Grid but the Property &lt;BR /&gt;
Palette is a primary concern for people who create custom objects.&lt;BR /&gt;
&lt;BR /&gt;
Very good. Keep exploring and post your concerns here. I know there are &lt;BR /&gt;
opportunities and we are not complete by any means but we are making &lt;BR /&gt;
progress.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4871092@discussion.autodesk.com...&lt;BR /&gt;
Well, I don't agree completely with regards to AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
That isn't to suggest that you should *directly* expose things&lt;BR /&gt;
like CAcUiDialog, but rather that AutoCAD-specific functionality&lt;BR /&gt;
provided by that and other AcUi/AdUi classes most definitely&lt;BR /&gt;
should be exposed in the form of WinForms-based classes.&lt;BR /&gt;
&lt;BR /&gt;
I also feel that all of the property inspector functionality and its&lt;BR /&gt;
custom controls (most of which are heavily dependent on COM)&lt;BR /&gt;
should be exposed as managed wrappers if for no other reason,&lt;BR /&gt;
consistency's sake.&lt;BR /&gt;
&lt;BR /&gt;
Regarding holes, see my other post &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
And please keep in mind that I've not really explored or used&lt;BR /&gt;
the Managed wrappers very much, and I'm still seeing lots of&lt;BR /&gt;
missed opportunities.  I hope it's not the tip of an iceberg.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Albert Szilvasy" &lt;NOT_PROVIDED&gt; wrote in message &lt;BR /&gt;
news:4871040@discussion.autodesk.com...&lt;BR /&gt;
I don't want to get into the percentage discussion. 3 things that I'd like&lt;BR /&gt;
to point out:&lt;BR /&gt;
&lt;BR /&gt;
1. I don't think we ever want to wrap the AcUi, AdUi functionality. Winforms&lt;BR /&gt;
do a much better job.&lt;BR /&gt;
2. Please don't hesitate to point out when you run into holes. We will try&lt;BR /&gt;
to fix them.&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than&lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the&lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4870748@discussion.autodesk.com...&lt;BR /&gt;
This is a bit misleading.&lt;BR /&gt;
&lt;BR /&gt;
If you quantify coverage in terms of the number of native&lt;BR /&gt;
ObjectARX classes wrapped, it's not even close.&lt;BR /&gt;
&lt;BR /&gt;
If you consider that many wrappers do not expose the&lt;BR /&gt;
complete functionality of the underlying native class,&lt;BR /&gt;
your even farther away.&lt;BR /&gt;
&lt;BR /&gt;
95% is essentially a fairy tale.  Not even taking into&lt;BR /&gt;
account custom object creation, I'd guess that in terms&lt;BR /&gt;
of functionality, it is about 50%. Consider that AdUi and&lt;BR /&gt;
AcUi are not exposed at all via managed wrappers, with&lt;BR /&gt;
the exception of Palettes.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;QUANCI&gt; wrote in message news:4869735@discussion.autodesk.com...&lt;BR /&gt;
AutoCAD 2005 had a partial .NET implementation (say 60% of ObjectARX&lt;BR /&gt;
coverage) and AutoCAD 2006 has a virtually complete&lt;BR /&gt;
.NET implementation (say 95%... the main part missing is custom object&lt;BR /&gt;
creation).&lt;BR /&gt;
&lt;BR /&gt;
ADT 2006 is the first version of ADT with .NET support with a partial&lt;BR /&gt;
implementation (say 40%)... more to come next&lt;BR /&gt;
year.&lt;/QUANCI&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOT_PROVIDED&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 10 Jun 2005 01:48:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347889#M84738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-10T01:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347890#M84739</link>
      <description>But you can not use conditinal selectionset.For example,I cannot select both circles or lines with Getselection.&lt;BR /&gt;
&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than &lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the &lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert</description>
      <pubDate>Fri, 10 Jun 2005 05:14:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347890#M84739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-10T05:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347891#M84740</link>
      <description>Yes. This however is simply a bug in the code. We wanted enable conditional &lt;BR /&gt;
filtering in its full glory. On the other hand the .NET GetSelection method &lt;BR /&gt;
returns all the details of how the objects got selected. You simply can't do &lt;BR /&gt;
that using the COM API and you have to go through some arcane resbuf parsing &lt;BR /&gt;
to get this data using C++. You can't implement commands like trim or &lt;BR /&gt;
stretch without knowing what part of the object was selected.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;BR /&gt;
&lt;BR /&gt;
&lt;TANGFERRY&gt; wrote in message news:4871213@discussion.autodesk.com...&lt;BR /&gt;
But you can not use conditinal selectionset.For example,I cannot select both &lt;BR /&gt;
circles or lines with Getselection.&lt;BR /&gt;
&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than&lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the&lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;/TANGFERRY&gt;</description>
      <pubDate>Fri, 10 Jun 2005 06:20:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347891#M84740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-10T06:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347892#M84741</link>
      <description>&lt;TANGFERRY&gt; wrote &lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;&amp;gt; But you can not use conditinal selectionset.For example,&lt;BR /&gt;
&amp;gt;&amp;gt; I cannot select both circles or lines with Getselection.&lt;BR /&gt;
&lt;BR /&gt;
Yes you can.&lt;BR /&gt;
&lt;BR /&gt;
  new TypedValue(0, "CIRCLE,LINE');&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than &lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the &lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;/TANGFERRY&gt;</description>
      <pubDate>Fri, 10 Jun 2005 06:35:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347892#M84741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-10T06:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347893#M84742</link>
      <description>BTW, you might want to know that it isn't necessary to&lt;BR /&gt;
deal with the result of calling the ActiveX Select() method,&lt;BR /&gt;
as your (disassembled) code below does.  &lt;BR /&gt;
&lt;BR /&gt;
Any call to acedSSGet() which produces a valid selection set, &lt;BR /&gt;
causes that selection set becoming the Previous selection set. &lt;BR /&gt;
&lt;BR /&gt;
Hence, all you have to do is call the AcadSelectionSet.Select() &lt;BR /&gt;
method and if it succeeds, you can get the resulting selection &lt;BR /&gt;
set via Editor.SelectPrevious(), and you then have a managed &lt;BR /&gt;
SelectionSet to work with.  So, don't bother with returning an&lt;BR /&gt;
ObjectIdCollection. Instead, declare your function's retun type &lt;BR /&gt;
as PromptSelectionResult, and call Editor.SelectPrevious(), and &lt;BR /&gt;
just return its result.&lt;BR /&gt;
&lt;BR /&gt;
public static ObjectIdCollection SelectAll(TypedValue[] filter)&lt;BR /&gt;
{&lt;BR /&gt;
      int num1 = filter.Length;&lt;BR /&gt;
      short[] numArray1 = new short[num1];&lt;BR /&gt;
      object[] objArray1 = new object[num1];&lt;BR /&gt;
      for (int num2 = 0; num2 &amp;lt; num1; num2++)&lt;BR /&gt;
      {&lt;BR /&gt;
            numArray1[num2] = filter[num2].TypeCode;&lt;BR /&gt;
            objArray1[num2] = filter[num2].Value;&lt;BR /&gt;
      }&lt;BR /&gt;
      AcadDocument document1 = (AcadDocument) Application.DocumentManager.MdiActiveDocument.AcadDocument;&lt;BR /&gt;
      AcadSelectionSet set1 = document1.get_SelectionSets().Add("temp");&lt;BR /&gt;
      set1.Select(5, Type.Missing, Type.Missing, numArray1, objArray1);&lt;BR /&gt;
      int num4 = set1.get_Count();&lt;BR /&gt;
      Tools.Editor.WriteMessage(num4.ToString() + " objects have been selected.");&lt;BR /&gt;
      ObjectIdCollection collection1 = new ObjectIdCollection();&lt;BR /&gt;
      for (int num3 = 0; num3 &amp;lt; set1.get_Count(); num3++)&lt;BR /&gt;
      {&lt;BR /&gt;
            collection1.Add(DBObject.FromAcadObject(set1.Item(num3)));&lt;BR /&gt;
      }&lt;BR /&gt;
      set1.Delete();&lt;BR /&gt;
      return collection1;&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;TANGFERRY&gt; wrote in message news:4871213@discussion.autodesk.com...&lt;BR /&gt;
But you can not use conditinal selectionset.For example,I cannot select both circles or lines with Getselection.&lt;BR /&gt;
&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than &lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the &lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;/TANGFERRY&gt;</description>
      <pubDate>Fri, 10 Jun 2005 09:00:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347893#M84742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-10T09:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347894#M84743</link>
      <description>informative thread Gentlemen, Thanks.&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:4871326@discussion.autodesk.com...&lt;BR /&gt;
BTW, you might want to know that it isn't necessary to&lt;BR /&gt;
deal with the result of calling the ActiveX Select() method,&lt;BR /&gt;
as your (disassembled) code below does.&lt;BR /&gt;
&lt;BR /&gt;
Any call to acedSSGet() which produces a valid selection set,&lt;BR /&gt;
causes that selection set becoming the Previous selection set.&lt;BR /&gt;
&lt;BR /&gt;
Hence, all you have to do is call the AcadSelectionSet.Select()&lt;BR /&gt;
method and if it succeeds, you can get the resulting selection&lt;BR /&gt;
set via Editor.SelectPrevious(), and you then have a managed&lt;BR /&gt;
SelectionSet to work with.  So, don't bother with returning an&lt;BR /&gt;
ObjectIdCollection. Instead, declare your function's retun type&lt;BR /&gt;
as PromptSelectionResult, and call Editor.SelectPrevious(), and&lt;BR /&gt;
just return its result.&lt;BR /&gt;
&lt;BR /&gt;
public static ObjectIdCollection SelectAll(TypedValue[] filter)&lt;BR /&gt;
{&lt;BR /&gt;
      int num1 = filter.Length;&lt;BR /&gt;
      short[] numArray1 = new short[num1];&lt;BR /&gt;
      object[] objArray1 = new object[num1];&lt;BR /&gt;
      for (int num2 = 0; num2 &amp;lt; num1; num2++)&lt;BR /&gt;
      {&lt;BR /&gt;
            numArray1[num2] = filter[num2].TypeCode;&lt;BR /&gt;
            objArray1[num2] = filter[num2].Value;&lt;BR /&gt;
      }&lt;BR /&gt;
      AcadDocument document1 = (AcadDocument) &lt;BR /&gt;
Application.DocumentManager.MdiActiveDocument.AcadDocument;&lt;BR /&gt;
      AcadSelectionSet set1 = document1.get_SelectionSets().Add("temp");&lt;BR /&gt;
      set1.Select(5, Type.Missing, Type.Missing, numArray1, objArray1);&lt;BR /&gt;
      int num4 = set1.get_Count();&lt;BR /&gt;
      Tools.Editor.WriteMessage(num4.ToString() + " objects have been &lt;BR /&gt;
selected.");&lt;BR /&gt;
      ObjectIdCollection collection1 = new ObjectIdCollection();&lt;BR /&gt;
      for (int num3 = 0; num3 &amp;lt; set1.get_Count(); num3++)&lt;BR /&gt;
      {&lt;BR /&gt;
            collection1.Add(DBObject.FromAcadObject(set1.Item(num3)));&lt;BR /&gt;
      }&lt;BR /&gt;
      set1.Delete();&lt;BR /&gt;
      return collection1;&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;TANGFERRY&gt; wrote in message news:4871213@discussion.autodesk.com...&lt;BR /&gt;
But you can not use conditinal selectionset.For example,I cannot select both &lt;BR /&gt;
circles or lines with Getselection.&lt;BR /&gt;
&lt;BR /&gt;
3. I'd like to think that the .NET API does a better job at usability than&lt;BR /&gt;
the C++ API. Compare acedSSGet to the various GetSelection methods. Or the&lt;BR /&gt;
ease of creating a palette using the .NET API vs. using AcUi/AdUi.&lt;BR /&gt;
&lt;BR /&gt;
Albert&lt;/TANGFERRY&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 10 Jun 2005 15:12:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347894#M84743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-10T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: .NET and Autocad versions...</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347895#M84744</link>
      <description>Hi all,&lt;BR /&gt;
I need to know how can i access property palette of Autocad and show a property of given Autocad Object through propgramming. &lt;BR /&gt;
Thanks..</description>
      <pubDate>Fri, 09 Feb 2007 06:47:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-and-autocad-versions/m-p/1347895#M84744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-09T06:47:32Z</dc:date>
    </item>
  </channel>
</rss>

