<?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 Creating a gap in pipes/ducts where the mouse is pointing over it. in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/creating-a-gap-in-pipes-ducts-where-the-mouse-is-pointing-over/m-p/9752834#M31737</link>
    <description>&lt;P&gt;So I have a lot of requests in my company to make a gap command for pipes/ducts, that works like SL but places an opening where the mouse is pointing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to figure out how exactly to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I figured out so far is to project a point to the MEP curve of the element,&lt;/P&gt;&lt;P&gt;split the curve at that point,&amp;nbsp;&lt;/P&gt;&lt;P&gt;move the points in both directions for&amp;nbsp; offset value (ex 100mm),&lt;/P&gt;&lt;P&gt;then use those curves to create 2 new elements for ducts/pipes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what i dont understand is how to project a point onto duct.&lt;/P&gt;&lt;P&gt;Is there a way for the api to ask the user to click on a pipe/duct, and for me somehow to get the duct/pipe that was clicked + position of the cursor.&lt;/P&gt;&lt;P&gt;Also what im having problems figuring out is when I split the curve into two points, how do i move that point along the curve to a set length ( so it shortens)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 14:00:43 GMT</pubDate>
    <dc:creator>Andrej.Licanin</dc:creator>
    <dc:date>2020-09-17T14:00:43Z</dc:date>
    <item>
      <title>Creating a gap in pipes/ducts where the mouse is pointing over it.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-a-gap-in-pipes-ducts-where-the-mouse-is-pointing-over/m-p/9752834#M31737</link>
      <description>&lt;P&gt;So I have a lot of requests in my company to make a gap command for pipes/ducts, that works like SL but places an opening where the mouse is pointing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to figure out how exactly to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I figured out so far is to project a point to the MEP curve of the element,&lt;/P&gt;&lt;P&gt;split the curve at that point,&amp;nbsp;&lt;/P&gt;&lt;P&gt;move the points in both directions for&amp;nbsp; offset value (ex 100mm),&lt;/P&gt;&lt;P&gt;then use those curves to create 2 new elements for ducts/pipes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what i dont understand is how to project a point onto duct.&lt;/P&gt;&lt;P&gt;Is there a way for the api to ask the user to click on a pipe/duct, and for me somehow to get the duct/pipe that was clicked + position of the cursor.&lt;/P&gt;&lt;P&gt;Also what im having problems figuring out is when I split the curve into two points, how do i move that point along the curve to a set length ( so it shortens)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-a-gap-in-pipes-ducts-where-the-mouse-is-pointing-over/m-p/9752834#M31737</guid>
      <dc:creator>Andrej.Licanin</dc:creator>
      <dc:date>2020-09-17T14:00:43Z</dc:date>
    </item>
  </channel>
</rss>

