<?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 FamillyParameter Structural Material Type in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3701674#M80149</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating some structural framing families using the API.&lt;/P&gt;&lt;P&gt;I want to be able to set existing family parameters such as "Structural Material Type" to Steel or Concrete etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don't seem to be able to identify the built in parameter id (and iterating through existing I can see it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please adivse?&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;Jon&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2012 12:47:19 GMT</pubDate>
    <dc:creator>GeomGym</dc:creator>
    <dc:date>2012-11-16T12:47:19Z</dc:date>
    <item>
      <title>FamillyParameter Structural Material Type</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3701674#M80149</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating some structural framing families using the API.&lt;/P&gt;&lt;P&gt;I want to be able to set existing family parameters such as "Structural Material Type" to Steel or Concrete etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don't seem to be able to identify the built in parameter id (and iterating through existing I can see it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please adivse?&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;Jon&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 12:47:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3701674#M80149</guid>
      <dc:creator>GeomGym</dc:creator>
      <dc:date>2012-11-16T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: FamillyParameter Structural Material Type</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3710934#M80150</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try calling the following code passing your instance that you want the parameter ids for.&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 ID should be the second value on a line.&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;&amp;nbsp;&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;private&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt; DisplayParameters(&lt;SPAN&gt;Element&lt;/SPAN&gt; instance)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;string&lt;/SPAN&gt; message = &lt;SPAN&gt;""&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;foreach&lt;/SPAN&gt; (&lt;SPAN&gt;Parameter&lt;/SPAN&gt; p &lt;SPAN&gt;in&lt;/SPAN&gt; instance.Parameters)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;message += &lt;SPAN&gt;string&lt;/SPAN&gt;.Format(&lt;SPAN&gt;"{0}:{4} [{1}-{2}] [{3}]\n"&lt;/SPAN&gt;, p.Definition.Name, p.StorageType.ToString(), p.HasValue, p.StorageType == &lt;SPAN&gt;StorageType&lt;/SPAN&gt;.String ? p.ToString() : p.AsValueString(), p.Id);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TaskDialog&lt;/SPAN&gt;.Show(&lt;SPAN&gt;"Parameters"&lt;/SPAN&gt;, message);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 08:10:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3710934#M80150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-26T08:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: FamillyParameter Structural Material Type</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3754501#M80151</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revit lookup can help to get the built-in parameter member name if you know the parameter name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After click the "Parameters" property node in the RevitLookup, you can see the button named "Built-in Enums Map..." button. Click this button a dialog shows. Click the Value column to sort the parameter name. Then you can easily found the parameter that you already know its name string. In the right column &amp;nbsp;is the corresponding&amp;nbsp;&lt;SPAN&gt;built-in member.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 15:25:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/famillyparameter-structural-material-type/m-p/3754501#M80151</guid>
      <dc:creator>Joe.Ye</dc:creator>
      <dc:date>2013-01-16T15:25:02Z</dc:date>
    </item>
  </channel>
</rss>

