<?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: How to &amp;quot;Group Parameter Under&amp;quot; in properties dialog? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063420#M67270</link>
    <description>Yep ... I have looked several places before posting my question here, and the API help was the first place I looked!&lt;BR /&gt;I really try not to place stupid question in this forum. Therefore my question may be a result of some language confusion or misunderstanding on my side, but it is certainly not a result of lazyness or lack of effort.&lt;BR /&gt;&lt;BR /&gt;Anyway thanks for the answer Jeremy. I always have a big advantage of your examples.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Jan</description>
    <pubDate>Tue, 01 Mar 2016 11:53:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-01T11:53:38Z</dc:date>
    <item>
      <title>How to "Group Parameter Under" in properties dialog?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6061815#M67268</link>
      <description>&lt;P&gt;I have successfully bound a shared parameter to a document. That part works out fine.&lt;/P&gt;&lt;P&gt;Now I want to programatically set the "Group Parameter Under" value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched a lot of places but I cannot&amp;nbsp;find any hint on how to do this. Does the Revit API not support this task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jan Grenov&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 16:03:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6061815#M67268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-29T16:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to "Group Parameter Under" in properties dialog?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063311#M67269</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Jan,&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;Do you mean one of the groups defined by the BuiltInParameterGroup enumeration?&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;It defines loads of values with a PG prefix, presumably meaning 'parameter group', such as&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;  ...
&amp;nbsp;&amp;nbsp;PG_MATERIALS = -5000105,
&amp;nbsp;&amp;nbsp;PG_GRAPHICS = -5000104,
 &amp;nbsp;PG_CONSTRUCTION = -5000103,
&amp;nbsp;&amp;nbsp;PG_GEOMETRY = -5000101,
&amp;nbsp;&amp;nbsp;PG_IDENTITY_DATA = -5000100,
  ...&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can specify the parameter group when you insert the parameter binding:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  doc.ParameterBindings.Insert( def, binding,
&amp;nbsp;&amp;nbsp;  BuiltInParameterGroup.PG_GEOMETRY );&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have you looked that up in the Revit API help file RevitAPI.chm?&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;That should really always be your first port of call, you know, before you post a question here.&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;Here is an example:&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;&lt;A href="https://github.com/jeremytammik/FireRatingCloud/blob/master/FireRatingCloud/Cmd_1_CreateAndBindSharedParameter.cs#L158-L163" target="_blank"&gt;https://github.com/jeremytammik/FireRatingCloud/blob/master/FireRatingCloud/Cmd_1_CreateAndBindSharedParameter.cs#L158-L163&lt;/A&gt;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 10:59:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063311#M67269</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-03-01T10:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to "Group Parameter Under" in properties dialog?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063420#M67270</link>
      <description>Yep ... I have looked several places before posting my question here, and the API help was the first place I looked!&lt;BR /&gt;I really try not to place stupid question in this forum. Therefore my question may be a result of some language confusion or misunderstanding on my side, but it is certainly not a result of lazyness or lack of effort.&lt;BR /&gt;&lt;BR /&gt;Anyway thanks for the answer Jeremy. I always have a big advantage of your examples.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Jan</description>
      <pubDate>Tue, 01 Mar 2016 11:53:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063420#M67270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T11:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to "Group Parameter Under" in properties dialog?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063425#M67271</link>
      <description>&lt;P&gt;Dear Jan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your confirmation and appreciiation!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Very commendable &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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>Tue, 01 Mar 2016 11:56:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-group-parameter-under-quot-in-properties-dialog/m-p/6063425#M67271</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-03-01T11:56:43Z</dc:date>
    </item>
  </channel>
</rss>

