<?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: Get Point Collection from 3dsolid in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3356943#M57087</link>
    <description>&lt;P&gt;Thanks &lt;STRONG&gt;_guile&lt;/STRONG&gt;, that was more along the lines of what I was looking for. &amp;nbsp;Excellent.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Mar 2012 14:13:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-03T14:13:05Z</dc:date>
    <item>
      <title>Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3352997#M57083</link>
      <description>&lt;P&gt;I know this must be an easy answer, but for the life I me I can't find the method that returns a point collection for a given 3dsoild. &amp;nbsp;I have to think that a property exists that contains all the points for a solid (the ones shown when you select a 3dsolid). &amp;nbsp;I appreciate the help. &amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 23:49:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3352997#M57083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-29T23:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3353227#M57084</link>
      <description>&lt;P&gt;Solution: &lt;A href="http://through-the-interface.typepad.com/through_the_interface/2008/09/traversing-a-3d.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2008/09/traversing-a-3d.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:36:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3353227#M57084</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2012-03-01T06:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3353603#M57085</link>
      <description>&lt;P&gt;Thank you for the link. &amp;nbsp;I guess it wasn't quite as easy as I would have thought. &amp;nbsp;I figured there would just be a property for 3dsolids that contained all the points. &amp;nbsp;Never the less, I can probably get that code to work. &amp;nbsp;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:39:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3353603#M57085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3356883#M57086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you only need the solid vertices, you don't need to run through the whole brep tree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a little sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        public Point3dCollection GetSolidVertices(ObjectId id)
        {
            Database db = HostApplicationServices.WorkingDatabase;
            using (Transaction tr = db.TransactionManager.StartTransaction())
            {
                Solid3d sol = tr.GetObject(id, OpenMode.ForRead) as Solid3d;
                if (sol == null) return null;
                try
                {
                    Point3dCollection pts = new Point3dCollection();
                    using (Brep brp = new Brep(sol))
                    {
                        foreach (var vtx in brp.Vertices)
                        {
                            pts.Add(vtx.Point);
                        }
                        return pts;
                    }
                }
                catch { return null; }
            }
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2012 10:28:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3356883#M57086</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2012-03-03T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3356943#M57087</link>
      <description>&lt;P&gt;Thanks &lt;STRONG&gt;_guile&lt;/STRONG&gt;, that was more along the lines of what I was looking for. &amp;nbsp;Excellent.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2012 14:13:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/3356943#M57087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-03T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/4603811#M57088</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sorry for my ignorance but when I convert this to VB.Net I get an unknown type for 'var'...?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 11:03:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/4603811#M57088</guid>
      <dc:creator>Hugh_Compton</dc:creator>
      <dc:date>2013-11-08T11:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/4603849#M57089</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In C#, var keyword stands for 'implicit type', the (strongly typed) variable type is determined by the compiler at edition time. &lt;/P&gt;
&lt;P&gt;In this case, the infered type is: Autodesk.AutoCAD.BoundaryRepresentation.Vertex&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 11:38:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/4603849#M57089</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2013-11-08T11:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get Point Collection from 3dsolid</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/4603899#M57090</link>
      <description>&lt;P&gt;Thanks Giles!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 11:52:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-point-collection-from-3dsolid/m-p/4603899#M57090</guid>
      <dc:creator>Hugh_Compton</dc:creator>
      <dc:date>2013-11-08T11:52:06Z</dc:date>
    </item>
  </channel>
</rss>

