<?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 Problem with .NET Export plugin in 3ds max 2016 education in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/problem-with-net-export-plugin-in-3ds-max-2016-education/m-p/8446868#M9294</link>
    <description>&lt;P&gt;I'm developing a .NET plugin to export the mesh in&amp;nbsp;XML&amp;nbsp;after import a obj file.&lt;/P&gt;
&lt;P&gt;I import the obj filie like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20181205220807.png" style="width: 469px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/577631i970B9A96FEDD07DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="20181205220807.png" alt="20181205220807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the mesh like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;public ITriObject GetTriObjectFromNode(IINode node, bool deleteIt)
        {
            deleteIt = false;
            IObject obj = node.EvalWorldState(ip.Time, true).Obj;
            if (obj == null)
                return null;
            ITriObject tri = (ITriObject)obj.ConvertToType(ip.Time, global.TriObjectClassID);
            // Note that the TriObject should only be deleted
            // if the pointer to it is not equal to the object
            // pointer that called ConvertToType()
            if (obj != tri) deleteIt = true;
            return tri;
        }&lt;/PRE&gt;
&lt;P&gt;Then I get mesh by triobject.Mesh.&amp;nbsp; But when I start to get the number of vertices and texture vertices, I find&amp;nbsp;there are some texture vertices lost. The number of texture vertices is less then the vertices. I am looking for help and I attach the obj file below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 14:16:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-05T14:16:06Z</dc:date>
    <item>
      <title>Problem with .NET Export plugin in 3ds max 2016 education</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/problem-with-net-export-plugin-in-3ds-max-2016-education/m-p/8446868#M9294</link>
      <description>&lt;P&gt;I'm developing a .NET plugin to export the mesh in&amp;nbsp;XML&amp;nbsp;after import a obj file.&lt;/P&gt;
&lt;P&gt;I import the obj filie like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20181205220807.png" style="width: 469px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/577631i970B9A96FEDD07DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="20181205220807.png" alt="20181205220807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the mesh like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;public ITriObject GetTriObjectFromNode(IINode node, bool deleteIt)
        {
            deleteIt = false;
            IObject obj = node.EvalWorldState(ip.Time, true).Obj;
            if (obj == null)
                return null;
            ITriObject tri = (ITriObject)obj.ConvertToType(ip.Time, global.TriObjectClassID);
            // Note that the TriObject should only be deleted
            // if the pointer to it is not equal to the object
            // pointer that called ConvertToType()
            if (obj != tri) deleteIt = true;
            return tri;
        }&lt;/PRE&gt;
&lt;P&gt;Then I get mesh by triobject.Mesh.&amp;nbsp; But when I start to get the number of vertices and texture vertices, I find&amp;nbsp;there are some texture vertices lost. The number of texture vertices is less then the vertices. I am looking for help and I attach the obj file below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:16:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/problem-with-net-export-plugin-in-3ds-max-2016-education/m-p/8446868#M9294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-05T14:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with .NET Export plugin in 3ds max 2016 education</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/problem-with-net-export-plugin-in-3ds-max-2016-education/m-p/8446879#M9295</link>
      <description>&lt;P&gt;Here is the obj file I have tried.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:19:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/problem-with-net-export-plugin-in-3ds-max-2016-education/m-p/8446879#M9295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-05T14:19:46Z</dc:date>
    </item>
  </channel>
</rss>

