<?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/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337118#M85967</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Draw a box with Autocad 2000, bring the properties box, and use the vertex&lt;BR /&gt;
property to navigate trough the vertex. This will show you what is the&lt;BR /&gt;
sequence needed. This vertex list is the array you have to pass to the&lt;BR /&gt;
coordinates property of the AcadPolygonMesh. Dont forget to set M and N&lt;BR /&gt;
vertex count as well.&lt;BR /&gt;
&lt;BR /&gt;
Bye,&lt;BR /&gt;
&lt;BR /&gt;
Luc Morrissette,&lt;BR /&gt;
Flairbase inc.&lt;BR /&gt;
&lt;BR /&gt;
"Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
news:B5E60600515D5F023DE48C772AFA7969@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hello Luc.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks for the info.&lt;BR /&gt;
&amp;gt; Can you give me a 'kick' in the right direction?&lt;BR /&gt;
&amp;gt; How do I determine which coordinate belongs where?&lt;BR /&gt;
&amp;gt; Where can I find more info on the AcadPolygonMesh?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks&lt;BR /&gt;
&amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Luc Morrissette" &lt;LMORRISSETTE&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:78F2003360D4FEBE0258D2A546BA59B6@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Hi,&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; You have to work with the base entity (AcadPolygonMesh).&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; It is not that complex to write a MeshBox function that will create the&lt;BR /&gt;
&amp;gt; &amp;gt; PolygonMesh with the 54 pts needed.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Luc Morrissette,&lt;BR /&gt;
&amp;gt; &amp;gt; Flairbase inc.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:418E4BD6ACEC956CE8FB9A490BAE880C@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Hello all.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I need to generate many 'boxes' by reading values from a database.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I started off by using the Acad3DSolid, but the dwgs are ending up&lt;BR /&gt;
just&lt;BR /&gt;
&amp;gt; &amp;gt; too&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; large 6+ megs, and my test is placing about 1600 boxes, and I'll&lt;BR /&gt;
&amp;gt; &amp;gt; eventually&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; need to place many more.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; So I thought I would try creating the ai_box (3D surface), but there&lt;BR /&gt;
is&lt;BR /&gt;
&amp;gt; no&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; method in VBA for creating this, so you have to create it manually&lt;BR /&gt;
using&lt;BR /&gt;
&amp;gt; &amp;gt; the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; IAcadPolygonMesh object.  But the problem with this is you need to&lt;BR /&gt;
pass&lt;BR /&gt;
&amp;gt; it&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; 54 coordinates just to create a simple box!  This just seems complex,&lt;BR /&gt;
&amp;gt; and&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; there must be a more efficient method?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; So I'm just curious if anybody has been working with surfaces, and&lt;BR /&gt;
what&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; might be some efficient methods to work with them.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Any info creatly appreciated.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/WARREN.MEDERNACH&gt;&lt;/LMORRISSETTE&gt;&lt;/WARREN.MEDERNACH&gt;</description>
    <pubDate>Wed, 28 Mar 2001 07:13:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2001-03-28T07:13:09Z</dc:date>
    <item>
      <title>Anybody working with simple AutoCAD Surfaces in VBA?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337115#M85964</link>
      <description>Hello all.&lt;BR /&gt;
&lt;BR /&gt;
I need to generate many 'boxes' by reading values from a database.&lt;BR /&gt;
&lt;BR /&gt;
I started off by using the Acad3DSolid, but the dwgs are ending up just too&lt;BR /&gt;
large 6+ megs, and my test is placing about 1600 boxes, and I'll eventually&lt;BR /&gt;
need to place many more.&lt;BR /&gt;
&lt;BR /&gt;
So I thought I would try creating the ai_box (3D surface), but there is no&lt;BR /&gt;
method in VBA for creating this, so you have to create it manually using the&lt;BR /&gt;
IAcadPolygonMesh object.  But the problem with this is you need to pass it&lt;BR /&gt;
54 coordinates just to create a simple box!  This just seems complex, and&lt;BR /&gt;
there must be a more efficient method?&lt;BR /&gt;
&lt;BR /&gt;
So I'm just curious if anybody has been working with surfaces, and what&lt;BR /&gt;
might be some efficient methods to work with them.&lt;BR /&gt;
&lt;BR /&gt;
Any info creatly appreciated.&lt;BR /&gt;
Warren Medernach</description>
      <pubDate>Fri, 23 Mar 2001 08:58:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337115#M85964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-23T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody working with simple AutoCAD Surfaces in VBA?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337116#M85965</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
You have to work with the base entity (AcadPolygonMesh).&lt;BR /&gt;
&lt;BR /&gt;
It is not that complex to write a MeshBox function that will create the&lt;BR /&gt;
PolygonMesh with the 54 pts needed.&lt;BR /&gt;
&lt;BR /&gt;
Luc Morrissette,&lt;BR /&gt;
Flairbase inc.&lt;BR /&gt;
&lt;BR /&gt;
"Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
news:418E4BD6ACEC956CE8FB9A490BAE880C@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hello all.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I need to generate many 'boxes' by reading values from a database.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I started off by using the Acad3DSolid, but the dwgs are ending up just&lt;BR /&gt;
too&lt;BR /&gt;
&amp;gt; large 6+ megs, and my test is placing about 1600 boxes, and I'll&lt;BR /&gt;
eventually&lt;BR /&gt;
&amp;gt; need to place many more.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; So I thought I would try creating the ai_box (3D surface), but there is no&lt;BR /&gt;
&amp;gt; method in VBA for creating this, so you have to create it manually using&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; IAcadPolygonMesh object.  But the problem with this is you need to pass it&lt;BR /&gt;
&amp;gt; 54 coordinates just to create a simple box!  This just seems complex, and&lt;BR /&gt;
&amp;gt; there must be a more efficient method?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; So I'm just curious if anybody has been working with surfaces, and what&lt;BR /&gt;
&amp;gt; might be some efficient methods to work with them.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Any info creatly appreciated.&lt;BR /&gt;
&amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt;&lt;/WARREN.MEDERNACH&gt;</description>
      <pubDate>Mon, 26 Mar 2001 11:26:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337116#M85965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-26T11:26:11Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337117#M85966</link>
      <description>Hello Luc.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the info.&lt;BR /&gt;
Can you give me a 'kick' in the right direction?&lt;BR /&gt;
How do I determine which coordinate belongs where?&lt;BR /&gt;
Where can I find more info on the AcadPolygonMesh?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Warren Medernach&lt;BR /&gt;
&lt;BR /&gt;
"Luc Morrissette" &lt;LMORRISSETTE&gt; wrote in message&lt;BR /&gt;
news:78F2003360D4FEBE0258D2A546BA59B6@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hi,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; You have to work with the base entity (AcadPolygonMesh).&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; It is not that complex to write a MeshBox function that will create the&lt;BR /&gt;
&amp;gt; PolygonMesh with the 54 pts needed.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Luc Morrissette,&lt;BR /&gt;
&amp;gt; Flairbase inc.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:418E4BD6ACEC956CE8FB9A490BAE880C@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Hello all.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I need to generate many 'boxes' by reading values from a database.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I started off by using the Acad3DSolid, but the dwgs are ending up just&lt;BR /&gt;
&amp;gt; too&lt;BR /&gt;
&amp;gt; &amp;gt; large 6+ megs, and my test is placing about 1600 boxes, and I'll&lt;BR /&gt;
&amp;gt; eventually&lt;BR /&gt;
&amp;gt; &amp;gt; need to place many more.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; So I thought I would try creating the ai_box (3D surface), but there is&lt;BR /&gt;
no&lt;BR /&gt;
&amp;gt; &amp;gt; method in VBA for creating this, so you have to create it manually using&lt;BR /&gt;
&amp;gt; the&lt;BR /&gt;
&amp;gt; &amp;gt; IAcadPolygonMesh object.  But the problem with this is you need to pass&lt;BR /&gt;
it&lt;BR /&gt;
&amp;gt; &amp;gt; 54 coordinates just to create a simple box!  This just seems complex,&lt;BR /&gt;
and&lt;BR /&gt;
&amp;gt; &amp;gt; there must be a more efficient method?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; So I'm just curious if anybody has been working with surfaces, and what&lt;BR /&gt;
&amp;gt; &amp;gt; might be some efficient methods to work with them.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Any info creatly appreciated.&lt;BR /&gt;
&amp;gt; &amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/WARREN.MEDERNACH&gt;&lt;/LMORRISSETTE&gt;</description>
      <pubDate>Tue, 27 Mar 2001 11:22:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337117#M85966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-27T11:22:55Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337118#M85967</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Draw a box with Autocad 2000, bring the properties box, and use the vertex&lt;BR /&gt;
property to navigate trough the vertex. This will show you what is the&lt;BR /&gt;
sequence needed. This vertex list is the array you have to pass to the&lt;BR /&gt;
coordinates property of the AcadPolygonMesh. Dont forget to set M and N&lt;BR /&gt;
vertex count as well.&lt;BR /&gt;
&lt;BR /&gt;
Bye,&lt;BR /&gt;
&lt;BR /&gt;
Luc Morrissette,&lt;BR /&gt;
Flairbase inc.&lt;BR /&gt;
&lt;BR /&gt;
"Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
news:B5E60600515D5F023DE48C772AFA7969@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hello Luc.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks for the info.&lt;BR /&gt;
&amp;gt; Can you give me a 'kick' in the right direction?&lt;BR /&gt;
&amp;gt; How do I determine which coordinate belongs where?&lt;BR /&gt;
&amp;gt; Where can I find more info on the AcadPolygonMesh?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks&lt;BR /&gt;
&amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Luc Morrissette" &lt;LMORRISSETTE&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:78F2003360D4FEBE0258D2A546BA59B6@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Hi,&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; You have to work with the base entity (AcadPolygonMesh).&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; It is not that complex to write a MeshBox function that will create the&lt;BR /&gt;
&amp;gt; &amp;gt; PolygonMesh with the 54 pts needed.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Luc Morrissette,&lt;BR /&gt;
&amp;gt; &amp;gt; Flairbase inc.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:418E4BD6ACEC956CE8FB9A490BAE880C@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Hello all.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I need to generate many 'boxes' by reading values from a database.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I started off by using the Acad3DSolid, but the dwgs are ending up&lt;BR /&gt;
just&lt;BR /&gt;
&amp;gt; &amp;gt; too&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; large 6+ megs, and my test is placing about 1600 boxes, and I'll&lt;BR /&gt;
&amp;gt; &amp;gt; eventually&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; need to place many more.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; So I thought I would try creating the ai_box (3D surface), but there&lt;BR /&gt;
is&lt;BR /&gt;
&amp;gt; no&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; method in VBA for creating this, so you have to create it manually&lt;BR /&gt;
using&lt;BR /&gt;
&amp;gt; &amp;gt; the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; IAcadPolygonMesh object.  But the problem with this is you need to&lt;BR /&gt;
pass&lt;BR /&gt;
&amp;gt; it&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; 54 coordinates just to create a simple box!  This just seems complex,&lt;BR /&gt;
&amp;gt; and&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; there must be a more efficient method?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; So I'm just curious if anybody has been working with surfaces, and&lt;BR /&gt;
what&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; might be some efficient methods to work with them.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Any info creatly appreciated.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/WARREN.MEDERNACH&gt;&lt;/LMORRISSETTE&gt;&lt;/WARREN.MEDERNACH&gt;</description>
      <pubDate>Wed, 28 Mar 2001 07:13:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337118#M85967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-28T07:13:09Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337119#M85968</link>
      <description>Duh!  Such a simple answer, I looked right by it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks Luc.&lt;BR /&gt;
&lt;BR /&gt;
Warren Medernach&lt;BR /&gt;
&lt;BR /&gt;
"Luc Morrissette" &lt;LMORRISSETTE&gt; wrote in message&lt;BR /&gt;
news:458B88BF2670D1F6F4C60B818856566D@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hi,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Draw a box with Autocad 2000, bring the properties box, and use the vertex&lt;BR /&gt;
&amp;gt; property to navigate trough the vertex. This will show you what is the&lt;BR /&gt;
&amp;gt; sequence needed. This vertex list is the array you have to pass to the&lt;BR /&gt;
&amp;gt; coordinates property of the AcadPolygonMesh. Dont forget to set M and N&lt;BR /&gt;
&amp;gt; vertex count as well.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Bye,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Luc Morrissette,&lt;BR /&gt;
&amp;gt; Flairbase inc.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:B5E60600515D5F023DE48C772AFA7969@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Hello Luc.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks for the info.&lt;BR /&gt;
&amp;gt; &amp;gt; Can you give me a 'kick' in the right direction?&lt;BR /&gt;
&amp;gt; &amp;gt; How do I determine which coordinate belongs where?&lt;BR /&gt;
&amp;gt; &amp;gt; Where can I find more info on the AcadPolygonMesh?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks&lt;BR /&gt;
&amp;gt; &amp;gt; Warren Medernach&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Luc Morrissette" &lt;LMORRISSETTE&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:78F2003360D4FEBE0258D2A546BA59B6@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Hi,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; You have to work with the base entity (AcadPolygonMesh).&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; It is not that complex to write a MeshBox function that will create&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; PolygonMesh with the 54 pts needed.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Luc Morrissette,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Flairbase inc.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; "Warren Medernach" &lt;WARREN.MEDERNACH&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; news:418E4BD6ACEC956CE8FB9A490BAE880C@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hello all.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I need to generate many 'boxes' by reading values from a database.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I started off by using the Acad3DSolid, but the dwgs are ending up&lt;BR /&gt;
&amp;gt; just&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; too&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; large 6+ megs, and my test is placing about 1600 boxes, and I'll&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; eventually&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; need to place many more.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; So I thought I would try creating the ai_box (3D surface), but there&lt;BR /&gt;
&amp;gt; is&lt;BR /&gt;
&amp;gt; &amp;gt; no&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; method in VBA for creating this, so you have to create it manually&lt;BR /&gt;
&amp;gt; using&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; IAcadPolygonMesh object.  But the problem with this is you need to&lt;BR /&gt;
&amp;gt; pass&lt;BR /&gt;
&amp;gt; &amp;gt; it&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; 54 coordinates just to create a simple box!  This just seems&lt;BR /&gt;
complex,&lt;BR /&gt;
&amp;gt; &amp;gt; and&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; there must be a more efficient method?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; So I'm just curious if anybody has been working with surfaces, and&lt;BR /&gt;
&amp;gt; what&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; might be some efficient methods to work with them.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Any info creatly appreciated.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Warren Medernach&lt;BR /&gt;
&amp;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;&lt;/WARREN.MEDERNACH&gt;&lt;/LMORRISSETTE&gt;&lt;/WARREN.MEDERNACH&gt;&lt;/LMORRISSETTE&gt;</description>
      <pubDate>Wed, 28 Mar 2001 13:53:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/anybody-working-with-simple-autocad-surfaces-in-vba/m-p/337119#M85968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-03-28T13:53:20Z</dc:date>
    </item>
  </channel>
</rss>

