<?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: Get current tap rotation around host part vector in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868437#M51578</link>
    <description>Whoops,&lt;BR /&gt;&lt;BR /&gt;In the simple case, the correct rotation would be:&lt;BR /&gt;ViewDir.Negate().AngleOnPlaneTo(tapDir, viewRightDir)&lt;BR /&gt;&lt;BR /&gt;I'm looking for (i believe):&lt;BR /&gt;HostDownDir.AngleOnPlaneTo(tapDir, hostRightDir)&lt;BR /&gt;&lt;BR /&gt;I think. I've been looking at this so long I'm starting to confuse myself.&lt;BR /&gt;&lt;BR /&gt;I might have figured out a way to determine it without using angleOnPlaneTo(), but I would really like to do this the proper way.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Matt</description>
    <pubDate>Tue, 20 Mar 2018 14:18:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-20T14:18:48Z</dc:date>
    <item>
      <title>Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7866250#M51575</link>
      <description>&lt;P&gt;Good afternoon, All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When someone has a minute, if they could help me out or point me in the right direction I would appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I am running Revit 2018.2, and I am dealing with Taps connected to straight pieces of duct or pipe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am disconnecting the taps and saving off connection information to reconnect after some processing, and I am only running into one issue - the current tap rotation around the host duct/pipe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found endless articles on how to rotate objects, or get rotation around one of the base axes, but I am not understanding how to tweak these to fit my need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want rotation around any of the base axes, all I want is the current rotation around the vector of the host part centerline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By manually setting the rotation to a value of Pi/2, I have succeeded in making it work&amp;nbsp;for when the duct is facing up, down, left, or right by comparing the host direction to the different view directions, and could probably continue to figure out the values for when the host direction matches ViewDirection or ViewDirection.Negate(), but if the duct or pipe is skewed even a little bit it doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In trig there is a way to calculate the angle given an origin, a known point on the circle, and another point that also exists on the circle.&lt;/P&gt;&lt;P&gt;I am trying to apply that formula - but I am not figuring out how to get the proper unit vectors to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I have (see code below):&lt;/P&gt;&lt;P&gt;The vector to the tap connector origin from the host centerline&lt;/P&gt;&lt;P&gt;The host centerline vector (I can get the vector on the host that aligns with where the tap vector starts)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I cannot determine (in bold):&lt;/P&gt;&lt;P&gt;The correct unit vectors to use to call &lt;STRONG&gt;unknownVector&lt;/STRONG&gt;.AngleOnPlaneTo(&lt;STRONG&gt;unknownRightDirection, &lt;/STRONG&gt;hostVector.Direction)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only axis of rotation I am worried about is the host vector itself, not any of the base axes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not even moving the tap or the host, I just want to reconnect it, and that requires calling FabricationPart.PlaceAsTap() which calls for two potential rotations (I only need the first one, the other spins the tap in place I believe).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;PRE&gt;                        var hostCon1Id = 0;
                        var hostCon1 = conManager.Lookup(hostCon1Id);
                        var hostCon2Id = 1;
                        var hostCon2 = conManager.Lookup(hostCon2Id);
                        var hostCenterLine = Line.CreateBound(hostCon1.Origin, hostCon2.Origin);
                        var hostDirection = hostCenterLine.Direction;
                        var tap = connectedPart;
                        var tapCon = connectedConnector;
                        var tapCon1Origin = tapCon.Origin;
                        var tapCon2Id = tapCon.Id == 0 ? 1 : 0;
                        var tapCon2 = tap.ConnectorManager.Lookup(tapCon2Id);
                        var tapCon2Origin = tap.ConnectorManager.Lookup(tapCon2Id).Origin;

                        var a = hostCenterLine.Distance(tapCon.Origin);
                        var c = (hostCon1.Origin - tapCon.Origin).GetLength();
                        var b = Math.Sqrt((Math.Pow(c, 2) - Math.Pow(a, 2)));

                        var distanceToTapCon = Math.Abs(b);

                        var vectorToTapConDir = Line.CreateBound(hostCenterLine.Evaluate(distanceToTapCon, false), tapCon1Origin).Direction;

                        var viewDir = doc.ActiveView.ViewDirection;
                        var viewRightDir = doc.ActiveView.RightDirection;
                        var viewUpDir = doc.ActiveView.UpDirection;

                        var tapRotation1 = 0.0;
                        
                        //(Matt) these work if the host direction lines up with view directions
                        //if (hostDirection.IsAlmostEqualTo(viewUpDir))
                        //    tapRotation1 = viewRightDir.Negate().AngleOnPlaneTo(vectorToTapConDir, viewUpDir);
                        //else if (hostDirection.IsAlmostEqualTo(viewUpDir.Negate()))
                        //    tapRotation1 = viewRightDir.AngleOnPlaneTo(vectorToTapConDir, viewUpDir.Negate());
                        //else if (hostDirection.IsAlmostEqualTo(viewRightDir))
                        //    tapRotation1 = viewUpDir.AngleOnPlaneTo(vectorToTapConDir, viewRightDir);
                        //else if (hostDirection.IsAlmostEqualTo(viewRightDir.Negate()))
                        // &lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Mar 2018 20:29:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7866250#M51575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-19T20:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7867300#M51576</link>
      <description>&lt;P&gt;Can't you just use the original connector's transform?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It provides origin, X, Y and Z axes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see you are using `tapCon.Origin`, but I do not see any use of the three axes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 08:15:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7867300#M51576</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-20T08:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868413#M51577</link>
      <description>Hi, Jeremy, thanks for replying!&lt;BR /&gt;&lt;BR /&gt;I woud try the transform, but maybe I don't fully understand transforms.&lt;BR /&gt;&lt;BR /&gt;I can get it, that's not a problem, but that contains information about&lt;BR /&gt;that tap's rotation around the x, y, and z axes - doesn't it?&lt;BR /&gt;&lt;BR /&gt;Instead, I'm wanting the rotation around a given vector, in this case the&lt;BR /&gt;host vector, regardless of the host's orientation to x, y, z.&lt;BR /&gt;&lt;BR /&gt;Can I get that from transform? Maybe i don't really understand them enough,&lt;BR /&gt;but transforms can contain up to three axes of rotation and I'm not&lt;BR /&gt;interested in any "axis" except the host centerline.&lt;BR /&gt;&lt;BR /&gt;I'm basically wanting to pretend I'm looking straight through the inside of&lt;BR /&gt;the duct or pipe, pretend there is a unit circle with its origin on the&lt;BR /&gt;host centerline lined up with the tap vector, with the tap connector origin&lt;BR /&gt;on the edge of the circle.&lt;BR /&gt;&lt;BR /&gt;Then I would need to get the "down" direction of the host and measure the&lt;BR /&gt;angle counterclockwise from there to the tap vector and that should be my&lt;BR /&gt;correct rotation.&lt;BR /&gt;&lt;BR /&gt;Simplest case:&lt;BR /&gt;We have a piece of duct with centerpoint at origin, centerline going from&lt;BR /&gt;(0,-2,0) to (0,2,0), and a tap on every side. Let's assume host direction&lt;BR /&gt;matches View.UpDirection.&lt;BR /&gt;&lt;BR /&gt;Tap rotation would be:&lt;BR /&gt;View.UpDirection.Negate ().AngleOnPlaneTo (tapDir, View.RightDirection)&lt;BR /&gt;&lt;BR /&gt;To do it regardless of host orientation, I guess the two vectors I would&lt;BR /&gt;need are host "down" direction, and host right direction, and then this&lt;BR /&gt;should always work:&lt;BR /&gt;hostDownDir.AngleOnPlaneTo (tapDir, hostRightDir).&lt;BR /&gt;&lt;BR /&gt;Unless I am totally off base.&lt;BR /&gt;&lt;BR /&gt;And even if this gives me a rotation that pops the tap to the wrong side,&lt;BR /&gt;as long as it is consistently the same wrong side regardless of host&lt;BR /&gt;orientation then a little tweaking will get me the right one. For instance,&lt;BR /&gt;maybe it's not the down and right direction I need, maybe it's host right&lt;BR /&gt;and up, or something like that.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Matt&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Mar 2018 14:13:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868413#M51577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T14:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868437#M51578</link>
      <description>Whoops,&lt;BR /&gt;&lt;BR /&gt;In the simple case, the correct rotation would be:&lt;BR /&gt;ViewDir.Negate().AngleOnPlaneTo(tapDir, viewRightDir)&lt;BR /&gt;&lt;BR /&gt;I'm looking for (i believe):&lt;BR /&gt;HostDownDir.AngleOnPlaneTo(tapDir, hostRightDir)&lt;BR /&gt;&lt;BR /&gt;I think. I've been looking at this so long I'm starting to confuse myself.&lt;BR /&gt;&lt;BR /&gt;I might have figured out a way to determine it without using angleOnPlaneTo(), but I would really like to do this the proper way.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Matt</description>
      <pubDate>Tue, 20 Mar 2018 14:18:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868437#M51578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T14:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868647#M51579</link>
      <description>&lt;P&gt;Dear Matt,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;I would try the transform...&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;but that contains information about&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;that tap's rotation around the x, y, and z axes - doesn't it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nope.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The connector's X, Y and Z axes are unit vectors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Z points straight 'out' looking out from the connector surface.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;X points 'right' looking out from the connector surface.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Y&amp;nbsp;points 'up' looking out from the connector surface.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2012/05/connector-orientation.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2012/05/connector-orientation.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Therefore, you can use them in conjunction with the pipe location line to determine the vector you are after.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 15:11:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868647#M51579</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-20T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868746#M51580</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alright, perfect!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's the piece of information I was missing. Thank you so much for clarifying!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought transform was was the axes of the whole project - and I was always searching for rotation to tap not connector orientation, so I'm certain the link you referenced will get me where I need to go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found out part of my problem was I was never actually disconnecting the tap from the other pieces connected to it, just saving off the information. So it was getting disconnected from the host, but when I went to place it back Revit balked and I thought it was because I supplied the wrong rotation (which I am if the host is skewed, anyway).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll give it a shot and let you know, thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 15:32:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7868746#M51580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7869421#M51581</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Success!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Almost completely there, it turns out i do actually need to worry about the spin of the tap, too, but from what I've got so far that should not be hard to figure out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the correct way to go (except for spin):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;                        &lt;BR /&gt;var hostDir = hostCon1.CoordinateSystem.BasisZ.Negate(); //Or hostCon2.CoordinateSystem.BasisZ&lt;BR /&gt;var hostDownDir = hostCon2.CoordinateSystem.BasisY.Negate();
var hostRightDir = hostCon2.CoordinateSystem.BasisX;
var tapDir = tapCon.CoordinateSystem.BasisZ;
var tapRotation1 = hostRightDir.Negate().AngleOnPlaneTo(tapDir, hostDir);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Huzzah! I've been struggling with this for over a week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What a relief, thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 19:04:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7869421#M51581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T19:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7869461#M51582</link>
      <description>&lt;P&gt;Congratulations on nailing it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry it took us so long to pinpoint the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am glad that all the information required is actually available somewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I love geometry and vectors and transforms and stuff, though, I'm happy/ashamed/sorry/proud to admin&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 19:09:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7869461#M51582</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-20T19:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7870476#M51583</link>
      <description>&lt;P&gt;Dear Matt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would like to share the final code including spin handling once that is in place, I think this might make a nice blog post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you think?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you agree, would you like to share a screen shot or two explaining what you originally had and needed, the steps we walked through, and what the final result looks like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 06:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7870476#M51583</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-21T06:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7871650#M51584</link>
      <description>I can, yes, though I'll have to remove any code indicating the reason why&lt;BR /&gt;it was needed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; that part I'm not allowed to share, but yeah that won't be&lt;BR /&gt;a problem.&lt;BR /&gt;&lt;BR /&gt;I love math, always have, it's just trig I'm the weakest on (calculus was&lt;BR /&gt;my favorite). Our teacher that year got tongue cancer the second week in&lt;BR /&gt;and we had a sub the rest of the year &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway, I'll let you know when I get it ready.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Matt&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:32:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/7871650#M51584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-21T13:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get current tap rotation around host part vector</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/9561183#M51585</link>
      <description>&lt;P&gt;Excellent, i have just one question. if you can help me please. Can we insert a tap other than rolling offset method(doc.create.NewTakeoffFitting(PipeConnector,PipeCure). Can we insert a tap like insert fitting using&amp;nbsp;doc.Create.NewFamilyInstance(...). if YES please let meknow&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shibu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 18:22:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-current-tap-rotation-around-host-part-vector/m-p/9561183#M51585</guid>
      <dc:creator>shibuchellappan</dc:creator>
      <dc:date>2020-06-04T18:22:34Z</dc:date>
    </item>
  </channel>
</rss>

