<?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: Custom Family Type - BuiltIn Parameters in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201169#M11442</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1035859"&gt;@RPTHOMAS108&lt;/a&gt;&amp;nbsp;for replying. I tried to use the&amp;nbsp;&lt;SPAN&gt;FAMILY_BASE_LEVEL_PARAM and&amp;nbsp;FAMILY_TOP_LEVEL_PARAM in my case but they are coming as null. Then I tried to use the inbuilt families in Revit and for them these parameters are coming as not null. As a next step I tried to see the code to create the custom family from sample code under&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;Revit 2023.1 SDK\Samples\FamilyCreation\GenericModelCreation&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and used that family in my code but for that as well these parameters&amp;nbsp;&lt;SPAN&gt;FAMILY_BASE_LEVEL_PARAM etc. are coming as null. I have attached a reproducible case by combining the code from two samples given under Revit SDK (&amp;nbsp;CreateBeamsColumnsBraces and&amp;nbsp;&lt;EM&gt;GenericModelCreation) . &lt;/EM&gt;When I select the custom generated family in the dropdown of my solution, concerned parameters are always null but when I select the inbuilt families ( the ones we download/install from Revit ), these parameters are not null.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This leads me to believe that something is missing from the family creation code which is controlling which built-in parameters should be present in the instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to reproduce the problem (&amp;nbsp; I have Revit 2023 and VS 2022)&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Download and unzip the attached file&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Run the solution from VS&lt;/P&gt;&lt;P&gt;3) Open any Revit file&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Go to Add-Ins --&amp;gt; External Tools --&amp;gt; Create beams,columns and braces(CS)&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) From the "Type of Columns" dropdown , select "Generic Family"&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( this is family we have created in the code i,e. custom family)&lt;/P&gt;&lt;P&gt;6) In the PlaceColumn method of&amp;nbsp;CreateBeamsColumnsBraces.CS.Command&amp;nbsp; , you can see baseLevelParameter and topLevelParameter are null at Line No. 367 and 368.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 11:35:04 GMT</pubDate>
    <dc:creator>rnilay81</dc:creator>
    <dc:date>2023-08-28T11:35:04Z</dc:date>
    <item>
      <title>Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12035161#M11433</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Revit API 2023 to create a Family ( something similar to what is referred to in&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2015/09/svg-in-memory-family-creation-and-revitlookup-bounding-box-1.html#5" target="_blank" rel="noopener"&gt;The Building Coder: SVG, In-Memory Family, RevitLookup BoundingBox (typepad.com)&amp;nbsp; ) .&amp;nbsp; &lt;/A&gt;&lt;/FONT&gt;Family is getting created just fine. Then I load that family and lastly I create a FamilyInstance of type StructuralColumn and StructuralFraming.&amp;nbsp; So far so good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am facing is when I try to set the Offset related parameters e.g.&amp;nbsp;&amp;nbsp;FAMILY_TOP_LEVEL_OFFSET_PARAM and&amp;nbsp;FAMILY_BASE_LEVEL_OFFSET_PARAM . These are null when I try to retrieve them via&amp;nbsp; &amp;nbsp;familyInstance.get_Parameter&amp;nbsp; before trying to set the values to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure if I have to specify something specific at the time of Family creation to let API know to associate the builtin Parameters to the Family or FamilyInstance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 04:01:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12035161#M11433</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-06-15T04:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12035310#M11434</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9117478"&gt;@rnilay81&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Are you trying to create&amp;nbsp;&lt;SPAN&gt;FAMILY_TOP_LEVEL_OFFSET_PARAM and&amp;nbsp;FAMILY_BASE_LEVEL_OFFSET_PARAM custom parameters to Built-In-Parameters ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 06:16:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12035310#M11434</guid>
      <dc:creator>Mohamed_Arshad</dc:creator>
      <dc:date>2023-06-15T06:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12035613#M11435</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8461394"&gt;@Mohamed_Arshad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. These are not custom parameters. but BuiltinParmeters ( &lt;A href="https://www.revitapidocs.com/2015/fb011c91-be7e-f737-28c7-3f1e1917a0e0.htm" target="_blank" rel="noopener"&gt;BuiltInParameter Enumeration (revitapidocs.com)&lt;/A&gt;) .As per the Revit Documentation I read that I can't create the BuiltinParameter because they are "BuiltIn"&amp;nbsp; ( &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/add-built-in-parameter-to-family/td-p/10674669" target="_blank" rel="noopener"&gt;Solved: Add built-in parameter to family - Autodesk Community - Revit Products&lt;/A&gt;)&amp;nbsp; .&amp;nbsp; &amp;nbsp;Of course the link talks about adding Builtin Params to the existing family and the answer is NO, we can't.&amp;nbsp; &amp;nbsp;But I want to know if we can add BuitlinParameter for newly created family through API.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details, below are the steps to give an idea as to why I want to have this functionality&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I create the FamilyInstance and apply the offset.&amp;nbsp; Once the entire model is built with API in this way then&lt;/P&gt;&lt;P&gt;2) I read the model for some post processing in another use case.&amp;nbsp; As the normal Revit API flow is to read the offsets through&amp;nbsp;&lt;SPAN&gt;FAMILY_TOP_LEVEL_OFFSET_PARAM and&amp;nbsp;FAMILY_BASE_LEVEL_OFFSET_PARAM BuiltInParmeters, I need to have the values set to it at the time of creation of the model creation( Step 1 above) .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can easily create the custom parameters and assign the values to it but the worry is that Revit won't be able to understand those parameters and won't be having the same offsetting effect on the 3D model.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not sure what the way forward is.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 08:59:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12035613#M11435</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-06-15T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12192958#M11436</link>
      <description>&lt;P&gt;Hi Mohamed,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping me out.&amp;nbsp;So I have tried to have these values&amp;nbsp;&lt;STRONG&gt;SCHEDULE_LEVEL_PARAM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;set . The problem I faced is when I try to do this through API, then the value SCHEDULE_LEVEL_PARAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;is coming as ready only and can't be set..&amp;nbsp; Then I am trying with having different families for Columns ( Structural column family ) and for Beams ( Structural Beam &amp;amp; Truss family) and trying to set these values. Still trying these things and will update by today.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 05:37:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12192958#M11436</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-08-24T05:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12192979#M11437</link>
      <description>&lt;P&gt;For an introduction to programmatically creating a family, please work through the Family API labs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2009/08/the-revit-family-api.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2009/08/the-revit-family-api.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will probably also find the other family creation articles useful:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.25.1" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.25.1&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot create built-in parameters. They are built in to Revit, hard-coded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can however create family parameters and make use of those to control the types and symbols generated by by your family definition.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 05:56:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12192979#M11437</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-08-24T05:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12193015#M11438</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9117478"&gt;@rnilay81&lt;/a&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing you have understand. You're Using &lt;STRONG&gt;Structural Framing Category&lt;/STRONG&gt;&amp;nbsp;with &lt;STRONG&gt;Line Based Family&lt;/STRONG&gt; so below parameters are must.&lt;/P&gt;&lt;P&gt;1. Curve&lt;/P&gt;&lt;P&gt;2. Level&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Which Type of Family&lt;/P&gt;&lt;P&gt;4. Structural Type or Non Structural Type&lt;BR /&gt;&lt;BR /&gt;By using this create New Family Instance by using the&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2022/d8e0a91a-b062-3a86-6d8e-779534459ff4.htm" target="_self"&gt;NewFamilyInstance&lt;/A&gt;&amp;nbsp;Method, Then Access the below two parameter for offset from the level.&amp;nbsp;&lt;STRONG&gt;SCHEDULE_LEVEL_PARAM&amp;nbsp;&lt;/STRONG&gt;can accessed at the time of creating Instance. Once Instance is created. It will not accessed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BuiltInParameter: STRUCTURAL_BEAM_END0_ELEVATION
BuiltInParameter: STRUCTURAL_BEAM_END1_ELEVATION&lt;/PRE&gt;&lt;P&gt;Hope this will Helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 06:18:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12193015#M11438</guid>
      <dc:creator>Mohamed_Arshad</dc:creator>
      <dc:date>2023-08-24T06:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12193434#M11439</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp; for replying. I have followed these posts already to create the families . They are getting created fine. The place I am struggling is - I want my Column to have the constraints as "Base Level" and "Top Level" with values to be set as Levels from the model ( Snapshot is from Sample model and I want it similar for my own model through API )&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rnilay81_0-1692870064097.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257471i6A85E3AA144B13F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rnilay81_0-1692870064097.png" alt="rnilay81_0-1692870064097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As the existing values of the "Top Level" parameter such as SCHEDULE_TOP_LEVEL_PARAM I get from the existing templates is coming as readyonly, the values can not be set. So I tried to add the parameter through below method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fmgr.AddParameter("Top Level", GroupTypeId.Constraints, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I am struggling to understand what the other parameter of ForgeTypeId would be for Type Level so that it would be displayed under Constraints when the model is ready . All the examples I get is either for&amp;nbsp;&lt;STRONG&gt;ParameterType.Length or Material or Text. &lt;/STRONG&gt;But I don't understand how to add parameter with type for ElementId as Level so that when I get the custom Parameter then it can be set as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;baseLevelParam.Set(baseLevel.Id);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I want to create the custom family parameter but want it to behave exactly like BuiltInParameter of base level and top level because they are readonly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the absence of any way to set base level and top level, my columns are just horizontally placed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rnilay81_0-1692871361091.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257481i5B1940773BB3E681/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rnilay81_0-1692871361091.png" alt="rnilay81_0-1692871361091.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of expected Vertical&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rnilay81_1-1692871399162.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257483i020FAEC0B2BAC04D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rnilay81_1-1692871399162.png" alt="rnilay81_1-1692871399162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I am able to clearly put across the problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 10:03:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12193434#M11439</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-08-24T10:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12193466#M11440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8461394"&gt;@Mohamed_Arshad&lt;/a&gt;&amp;nbsp; for replying. Actually I am passing in the level at the time of creation of the instance as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;fi = m_revit.ActiveUIDocument.Document.Create.NewFamilyInstance(point1, fs, topLevel, st);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where topLevel is of type Level .&amp;nbsp; st is StructuralType i.e. Column or Beam&amp;nbsp; ,&amp;nbsp; fs is family symbol , point1 is the starting point in the base level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But unfortunately as I said in the above post, the columns are just coming in one level only ( Horizontal)&amp;nbsp; instead of&amp;nbsp; starting at base level and ending at top level (&amp;nbsp; Vertical ) .&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 10:07:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12193466#M11440</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-08-24T10:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12195289#M11441</link>
      <description>&lt;P&gt;You can only change the values of built-in parameter not add them to a family (they exist or they don't depending on category).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tend to use&lt;/P&gt;&lt;P&gt;FAMILY_BASE_LEVEL_PARAM&lt;/P&gt;&lt;P&gt;FAMILY_TOP_LEVEL_PARAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are not read-only&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RPTHOMAS108_0-1692918336616.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257878iD69E60967E6F23AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RPTHOMAS108_0-1692918336616.png" alt="RPTHOMAS108_0-1692918336616.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RPTHOMAS108_1-1692918378264.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257879iE3CCB7CF07811490/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RPTHOMAS108_1-1692918378264.png" alt="RPTHOMAS108_1-1692918378264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The associated schedule ones are also not read-only but I would not use those since they were added for schedules. It doesn't make sense to me to use the schedule ones when the intended family ones do exactly the same thing, have existing for longer and were obviously created for that purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Families placed on a level such as columns point upwards from that level this is unlike in the UI where the column ends up below the view level you place it on. So your 'toplevel' notation indicates to me that you are setting the bottom of your column onto the top level and also setting the top of the column to that same level after placement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be honest that should trigger a warning i.e. the top and bottom level can't be the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RPTHOMAS108_2-1692918942890.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257883iF7B4D02DD1D25743/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RPTHOMAS108_2-1692918942890.png" alt="RPTHOMAS108_2-1692918942890.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RPTHOMAS108_3-1692918959936.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1257884iA81D94161036A2EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RPTHOMAS108_3-1692918959936.png" alt="RPTHOMAS108_3-1692918959936.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 23:20:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12195289#M11441</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2023-08-24T23:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201169#M11442</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1035859"&gt;@RPTHOMAS108&lt;/a&gt;&amp;nbsp;for replying. I tried to use the&amp;nbsp;&lt;SPAN&gt;FAMILY_BASE_LEVEL_PARAM and&amp;nbsp;FAMILY_TOP_LEVEL_PARAM in my case but they are coming as null. Then I tried to use the inbuilt families in Revit and for them these parameters are coming as not null. As a next step I tried to see the code to create the custom family from sample code under&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;Revit 2023.1 SDK\Samples\FamilyCreation\GenericModelCreation&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and used that family in my code but for that as well these parameters&amp;nbsp;&lt;SPAN&gt;FAMILY_BASE_LEVEL_PARAM etc. are coming as null. I have attached a reproducible case by combining the code from two samples given under Revit SDK (&amp;nbsp;CreateBeamsColumnsBraces and&amp;nbsp;&lt;EM&gt;GenericModelCreation) . &lt;/EM&gt;When I select the custom generated family in the dropdown of my solution, concerned parameters are always null but when I select the inbuilt families ( the ones we download/install from Revit ), these parameters are not null.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This leads me to believe that something is missing from the family creation code which is controlling which built-in parameters should be present in the instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to reproduce the problem (&amp;nbsp; I have Revit 2023 and VS 2022)&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Download and unzip the attached file&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Run the solution from VS&lt;/P&gt;&lt;P&gt;3) Open any Revit file&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Go to Add-Ins --&amp;gt; External Tools --&amp;gt; Create beams,columns and braces(CS)&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) From the "Type of Columns" dropdown , select "Generic Family"&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( this is family we have created in the code i,e. custom family)&lt;/P&gt;&lt;P&gt;6) In the PlaceColumn method of&amp;nbsp;CreateBeamsColumnsBraces.CS.Command&amp;nbsp; , you can see baseLevelParameter and topLevelParameter are null at Line No. 367 and 368.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 11:35:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201169#M11442</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-08-28T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201276#M11443</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9117478"&gt;@rnilay81&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me check and update you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201276#M11443</guid>
      <dc:creator>Mohamed_Arshad</dc:creator>
      <dc:date>2023-08-28T12:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201834#M11444</link>
      <description>&lt;P&gt;If you are using the generic model template to create your column family then that isn't going to add those built-in parameters, even if you set the category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the same as the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To create structural columns you need to use&lt;/P&gt;&lt;P&gt;Metric Structural Column (or imperial equivalent)&lt;/P&gt;&lt;P&gt;Similarly to create a structural framing family you should use:&lt;/P&gt;&lt;P&gt;Metric Structural Framing - Beams and Braces&amp;nbsp;(or imperial equivalent)&lt;/P&gt;&lt;P&gt;You should have an imperial and metric version of all your templates/content in reality (likewise versions with localised parameter names if you are localising).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the problem is easier than you think i.e. if you don't see the built-in parameters in your family (when placed in the project) then you are using the wrong family template to create the family.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the most confusing things when people first interact with the Revit family environment is due to the incorrect assumption that any type of element functionality can come from the same RFT or RFA file. In reality the content of those templates is hard coded to suit a certain purpose and you can't change it to match another template type. In that respect it is a bit different to other programs where they would perhaps use a different file extension to note different template types.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 16:37:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12201834#M11444</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2023-08-28T16:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12203945#M11445</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1035859"&gt;@RPTHOMAS108&lt;/a&gt;&amp;nbsp; Thanks for the advice. I have now integrated the structural column template and it is giving me non null parameters for top and base levels. I am at least able to move it ahead. Thanks a lot for all your help. Also, a big thanks to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8461394"&gt;@Mohamed_Arshad&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 12:18:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12203945#M11445</guid>
      <dc:creator>rnilay81</dc:creator>
      <dc:date>2023-08-29T12:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Family Type - BuiltIn Parameters</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12236653#M11446</link>
      <description>&lt;P&gt;Thank you for the nice illuminating explanation. I shared it on the blog for posterity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2023/09/system-family-predicate-and-python-section-creation.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2023/09/system-family-predicate-and-python-section-creation.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 07:27:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-family-type-builtin-parameters/m-p/12236653#M11446</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-09-13T07:27:19Z</dc:date>
    </item>
  </channel>
</rss>

