<?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: Access line weight for dimension lines in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8463046#M45517</link>
    <description>&lt;P&gt;As Jeremy said, RevitLookup is a useful tool to find the relationship between elements. etc.&lt;/P&gt;
&lt;P&gt;For the line weight you can get BuiltInParameter.LINE_PEN from the dimension type:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ElementId dimTypeId = dimension.GetTypeId();
Element dimType = document.GetElement(dimTypeId);
Paramater lineWeight = dimType.get_Parameter(BuiltInParameter.LINE_PEN);&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Dec 2018 14:46:12 GMT</pubDate>
    <dc:creator>BardiaJahan</dc:creator>
    <dc:date>2018-12-12T14:46:12Z</dc:date>
    <item>
      <title>Access line weight for dimension lines</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8462520#M45515</link>
      <description>&lt;P&gt;I want to access dimension line's line weight and even end points for the witness lines programmatically.i have attached a screenshot of what exactly I want.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DimensionLines.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/580460iA8D1DE216AA9306D/image-size/large?v=v2&amp;amp;px=999" role="button" title="DimensionLines.png" alt="DimensionLines.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 12:07:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8462520#M45515</guid>
      <dc:creator>ritesh.solankeSKPPH</dc:creator>
      <dc:date>2018-12-12T12:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Access line weight for dimension lines</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8462654#M45516</link>
      <description>&lt;P&gt;Before you do anything else whatsoever, install RevitLookup:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/RevitLookup" target="_blank"&gt;https://github.com/jeremytammik/RevitLookup&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is an interactive Revit BIM database exploration tool to view and navigate element properties and relationships.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use that to discover the relationships between the dimension lines, their styles and the properties you are looking for.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 13:01:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8462654#M45516</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-12-12T13:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access line weight for dimension lines</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8463046#M45517</link>
      <description>&lt;P&gt;As Jeremy said, RevitLookup is a useful tool to find the relationship between elements. etc.&lt;/P&gt;
&lt;P&gt;For the line weight you can get BuiltInParameter.LINE_PEN from the dimension type:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ElementId dimTypeId = dimension.GetTypeId();
Element dimType = document.GetElement(dimTypeId);
Paramater lineWeight = dimType.get_Parameter(BuiltInParameter.LINE_PEN);&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:46:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-line-weight-for-dimension-lines/m-p/8463046#M45517</guid>
      <dc:creator>BardiaJahan</dc:creator>
      <dc:date>2018-12-12T14:46:12Z</dc:date>
    </item>
  </channel>
</rss>

