<?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: Dynamic Parameter Name in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238537#M3568</link>
    <description>If You wish to have parameters description dynamic, just use Interface script and&lt;BR /&gt;
UI_LISTFIELD and the UI_LISTITEM commands.&lt;BR /&gt;
The UI may look like the "old style" parameters list  &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
    <pubDate>Wed, 29 Aug 2018 12:45:37 GMT</pubDate>
    <dc:creator>Piotr Dobrowolski</dc:creator>
    <dc:date>2018-08-29T12:45:37Z</dc:date>
    <item>
      <title>Dynamic Parameter Name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238536#M3567</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to make Parameter names dynamic? So, the name changes depending on the value of some other variable?&lt;BR /&gt;
&lt;BR /&gt;
eg.
&lt;PRE&gt;If ProShape = "Round" then
		Parameter_Name ProWidth = "Profile Diameter"
	else
		Parameter_Name ProWidth = "Profile Width"
endIf
&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Aug 2018 08:48:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238536#M3567</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-08-29T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Parameter Name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238537#M3568</link>
      <description>If You wish to have parameters description dynamic, just use Interface script and&lt;BR /&gt;
UI_LISTFIELD and the UI_LISTITEM commands.&lt;BR /&gt;
The UI may look like the "old style" parameters list  &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Wed, 29 Aug 2018 12:45:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238537#M3568</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2018-08-29T12:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Parameter Name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238538#M3569</link>
      <description>A parameter (variable) in the parameter list can only have one name (description) - as far as I know.&lt;BR /&gt;
You can manipulate it in the user interface as Piotr said.&lt;BR /&gt;
&lt;BR /&gt;
When I need the choice of a rectangular or square shape I usually just use two different parameters (width and diameter) and hide the one not being used.&lt;BR /&gt;
If you want them to be linked so one changes when the other is adjusted you can use GLOB_MODPAR_NAME to check when one is adjusted and set the value to the other accordingly.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 30 Aug 2018 01:22:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238538#M3569</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-30T01:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Parameter Name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238539#M3570</link>
      <description>Was hoping there would be a way, as you can't set up a UI for a custom door leaf... &amp;gt;,&amp;lt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 30 Aug 2018 01:25:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238539#M3570</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-08-30T01:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Parameter Name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238540#M3571</link>
      <description>Use the UI commands I gave earlier...and conditionally display one or the other parameters...&lt;BR /&gt;
But if there will be many of them...there might be a problem (maybe partly solved since I hit the wall of 1024 parameters in Door/Window objects), all depends how many ot the parameters need to be added.&lt;BR /&gt;
&lt;BR /&gt;
BTW If You deal with custom components You can use the calling "by name" (of the real object that is on the list ) not the calling the component-template object with the name of the real object as a parameter. It gives some additonal possibilities - like override the called object material (via group commands), or calling the object other than the saved as a door leaf (or other)...You can condition the load of the other object and give the access to the say 4-5 surfaces (if the object is saved normally they will get the parameters).&lt;BR /&gt;
&lt;BR /&gt;
Few thoughts...while I was thinking about tweaking the custom components...but the shortage of time did not let me put it into a working prototype.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Sat, 01 Sep 2018 16:13:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-Parameter-Name/m-p/238540#M3571</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2018-09-01T16:13:07Z</dc:date>
    </item>
  </channel>
</rss>

