<?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: Newbie 2 Problems c# in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170636#M75697</link>
    <description>Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Tue, 05 Feb 2008 16:25:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-02-05T16:25:09Z</dc:date>
    <item>
      <title>Newbie 2 Problems c#</title>
      <link>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170634#M75695</link>
      <description>I'm using c#&lt;BR /&gt;
I have 2 problems&lt;BR /&gt;
1) I want to draw an arc using (3 points) rather than start angle and the end angle provided by method "AddArc" :&lt;BR /&gt;
Autodesk.AutoCAD.Interop.Common.AcadModelSpaceClass.AddArc(object, double, double, double)&lt;BR /&gt;
&lt;BR /&gt;
2)I want to know how to interact with the user's selection &lt;BR /&gt;
&lt;BR /&gt;
e.g: let the user select 2 lines and give me a value then I'll do some calculations based on the lines selected and that value and I'll modify the current drawing based on the calculations i did.&lt;BR /&gt;
&lt;BR /&gt;
please Help &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Sat, 02 Feb 2008 20:14:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170634#M75695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-02T20:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie 2 Problems c#</title>
      <link>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170635#M75696</link>
      <description>The constructor for Geometry.CircularArc3D has an overload for three points.&lt;BR /&gt;
&lt;BR /&gt;
Read through the labs for ObjectArx, they will show you how to get user selections (which is an ObjectID) and get the entity from a transaction, from here you can use the properties to develop your program.&lt;BR /&gt;
&lt;BR /&gt;
Go to http://arxdummies.blogspot.com/2005/01/welcome.html&lt;BR /&gt;
or http://usa.autodesk.com/adsk/servlet/item?siteID=123112&amp;amp;id=773180</description>
      <pubDate>Tue, 05 Feb 2008 10:56:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170635#M75696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-05T10:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie 2 Problems c#</title>
      <link>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170636#M75697</link>
      <description>Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 05 Feb 2008 16:25:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170636#M75697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-05T16:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie 2 Problems c#</title>
      <link>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170637#M75698</link>
      <description>As previously stated, the Autodesk.AutoCAD.Geometry.CircularArc2d class has a constructor overload that you can use to create your arc.&lt;BR /&gt;
&lt;BR /&gt;
Therefore you can create a new CircularArc2d object using your three points, and pass its radius, startangle, endangle, and centre into your AcadModelSpace.AddArc() method via COM interop.&lt;BR /&gt;
&lt;BR /&gt;
However you will need to create a .NET dll and netload it into AutoCAD before you can use namespaces like AcDb or AcGe in your code. This is the more difficult part, but there should be other threads in this forum with that information.&lt;BR /&gt;
&lt;BR /&gt;
I honestly don't remember how to do it myself, since I haven't needed to create a new project in a while (2 years).</description>
      <pubDate>Tue, 05 Feb 2008 16:25:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/newbie-2-problems-c/m-p/2170637#M75698</guid>
      <dc:creator>jbooth</dc:creator>
      <dc:date>2008-02-05T16:25:48Z</dc:date>
    </item>
  </channel>
</rss>

