<?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 Convert local family instance coordinate of selected Edge to project coordinates in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6282821#M66224</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get the global coordinates? (Revit model space coordinates?) of the start&amp;nbsp;and end points of an Edge (selected by the user).&lt;/P&gt;&lt;P&gt;I can get the points just fine if the selected edge is a system family (duct, pipe, etc.).&amp;nbsp;The trouble is when the user selects a family instance (Mechanical, Electrical equipment etc.). After a while of trouble shooting I realized that the edge start and end coordinates being reported to me when a user selects a family instance edge were based on the family's local coordinate system. From there I started searching for a way to convert those points to the revit project coordinate system - or whatever system the ducts or pipes are using. I found several examples that steered me in the right direction (I think). But I have not been able to get anything to work for my particular case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/03/transform-instance-coordinates.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2009/03/transform-instance-coordinates.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/06/get-transformed-family-instance-geometry.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/06/get-transformed-family-instance-geometry.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2012/03/retrieve-geometry-in-element-coordinate-system.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2012/03/retrieve-geometry-in-element-coordinate-system.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These examples make it clear to me that I need to be dealing with the GeometryInstance class. What I cannot figure out is how to incorporate the selected Edge of a family instance, and then get the start and end point of that edge (in the global coordinate system).&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;C#, Revit 2016&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 19:11:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-20T19:11:07Z</dc:date>
    <item>
      <title>Convert local family instance coordinate of selected Edge to project coordinates</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6282821#M66224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get the global coordinates? (Revit model space coordinates?) of the start&amp;nbsp;and end points of an Edge (selected by the user).&lt;/P&gt;&lt;P&gt;I can get the points just fine if the selected edge is a system family (duct, pipe, etc.).&amp;nbsp;The trouble is when the user selects a family instance (Mechanical, Electrical equipment etc.). After a while of trouble shooting I realized that the edge start and end coordinates being reported to me when a user selects a family instance edge were based on the family's local coordinate system. From there I started searching for a way to convert those points to the revit project coordinate system - or whatever system the ducts or pipes are using. I found several examples that steered me in the right direction (I think). But I have not been able to get anything to work for my particular case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/03/transform-instance-coordinates.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2009/03/transform-instance-coordinates.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/06/get-transformed-family-instance-geometry.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/06/get-transformed-family-instance-geometry.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2012/03/retrieve-geometry-in-element-coordinate-system.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2012/03/retrieve-geometry-in-element-coordinate-system.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These examples make it clear to me that I need to be dealing with the GeometryInstance class. What I cannot figure out is how to incorporate the selected Edge of a family instance, and then get the start and end point of that edge (in the global coordinate system).&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;C#, Revit 2016&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 19:11:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6282821#M66224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T19:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6282950#M66225</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Pat,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, you are on the right track.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The GeometryInstance.Transform property represents the transformation from the family definition coordinates to the family instance placement context.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have nested family instances, there can be a whole sequence of these transformations that need to be applied.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can simply apply that transformation to the edge, e.g., using the Curve.CreateTransformed method.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You could also apply the instance transform to the entire instance geometry before accessing the edge, e.g., using one of the overloaded GeometryInstance methods taking a transform argument:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;GetInstanceGeometry() -- Computes the geometric representation of the instance. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GetInstanceGeometry(Transform) -- Computes a transformation of the geometric representation of the instance. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GetSymbolGeometry() -- Computes the geometric representation of the symbol which generates this instance. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GetSymbolGeometry(Transform) -- Computes a transformation of the geometric representation of the symbol which generates this instance. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Funnily enough, I also found that it is sometimes sufficient to simply pass in the identity transformation into these methods to obtain the geometry transformed to the global coordinate system.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 20:19:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6282950#M66225</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-04-20T20:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283056#M66226</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your quick reply. This is starting to make sense to me. But I am now hung up on what to do about the Transform.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I don't quite understand what the Transform is doing. Please forgive my ignorance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sample edge that is 5ft long...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Reference r = uidoc.Selection.PickObject(ObjectType.Edge, "Select an edge of an object.");&lt;BR /&gt;EdgeElemSelected = uidoc.Document.GetElement(r);&lt;BR /&gt;GeometryObject obj = EdgeElemSelected.GetGeometryObjectFromReference(r);&lt;BR /&gt;Edge elemEdge = obj as Edge;&lt;BR /&gt;//Curve elemCurve = elemEdge.AsCurve();&lt;BR /&gt;&lt;BR /&gt;Transform t = Transform.Identity;&lt;BR /&gt;//Curve famCurve = elemCurve.CreateTransformed(t); 
Curve famCurve = elemEdge.AsCurve().CreateTransformed(t);
XYZ p1 = famCurve.GetEndPoint(0);
XYZ p2 = famCurve.GetEndPoint(1);&lt;BR /&gt;&lt;BR /&gt;TaskDialog.Show("p1", p1.X + Environment.NewLine + p1.Y);&lt;BR /&gt;TaskDialog.Show("p2", p2.X + Environment.NewLine + p2.Y);&lt;/PRE&gt;&lt;P&gt;dialog p1 is reporting -2.5 &amp;amp; -2.5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dialog p1 is reporting 2.5 &amp;amp; -2.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These coordinates are still relative to the family's local coordinate system. I can verify this by moving the family instance around in plan and re-running my test. Each time the numbers being reported are the same. I know you said applying an identity transform to the curve is only *sometimes* sufficient. So this is clearly one of those cases where it is not sufficient. So my question to you is How do I define a transform other than using Transform.Identity to correctly obtain the points in the global coordinate system.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:21:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283056#M66226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T21:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283071#M66227</link>
      <description>&lt;P&gt;Get the geometry from the selected element itself, get the geometry instance from that, get its transform, and apply that instead of the identity.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:29:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283071#M66227</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-04-20T21:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283090#M66228</link>
      <description>&lt;P&gt;Here is the post on the identity transform:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/06/get-transformed-family-instance-geometry.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/06/get-transformed-family-instance-geometry.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see now that you have picked the edge directly, not extracted it from the GeometryInstance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That has a certain similarity with the slightly complex analysis undertaken here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#3" target="_blank"&gt;Determining the real world transform of a family instance face returned by PickObject&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#4" target="_blank"&gt;Iterating over element geometry to find a specific target geometry object&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#4" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't worry, you'll surely sort it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know how you end up solving this, please.&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, 20 Apr 2016 21:36:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283090#M66228</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-04-20T21:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283144#M66229</link>
      <description>&lt;P&gt;Thank you again Jermemy for your help on this. It may take some time for me to get this code example implemented.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/09/directshape-from-face-and-sketch-plane-reuse.html#3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully it does the trick. I'll let you know of my findings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 22:14:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283144#M66229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T22:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283557#M66230</link>
      <description>&lt;P&gt;You can also do this with Reference Voodoo like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static Edge GetInstanceEdgeFromSymbolRef(Reference symbolRef, Autodesk.Revit.DB.Document dbDoc)
{
	Edge instEdge = null;
	
	Options gOptions = new Options();	
	gOptions.ComputeReferences = true;
	gOptions.DetailLevel= ViewDetailLevel.Undefined;
	gOptions.IncludeNonVisibleObjects = false;
	
	Element elem = dbDoc.GetElement(symbolRef.ElementId);
	string stableRefSymbol = symbolRef.ConvertToStableRepresentation(dbDoc);
	string[] tokenList = stableRefSymbol.Split(new char[] { ':' });
	string stableRefInst = tokenList[3] + ":" + tokenList[4] + ":" + tokenList[5];
	
	GeometryElement geomElem = elem.get_Geometry(gOptions);
	foreach(GeometryObject geomElemObj in geomElem)
	{
		GeometryInstance geomInst = geomElemObj as GeometryInstance;
		if(geomInst != null)
		{
			GeometryElement gInstGeom = geomInst.GetInstanceGeometry();
			foreach(GeometryObject gGeomObject in gInstGeom)
			{
				Solid solid = gGeomObject as Solid;
				if(solid != null)
				{
					foreach(Edge edge in solid.Edges)
					{
						string stableRef = edge.Reference.ConvertToStableRepresentation(dbDoc);
						
						if(stableRef == stableRefInst)
						{
							instEdge = edge;
							break;
						}
					}
				}

				if(instEdge != null)
				{
					// already found, exit early
					break;
				}
			}
		}
		if(instEdge != null)
		{
			// already found, exit early
			break;
		}
	}
	return instEdge;
}&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Apr 2016 06:28:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283557#M66230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T06:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283592#M66231</link>
      <description>&lt;P&gt;Wow, Scott, you are a marvel!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is exactly what I was trying to achieve in that blog post back then, I think!&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>Thu, 21 Apr 2016 06:43:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283592#M66231</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-04-21T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283766#M66232</link>
      <description>&lt;P&gt;Yeah the Stable Reference Strings can be used to get at areas of the Geometry API that aren't fully exposed I love playing around with them. sometimes I stumble upon something cool such as this:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-api/geometry-returns-no-reference-for-familyinstance/m-p/6025697#M14252" target="_self"&gt;http://forums.autodesk.com/t5/revit-api/geometry-returns-no-reference-for-familyinstance/m-p/6025697#M14252&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 08:35:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283766#M66232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T08:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283779#M66233</link>
      <description>&lt;P&gt;Wow, very cool indeed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I should grab the gist of these two thread and put it on the blog for easier reference and better legibility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you like to summarise the main points, and decide which code snippets are really important to iinclude?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would be extremely helpful!&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>Thu, 21 Apr 2016 08:42:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283779#M66233</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-04-21T08:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283917#M66234</link>
      <description>&lt;P&gt;Thank you Jeremy, and Scott.&lt;/P&gt;&lt;P&gt;You two are both prime examples on why this community is so great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code snippet provided by Scott worked right out of the box. Now to start digesting it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again everyone!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 10:16:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6283917#M66234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6284512#M66235</link>
      <description>&lt;P&gt;no worries, glad to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeremy: I made a post you can use for your blog if you like. feel free to edit to your preference.&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-api/for-jeremy-stable-reference-strings/m-p/6284505#M15671" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api/for-jeremy-stable-reference-strings/m-p/6284505#M15671&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 14:17:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6284512#M66235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert local family instance coordinate of selected Edge to project coordin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6527560#M66236</link>
      <description>&lt;P&gt;Ah, rather belatedly let me add that I published Scott's contribution way back then on The Building Coder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/04/stable-reference-string-magic-voodoo.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/04/stable-reference-string-magic-voodoo.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks again to Scott for sharing this!&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>Sun, 28 Aug 2016 17:35:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/convert-local-family-instance-coordinate-of-selected-edge-to/m-p/6527560#M66236</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-08-28T17:35:58Z</dc:date>
    </item>
  </channel>
</rss>

