<?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: SubDMesh Documentation? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4618643#M47060</link>
    <description>&lt;P&gt;Hi Philippe,&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;/P&gt;&lt;P&gt;I think i used the syntax this way, but the problem is that, the created shell is not "WaterTight" always.&lt;/P&gt;&lt;P&gt;I'm sure i might have been missing something here.&lt;/P&gt;&lt;P&gt;Here's the objective:&lt;/P&gt;&lt;P&gt;From a selection set of 3dfaces (triangles), use the vertices as vertexarray (at a projected elevation), and number of these 3dfaces as facearray, plus,&lt;/P&gt;&lt;P&gt;and to close the shell, i used the vertices of a 3dpolyline boundary to create a vertical wall composed of 3dfaces (rectangular), these are added to vertexarray and facearray(int n) as well, then lastly, the closing horizontal plane using the vertices of the boundary, but havin a flat elevation. The last closing plane's vertices are added to the vertexarray and also as n=1 in the facearray.&lt;/P&gt;&lt;P&gt;No errors, all is good, i can view it in 3d orbit.&lt;/P&gt;&lt;P&gt;The issue now is to convert this to a 3dsolid using the function SubDMesh.ConvertToSolid.&lt;/P&gt;&lt;P&gt;Somehow the subdmesh shell created is not "WaterTight".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Efren&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2013 17:15:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-13T17:15:45Z</dc:date>
    <item>
      <title>SubDMesh Documentation?</title>
      <link>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4605813#M47058</link>
      <description>&lt;P&gt;I've been looking for SubDMesh documentation, but there's none. Kean's and Balaji's examples are excellent but i want to know how the parameters are sequenced:&lt;/P&gt;&lt;P&gt;sdm.SetSubDMesh(vertarray, facearray, 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are the vertarray or facearray supposed to be arranged or sorted?&lt;/P&gt;&lt;P&gt;Or can they be random?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that, after closing the SubDMesh, i just can't make it WaterTight.&lt;/P&gt;&lt;P&gt;And so the conversion to solid, sdm.ConvertToSolid(false, false); always fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, what is the requirement of SubDMesh to be .WaterTight?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Efren&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2013 04:31:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4605813#M47058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-09T04:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: SubDMesh Documentation?</title>
      <link>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4609611#M47059</link>
      <description>&lt;P&gt;Hi Efren,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand what you mean by "Are the vertarray or facearray supposed to be arranged or sorted? Or can they be random?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way you have to provide arguments is logically described in the API Help Files for that method:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;AcDbSubDMesh::setSubDMesh Method&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="Table3" cellspacing="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" valign="top" class="Element242"&gt;
&lt;DIV class="Element243"&gt;&lt;EM&gt;const AcGePoint3dArray&amp;amp; vertexArray&lt;/EM&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD width="50%" valign="top" class="Element246"&gt;
&lt;DIV class="Element247"&gt;&lt;EM&gt;Input an array of vertex points.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" valign="top" class="Element242"&gt;
&lt;DIV class="Element243"&gt;&lt;EM&gt;const AcArray&amp;lt;Adesk::Int32&amp;gt;&amp;amp; faceArray&lt;/EM&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD width="50%" valign="top" class="Element246"&gt;
&lt;DIV class="Element247"&gt;&lt;EM&gt;Input an array of 32-bit integers describing the face definition based on the input vertex array.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" valign="top" class="Element242"&gt;
&lt;DIV class="Element243"&gt;&lt;EM&gt;int subDLevel&lt;/EM&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD width="50%" valign="top" class="Element246"&gt;
&lt;DIV class="Element247"&gt;&lt;EM&gt;Initial smoothness level.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="Element10"&gt;
&lt;P class="Element10"&gt;&lt;EM&gt;The faceArray defines an array of faces, and each face is defined by a set of numbers. The first number specifies the number of vertices in the face, the following numbers are the indices of the vertices making up the face.&lt;/EM&gt;&lt;/P&gt;
&lt;P class="Element10"&gt;&lt;EM&gt;See AcGiGeometry::shell() for more details on using an array of faces to define mesh faces. Note that Mesh does not support a hole definition like AcGiGeometry::shell().&lt;/EM&gt;&lt;/P&gt;
&lt;P class="Element10"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="Element10"&gt;This explanation seems rather explicit to me.&lt;/P&gt;
&lt;P class="Element10"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="Element10"&gt;I hope it helps,&lt;/P&gt;
&lt;P class="Element10"&gt;Philippe.&lt;/P&gt;
&lt;P class="Element10"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Nov 2013 10:07:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4609611#M47059</guid>
      <dc:creator>philippe.leefsma</dc:creator>
      <dc:date>2013-11-11T10:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: SubDMesh Documentation?</title>
      <link>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4618643#M47060</link>
      <description>&lt;P&gt;Hi Philippe,&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;/P&gt;&lt;P&gt;I think i used the syntax this way, but the problem is that, the created shell is not "WaterTight" always.&lt;/P&gt;&lt;P&gt;I'm sure i might have been missing something here.&lt;/P&gt;&lt;P&gt;Here's the objective:&lt;/P&gt;&lt;P&gt;From a selection set of 3dfaces (triangles), use the vertices as vertexarray (at a projected elevation), and number of these 3dfaces as facearray, plus,&lt;/P&gt;&lt;P&gt;and to close the shell, i used the vertices of a 3dpolyline boundary to create a vertical wall composed of 3dfaces (rectangular), these are added to vertexarray and facearray(int n) as well, then lastly, the closing horizontal plane using the vertices of the boundary, but havin a flat elevation. The last closing plane's vertices are added to the vertexarray and also as n=1 in the facearray.&lt;/P&gt;&lt;P&gt;No errors, all is good, i can view it in 3d orbit.&lt;/P&gt;&lt;P&gt;The issue now is to convert this to a 3dsolid using the function SubDMesh.ConvertToSolid.&lt;/P&gt;&lt;P&gt;Somehow the subdmesh shell created is not "WaterTight".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Efren&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 17:15:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/subdmesh-documentation/m-p/4618643#M47060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-13T17:15:45Z</dc:date>
    </item>
  </channel>
</rss>

