<?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 How to get the Object Points by Javascript in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223578#M36746</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm developing a javascript where once an Entity is selected (in my case, a Polyline), be able to get the vertex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;My App need to get for each Polyline selected, every 2D point in the shape and store such points in my DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Once I have the Entity selected and got it's ID, what function would hep me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Is there any way to accomplish this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 19:22:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-18T19:22:57Z</dc:date>
    <item>
      <title>How to get the Object Points by Javascript</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223578#M36746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm developing a javascript where once an Entity is selected (in my case, a Polyline), be able to get the vertex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;My App need to get for each Polyline selected, every 2D point in the shape and store such points in my DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Once I have the Entity selected and got it's ID, what function would hep me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Is there any way to accomplish this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 19:22:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223578#M36746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-18T19:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Object Points by Javascript</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223617#M36747</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Firstly I hope I got your point and secondly I hope you able to read C# codes to get the idea of the program and transfer them into Java.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var pl = (Polyline)trA.GetObject(s.ObjectId, OpenMode.ForRead);&lt;BR /&gt; Point3dCollection lst = new Point3dCollection();&lt;BR /&gt; int pts = (int)pl.GetParameterAtPoint(pl.EndPoint);&lt;BR /&gt; ed.WriteMessage("\nNumber of params : " + (pts + 1).ToString());&lt;BR /&gt; for (int i = 0; i &amp;lt; (pts + 1); i++)&lt;BR /&gt; {&lt;BR /&gt; lst.Add(pl.GetPointAtParameter(i));&lt;BR /&gt; }&lt;BR /&gt; foreach (Point3d p in lst)&lt;BR /&gt; {&lt;BR /&gt; ed.WriteMessage("\nPoint :" + p.ToString());&lt;BR /&gt; }&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 19:55:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223617#M36747</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2016-03-18T19:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Object Points by Javascript</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223822#M36748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/660967"&gt;@_Tharwat﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your quick answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your solution step by creating a new DLL in .NET based on C# and within javascript call such function to be able to catch the points from the selected Entity?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 22:12:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223822#M36748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-18T22:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Object Points by Javascript</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223860#M36749</link>
      <description>&lt;P&gt;What does&amp;nbsp;&lt;/P&gt;
&lt;PRE class="Element100"&gt;Acad.DBEntity.getProperties();&lt;/PRE&gt;
&lt;P&gt;do for you ??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 23:04:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6223860#M36749</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2016-03-18T23:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Object Points by Javascript</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6224395#M36750</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/660967"&gt;@_Tharwat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for your quick answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your solution step by creating a new DLL in .NET based on C# and within javascript call such function to be able to catch the points from the selected Entity?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry I did not get your point and question.&lt;/P&gt;
&lt;P&gt;Clarify it a bit more.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 16:51:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6224395#M36750</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2016-03-19T16:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Object Points by Javascript</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6224497#M36751</link>
      <description>I believe he meant that your solution was to solve the problem in .NET and then call your solution from JavaScript.&lt;BR /&gt;&lt;BR /&gt;I don't believe this is what you meant.  I think you meant the original poster to look at your solution and translate it to JavaScript.</description>
      <pubDate>Sat, 19 Mar 2016 19:51:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-object-points-by-javascript/m-p/6224497#M36751</guid>
      <dc:creator>Keith.Brown</dc:creator>
      <dc:date>2016-03-19T19:51:18Z</dc:date>
    </item>
  </channel>
</rss>

