<?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: Automatically select user entry parameter in object sett in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265208#M8321</link>
    <description>There would be a few ways to script this.&lt;BR /&gt;
But basically you could use (in the parameter script) ...&lt;BR /&gt;

&lt;PRE&gt;if PARAMETER_1 then
!!!do nothing
else
LOCK "PARAMETER_2"
HIDEPARAMETER "PARAMETER_2"
endif
&lt;/PRE&gt;

So if your Boolean parameter is ON the other parameter will be available but if it is OFF the other parameter will be locked and/or hidden.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Fri, 04 Mar 2016 02:14:49 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2016-03-04T02:14:49Z</dc:date>
    <item>
      <title>Automatically select user entry parameter in object settings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265207#M8320</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all.&lt;BR /&gt;
&lt;BR /&gt;
I have two parameters in the object that need to work together.&lt;BR /&gt;
The first is a boolean and the second is a user input.&lt;BR /&gt;
&lt;BR /&gt;
What I'd like to happen is...in the object settings,  the script should activate the input field of the second parameter if the user puts a check mark in the first parameter.&lt;BR /&gt;
&lt;BR /&gt;
Scriptwise (making up words here), about the best way I can think to describe it is...&lt;BR /&gt;
&lt;BR /&gt;
IF PARAMETER_1 THEN ACTIVATE PARAMETER_2&lt;BR /&gt;
&lt;BR /&gt;
Anyone know if this is possible?&lt;BR /&gt;
&lt;BR /&gt;
Thanks. Doug&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Mar 2016 02:02:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265207#M8320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T02:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically select user entry parameter in object sett</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265208#M8321</link>
      <description>There would be a few ways to script this.&lt;BR /&gt;
But basically you could use (in the parameter script) ...&lt;BR /&gt;

&lt;PRE&gt;if PARAMETER_1 then
!!!do nothing
else
LOCK "PARAMETER_2"
HIDEPARAMETER "PARAMETER_2"
endif
&lt;/PRE&gt;

So if your Boolean parameter is ON the other parameter will be available but if it is OFF the other parameter will be locked and/or hidden.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 04 Mar 2016 02:14:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265208#M8321</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2016-03-04T02:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically select user entry parameter in object sett</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265209#M8322</link>
      <description>Thanks for the reply Barry. I think understand your reply but I may not have explained my need quite right.&lt;BR /&gt;
&lt;BR /&gt;
If I click the first parameter then I would like it to activate the input field of the second so that all I have to do is start typing in it's input field. Also, these are not the only parameters in this object so when the first is check marked it would have to tell the script which parameter to activate.&lt;BR /&gt;
&lt;BR /&gt;
Clear as MUD??&lt;BR /&gt;
&lt;BR /&gt;
Doug&lt;BR /&gt;
&lt;BR /&gt;
Edit. Another way to put it. If I put a check in the first parameter the the cursor automatically jumps to the input field of the second parameter.</description>
      <pubDate>Fri, 04 Mar 2016 02:36:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265209#M8322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T02:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically select user entry parameter in object sett</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265210#M8323</link>
      <description>&lt;BLOCKQUOTE&gt;4thorns wrote:&lt;BR /&gt;
Edit. Another way to put it. If I put a check in the first parameter the the cursor automatically jumps to the input field of the second parameter.&lt;/BLOCKQUOTE&gt;

No you can't make the cursor jump to any particular field.&lt;BR /&gt;
All you can do is hide or show the parameter in the parameter list as I showed or use IF/THEN statements in the interface script to show/hide the fields there.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 04 Mar 2016 05:08:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265210#M8323</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2016-03-04T05:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically select user entry parameter in object sett</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265211#M8324</link>
      <description>Thanks Barry. Not a necessity obviously. Just thought it would be a handy little feature.&lt;BR /&gt;
&lt;BR /&gt;
Doug</description>
      <pubDate>Wed, 09 Mar 2016 00:21:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Automatically-select-user-entry-parameter-in-object-settings/m-p/265211#M8324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-09T00:21:53Z</dc:date>
    </item>
  </channel>
</rss>

