<?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: Dimension rebars in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5455496#M75229</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but this aproach dosen't give geometry of rebarsSet. There is nothing in collection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;Options opt = new Options();&lt;BR /&gt;opt.DetailLevel = ViewDetailLevel.Fine;&lt;BR /&gt;opt.ComputeReferences = true;&lt;BR /&gt;opt.IncludeNonVisibleObjects = true;&lt;/P&gt;&lt;P&gt;GeometryElement ele = raber.get_Geometry(opt);&lt;/P&gt;&lt;P&gt;foreach (GeometryObject geomObj in ele)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;I even tried sth different, but got only one curve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GeometryElement ele = doc.GetElement(reb.Id).get_Geometry(opt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could You help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2014 18:11:29 GMT</pubDate>
    <dc:creator>rnowak</dc:creator>
    <dc:date>2014-12-30T18:11:29Z</dc:date>
    <item>
      <title>Dimension rebars</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5356233#M75227</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to dimension the endpoints of a rebar horizontally and vertically? I can get the lines of the rabars with&amp;nbsp;rebar.GetCenterlineCurves, but it seems that the endpoints of these lines cannot be referenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 15:05:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5356233#M75227</guid>
      <dc:creator>michael</dc:creator>
      <dc:date>2014-10-23T15:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension rebars</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5369351#M75228</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read the geometry data from the rebar by Rebar.Geometry property. This property requires an Option argument. you need to set the option.CaculateReferences&amp;nbsp;to &amp;nbsp;true.&lt;/P&gt;
&lt;P&gt;Then read the edge of the rebar. and get the curve from the Edge object. Finally get the end point reference from the curve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;______________________________________________________________&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0174df;"&gt;If my post answers your question, please click the &lt;STRONG&gt;"Accept as Solution"&lt;/STRONG&gt; button. This helps everyone find answers more quickly!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 02:30:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5369351#M75228</guid>
      <dc:creator>Joe.Ye</dc:creator>
      <dc:date>2014-10-30T02:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension rebars</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5455496#M75229</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but this aproach dosen't give geometry of rebarsSet. There is nothing in collection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;Options opt = new Options();&lt;BR /&gt;opt.DetailLevel = ViewDetailLevel.Fine;&lt;BR /&gt;opt.ComputeReferences = true;&lt;BR /&gt;opt.IncludeNonVisibleObjects = true;&lt;/P&gt;&lt;P&gt;GeometryElement ele = raber.get_Geometry(opt);&lt;/P&gt;&lt;P&gt;foreach (GeometryObject geomObj in ele)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;I even tried sth different, but got only one curve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GeometryElement ele = doc.GetElement(reb.Id).get_Geometry(opt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could You help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2014 18:11:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/5455496#M75229</guid>
      <dc:creator>rnowak</dc:creator>
      <dc:date>2014-12-30T18:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension rebars</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/7094485#M75230</link>
      <description>&lt;P&gt;Not sure whether you got the solution for what you were looking for. I was also looking for something similar and has posted it here. Please have a look.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/create-aligned-dimension-between-rebars/m-p/7083248/highlight/false#M22827" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/create-aligned-dimension-between-rebars/m-p/7083248/highlight/false#M22827&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if you have any better solution let me know.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 02:32:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dimension-rebars/m-p/7094485#M75230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T02:32:19Z</dc:date>
    </item>
  </channel>
</rss>

