<?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: Variables and Simple Formulas in Dynamic Blocks Forum</title>
    <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418647#M21691</link>
    <description>&lt;P&gt;Here's a simple test block screencast that shows how to add a user parameter and place it in a formula field along with a linear parameter value.&lt;/P&gt;
&lt;DIV class="iframe-container"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/473af19a-2664-40d0-8e01-6c65471b9532" width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 28 Sep 2017 22:51:53 GMT</pubDate>
    <dc:creator>Libbya</dc:creator>
    <dc:date>2017-09-28T22:51:53Z</dc:date>
    <item>
      <title>Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7377015#M21682</link>
      <description>&lt;P&gt;Hello! I'm new to dynamic blocks and wanted to get some advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to set two variables within dynamic block (WIC and Frame Thickness) that a drafter can enter and have automatically calculated in the formulas displayed without having to open the block editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't seem like it should be too difficult, and the formulas are elementary. Also, note that some formulas are within dimension text strings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Input: WIC = 36&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Formula: "20 x (WIC + 1/8) ramp notch in floor panel"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Output: &amp;nbsp;"&lt;SPAN&gt;20 x 36 1/8&amp;nbsp;ramp notch in floor panel"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 11:39:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7377015#M21682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7377017#M21683</link>
      <description>&lt;P&gt;Here is the block...&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 11:39:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7377017#M21683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T11:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7378482#M21684</link>
      <description>&lt;P&gt;For formulas, easiest is probably to use user parameters and define whatever formula you like. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 18:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7378482#M21684</guid>
      <dc:creator>Libbya</dc:creator>
      <dc:date>2017-09-13T18:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7378679#M21685</link>
      <description>&lt;P&gt;I know how to add a formula. I just don't understand how to reference a variable in a formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I define an attribute named "WIC", how do I reference that within the formula?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 20:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7378679#M21685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T20:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7378938#M21686</link>
      <description>&lt;P&gt;Within your formula text box, you would need to just enter another field linking to the object's value (WIC's value).&lt;/P&gt;&lt;P&gt;Please see picture&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Help.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/401201i81BAB5AC55B3FC67/image-size/large?v=v2&amp;amp;px=999" role="button" title="Help.png" alt="Help.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 22:01:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7378938#M21686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T22:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7379062#M21687</link>
      <description>&lt;P&gt;Did you actually try that? &amp;nbsp;I have not found that formula fields referencing values housed by attributes will actually update even if the 'display value for block reference' is checked. &amp;nbsp;I have found that formula fields referencing values housed by user parameters will update, though, which is why I recommended them. &amp;nbsp;Use the blockplaceholder fields for the user parameter values within the formula and it works a treat. &amp;nbsp;Edit the user parameter value in properties. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 23:13:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7379062#M21687</guid>
      <dc:creator>Libbya</dc:creator>
      <dc:date>2017-09-13T23:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7380861#M21688</link>
      <description>&lt;P&gt;Yeah, it seems that solution requires you to manually update it - which is silly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll look into what you said and get back to you!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:24:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7380861#M21688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418474#M21689</link>
      <description>&lt;P&gt;I've created user parameters, but can't figure out how to reference them in the formula field. I've messed with this for the past few hours and I've gotten no where. Can anyone give me a step-by-step? I feel like this should be extremely easy, but I can't figure it out.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 21:24:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418474#M21689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T21:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418556#M21690</link>
      <description>&lt;P&gt;Also note that I don't actually want the dimensions of the drawing to change - just the text within the block.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:03:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418556#M21690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T22:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418647#M21691</link>
      <description>&lt;P&gt;Here's a simple test block screencast that shows how to add a user parameter and place it in a formula field along with a linear parameter value.&lt;/P&gt;
&lt;DIV class="iframe-container"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/473af19a-2664-40d0-8e01-6c65471b9532" width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:51:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7418647#M21691</guid>
      <dc:creator>Libbya</dc:creator>
      <dc:date>2017-09-28T22:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Variables and Simple Formulas</title>
      <link>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7420427#M21692</link>
      <description>&lt;P&gt;I introduce the user input into a dynamic block thru User Parameters and display the output thru Attributes.&amp;nbsp; The Attributes have text and fields with formulas for the numeric values as their default attributes. The formulas in the fields use fields to gather&amp;nbsp;values from things like user parameters, dynamic parameters and drawing objects.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:13:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/dynamic-blocks-forum/variables-and-simple-formulas/m-p/7420427#M21692</guid>
      <dc:creator>MMcCall402</dc:creator>
      <dc:date>2017-09-29T14:13:25Z</dc:date>
    </item>
  </channel>
</rss>

