<?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 Make relations &amp;quot;evaluate function&amp;quot; return results based on parameter units or give a new function that does. in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Make-relations-quot-evaluate-function-quot-return-results-based/m-p/471598#M86658</link>
    <description>&lt;P&gt;Current functionality as defined by PTC R&amp;amp;D as works to spec: &lt;A href="https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS124642" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS124642&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;P&gt;Given parameter name LENGTH defined as unit "in" in a part that have system units in "mm". If LENGTH has a value of 2 and you use the Evaluate Expression tool with relations the result returned is 50.8. I would prefer the result to be 2. As shown in figure below thou relations themself act different.&lt;/P&gt;
&lt;P&gt;Notice relation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if length * 10 == 20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 == 0\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Stop Regeneration if length * 10 = 20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif&lt;/P&gt;
&lt;P&gt;has a Constraint violation. Because 2*10 does equal 20.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG class="jive-image" src="https://community.ptc.com/legacyfs/online/66820_length.GIF" border="0" alt="length.GIF" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The system units for ANGULAR parameters are Radians, hense when you evaluate the result is in Radians regardless of parameter unit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This makes it very difficult to evaluate complex expressions to determine if what you have done is correct or not.&lt;/P&gt;
&lt;P&gt;Please vote for this enhancement idea.&lt;/P&gt;&lt;BR /&gt;&lt;STRONG&gt;This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread.  You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist. &lt;/STRONG&gt;</description>
    <pubDate>Sun, 13 Dec 2020 10:49:25 GMT</pubDate>
    <dc:creator>WayneSchrock</dc:creator>
    <dc:date>2020-12-13T10:49:25Z</dc:date>
    <item>
      <title>Make relations "evaluate function" return results based on parameter units or give a new function that does.</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Make-relations-quot-evaluate-function-quot-return-results-based/m-p/471598#M86658</link>
      <description>&lt;P&gt;Current functionality as defined by PTC R&amp;amp;D as works to spec: &lt;A href="https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS124642" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS124642&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;P&gt;Given parameter name LENGTH defined as unit "in" in a part that have system units in "mm". If LENGTH has a value of 2 and you use the Evaluate Expression tool with relations the result returned is 50.8. I would prefer the result to be 2. As shown in figure below thou relations themself act different.&lt;/P&gt;
&lt;P&gt;Notice relation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if length * 10 == 20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 == 0\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Stop Regeneration if length * 10 = 20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif&lt;/P&gt;
&lt;P&gt;has a Constraint violation. Because 2*10 does equal 20.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG class="jive-image" src="https://community.ptc.com/legacyfs/online/66820_length.GIF" border="0" alt="length.GIF" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The system units for ANGULAR parameters are Radians, hense when you evaluate the result is in Radians regardless of parameter unit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This makes it very difficult to evaluate complex expressions to determine if what you have done is correct or not.&lt;/P&gt;
&lt;P&gt;Please vote for this enhancement idea.&lt;/P&gt;&lt;BR /&gt;&lt;STRONG&gt;This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread.  You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist. &lt;/STRONG&gt;</description>
      <pubDate>Sun, 13 Dec 2020 10:49:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Make-relations-quot-evaluate-function-quot-return-results-based/m-p/471598#M86658</guid>
      <dc:creator>WayneSchrock</dc:creator>
      <dc:date>2020-12-13T10:49:25Z</dc:date>
    </item>
  </channel>
</rss>

