<?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 3dFace in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283567#M19389</link>
    <description>How does it work? I put this in my code:&lt;BR /&gt;
&lt;BR /&gt;
Dim Obj As Acad3DFace&lt;BR /&gt;
Dim point1(0 To 2) As Double&lt;BR /&gt;
Dim point2(0 To 2) As Double&lt;BR /&gt;
Dim point3(0 To 2) As Double&lt;BR /&gt;
Dim point4(0 To 2) As Double&lt;BR /&gt;
&lt;BR /&gt;
point1(0) = 0: point1(1) = 0: point1(2) = 0&lt;BR /&gt;
point2(0) = 5: point1(1) = 0: point1(2) = 0&lt;BR /&gt;
point3(0) = 5: point1(1) = 5: point1(2) = 0&lt;BR /&gt;
point4(0) = 0: point1(1) = 5: point1(2) = 0&lt;BR /&gt;
&lt;BR /&gt;
Set Obj = ThisDrawing.ModelSpace.Add3DFace(point1, point2, point3, point4)&lt;BR /&gt;
&lt;BR /&gt;
But no matter the values I put in the point variables, I can never form a square 3dface, only (seemingly) random triangles!</description>
    <pubDate>Sat, 21 Jun 2008 16:56:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-06-21T16:56:09Z</dc:date>
    <item>
      <title>3dFace</title>
      <link>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283567#M19389</link>
      <description>How does it work? I put this in my code:&lt;BR /&gt;
&lt;BR /&gt;
Dim Obj As Acad3DFace&lt;BR /&gt;
Dim point1(0 To 2) As Double&lt;BR /&gt;
Dim point2(0 To 2) As Double&lt;BR /&gt;
Dim point3(0 To 2) As Double&lt;BR /&gt;
Dim point4(0 To 2) As Double&lt;BR /&gt;
&lt;BR /&gt;
point1(0) = 0: point1(1) = 0: point1(2) = 0&lt;BR /&gt;
point2(0) = 5: point1(1) = 0: point1(2) = 0&lt;BR /&gt;
point3(0) = 5: point1(1) = 5: point1(2) = 0&lt;BR /&gt;
point4(0) = 0: point1(1) = 5: point1(2) = 0&lt;BR /&gt;
&lt;BR /&gt;
Set Obj = ThisDrawing.ModelSpace.Add3DFace(point1, point2, point3, point4)&lt;BR /&gt;
&lt;BR /&gt;
But no matter the values I put in the point variables, I can never form a square 3dface, only (seemingly) random triangles!</description>
      <pubDate>Sat, 21 Jun 2008 16:56:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283567#M19389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-21T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: 3dFace</title>
      <link>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283568#M19390</link>
      <description>You keep resetting point1's y and z.&lt;BR /&gt;
&lt;BR /&gt;
&lt;DREDMORTE&gt; wrote in message news:5963323@discussion.autodesk.com...&lt;BR /&gt;
How does it work? I put this in my code:&lt;BR /&gt;
&lt;BR /&gt;
Dim Obj As Acad3DFace&lt;BR /&gt;
Dim point1(0 To 2) As Double&lt;BR /&gt;
Dim point2(0 To 2) As Double&lt;BR /&gt;
Dim point3(0 To 2) As Double&lt;BR /&gt;
Dim point4(0 To 2) As Double&lt;BR /&gt;
&lt;BR /&gt;
point1(0) = 0: point1(1) = 0: point1(2) = 0&lt;BR /&gt;
point2(0) = 5: point1(1) = 0: point1(2) = 0&lt;BR /&gt;
point3(0) = 5: point1(1) = 5: point1(2) = 0&lt;BR /&gt;
point4(0) = 0: point1(1) = 5: point1(2) = 0&lt;BR /&gt;
&lt;BR /&gt;
Set Obj = ThisDrawing.ModelSpace.Add3DFace(point1, point2, point3, point4)&lt;BR /&gt;
&lt;BR /&gt;
But no matter the values I put in the point variables, I can never form a square 3dface, only (seemingly) random triangles!&lt;/DREDMORTE&gt;</description>
      <pubDate>Sat, 21 Jun 2008 17:13:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283568#M19390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-21T17:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: 3dFace</title>
      <link>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283569#M19391</link>
      <description>Thanks.... I feel stupid. Should I laugh or cry? Anyways, thanks a lot.&lt;BR /&gt;
&lt;BR /&gt;
ps: I'm 17, I'm using my dad's AutoCAD for a school project, I'm still getting the hang of it.</description>
      <pubDate>Sat, 21 Jun 2008 19:03:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283569#M19391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-21T19:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: 3dFace</title>
      <link>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283570#M19392</link>
      <description>We've all been there... Try placing your assignments on multiple lines which&lt;BR /&gt;
makes it easier to read and find typos.&lt;BR /&gt;
&lt;BR /&gt;
Dim pt1(2) as Double&lt;BR /&gt;
pt1(0) = ...&lt;BR /&gt;
pt1(1) = ...&lt;BR /&gt;
pt1(2) = ...&lt;BR /&gt;
&lt;BR /&gt;
Dim pt2(2) as Double&lt;BR /&gt;
...&lt;BR /&gt;
&lt;BR /&gt;
&lt;DREDMORTE&gt; wrote in message news:5963327@discussion.autodesk.com...&lt;BR /&gt;
Thanks.... I feel stupid. Should I laugh or cry? Anyways, thanks a lot.&lt;BR /&gt;
&lt;BR /&gt;
ps: I'm 17, I'm using my dad's AutoCAD for a school project, I'm still getting the hang of it.&lt;/DREDMORTE&gt;</description>
      <pubDate>Sat, 21 Jun 2008 19:09:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/3dface/m-p/2283570#M19392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-21T19:09:14Z</dc:date>
    </item>
  </channel>
</rss>

