<?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: Creating Sliding Grip in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761413#M51456</link>
    <description>&lt;P&gt;Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions, I also found this post by Norman that looks good as well. I guess the code final will be a mixer of all these suggestions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://drive-cad-with-code.blogspot.co.nz/2012/03/moving-entity-along-curve.html"&gt;http://drive-cad-with-code.blogspot.co.nz/2012/03/moving-entity-along-curve.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2013 09:58:25 GMT</pubDate>
    <dc:creator>ralstogj</dc:creator>
    <dc:date>2013-01-25T09:58:25Z</dc:date>
    <item>
      <title>Creating Sliding Grip</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3760405#M51451</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to make a grip that slides along a polyline. Similar to the diamond shaped grips used in Civil3d to slide along alignments and pipe objects to pick stations and insert labels. Does anyone know how this can be done in .net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3760405#M51451</guid>
      <dc:creator>ralstogj</dc:creator>
      <dc:date>2013-01-24T09:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Sliding Grip</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761083#M51452</link>
      <description>&lt;P&gt;Dou you want to draw something similar on this shape?&lt;/P&gt;&lt;PRE&gt;        public void drawDMShape()
        {
            Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;
            Line ln = new Line();
            using (Transaction tr = db.TransactionManager.StartTransaction())
            {
                BlockTableRecord btr = (BlockTableRecord)tr.GetObject(db.CurrentSpaceId, OpenMode.ForWrite);
                double[] x = new double[61];
                double[] y = new double[61];
                int i = 0;
                int j = 0;
                int k = 0;
                double theta = 0;
                double t = 100;
                double _pi = Math.PI;
                k = 15;
                theta = 2 * _pi / k;
                for (i = 0; i &amp;lt;= k; i++)
                {
                    x[i] = t * Math.Cos(theta * (i + 1)) + 200;
                    y[i] = 200 - t * Math.Sin(theta * (i + 1));
                }
                for (i = 0; i &amp;lt;= k - 1; i++)
                {
                    for (j = i + 1; j &amp;lt;= k; j++)
                    {
                        ln = new Line(new Point3d(x[i], y[i], 0), new Point3d(x[j], y[j], 0));
                        btr.AppendEntity(ln);
                        tr.AddNewlyCreatedDBObject(ln, true);
                    }
                }
                tr.Commit();
            }
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 20:45:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761083#M51452</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2013-01-24T20:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Sliding Grip</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761153#M51453</link>
      <description>&lt;P&gt;I am not sure if I understood correctly&amp;nbsp;what you mean.&lt;/P&gt;&lt;P&gt;If you mean grip points then&amp;nbsp;I used ideas from this link&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.theswamp.org/index.php?topic=42974.0"&gt;http://www.theswamp.org/index.php?topic=42974.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 21:57:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761153#M51453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-24T21:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Sliding Grip</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761240#M51454</link>
      <description>&lt;P&gt;Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a picture from Civil3d of the sliding grip for a pipe label used to move the pipe label up and down the pipe.&lt;/P&gt;&lt;P&gt;Basically I want to copy this type of grip and use it to slide up and down the pipe, but instead of a label attached to the grip I will have a short piece of pipe that is the house lot connections angled at 45 degrees to the main pipe line.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 23:58:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761240#M51454</guid>
      <dc:creator>ralstogj</dc:creator>
      <dc:date>2013-01-24T23:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Sliding Grip</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761256#M51455</link>
      <description>&lt;P&gt;I am not very familiar with C3D but the way how to add new grip point is by using&amp;nbsp; overrule api.&lt;/P&gt;&lt;P&gt;If I were you I would check this links&lt;/P&gt;&lt;P&gt;-Monitoring grip edit and then move your short pipe&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://through-the-interface.typepad.com/through_the_interface/2009/08/gluing-a-point-to-an-autocad-curve-using-overrules-from-net-part-3.html"&gt;http://through-the-interface.typepad.com/through_the_interface/2009/08/gluing-a-point-to-an-autocad-curve-using-overrules-from-net-part-3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Add new diamond grip point&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.theswamp.org/index.php?topic=42974.0"&gt;http://www.theswamp.org/index.php?topic=42974.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 00:50:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761256#M51455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-25T00:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Sliding Grip</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761413#M51456</link>
      <description>&lt;P&gt;Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions, I also found this post by Norman that looks good as well. I guess the code final will be a mixer of all these suggestions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://drive-cad-with-code.blogspot.co.nz/2012/03/moving-entity-along-curve.html"&gt;http://drive-cad-with-code.blogspot.co.nz/2012/03/moving-entity-along-curve.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:58:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-sliding-grip/m-p/3761413#M51456</guid>
      <dc:creator>ralstogj</dc:creator>
      <dc:date>2013-01-25T09:58:25Z</dc:date>
    </item>
  </channel>
</rss>

