<?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 Create a parameter that combines two other parameters in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8649377#M14497</link>
    <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Slowly working on my scripts , I have a &amp;nbsp;script that creates 2 user parameters, parm1 &amp;nbsp;holds radius of a circle and parm2 will hold positive value &amp;nbsp;, now I need a third user parameter that is = Parm1 + Parm2 . &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't kind an example online &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers, Stephen&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 10:37:23 GMT</pubDate>
    <dc:creator>StephenCim-001</dc:creator>
    <dc:date>2019-03-11T10:37:23Z</dc:date>
    <item>
      <title>Create a parameter that combines two other parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8649377#M14497</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Slowly working on my scripts , I have a &amp;nbsp;script that creates 2 user parameters, parm1 &amp;nbsp;holds radius of a circle and parm2 will hold positive value &amp;nbsp;, now I need a third user parameter that is = Parm1 + Parm2 . &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't kind an example online &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers, Stephen&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 10:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8649377#M14497</guid>
      <dc:creator>StephenCim-001</dc:creator>
      <dc:date>2019-03-11T10:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a parameter that combines two other parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8650158#M14498</link>
      <description>&lt;P&gt;Here's a simple example that creates two parameters and a third that adds the first two together.&lt;/P&gt;
&lt;PRE&gt;app = adsk.core.Application.get()
des = adsk.fusion.Design.cast(app.activeProduct)
userParams = des.userParameters
userParams.add('angle1', adsk.core.ValueInput.createByReal(math.pi), 'deg', '')
userParams.add('angle2', adsk.core.ValueInput.createByReal(math.pi/2), 'deg', '')
userParams.add('angle1And2', adsk.core.ValueInput.createByString('angle1 + angle2'), 'deg', '')&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Mar 2019 15:32:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8650158#M14498</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2019-03-11T15:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create a parameter that combines two other parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8651497#M14499</link>
      <description>&lt;P&gt;Shinny, use what I needed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 02:52:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/create-a-parameter-that-combines-two-other-parameters/m-p/8651497#M14499</guid>
      <dc:creator>StephenCim-001</dc:creator>
      <dc:date>2019-03-12T02:52:50Z</dc:date>
    </item>
  </channel>
</rss>

