<?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: PTC_CONSTRAINT_SET and distance calculation in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641060#M1131</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/305752"&gt;@avero&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Where does &lt;EM&gt;L1_DIST&lt;/EM&gt; and &lt;EM&gt;L2_DIST&lt;/EM&gt; come from in your model? I can't seem to find parameters with those names on any level?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;L1_DIST&lt;/EM&gt; and &lt;EM&gt;L2_DIST&lt;/EM&gt; are just named dimensions - they control the distances between the level planes.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main difference between my model and yours seem to be that you have attached the components to a number of level planes (I don't think I could use this method as I might want to place the components on any side of the component named &lt;EM&gt;ground&lt;/EM&gt;) rather than it being constrained to a distance from the assembly coordinate system origin, which made me wonder - If I want Creo to do more than one distance calculation (one for each constraint set) the correct way to do this is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF CUBE==1&amp;amp;SPHERE==1&amp;amp;PYRAMID==0&lt;/P&gt;
&lt;P&gt;D31=500&lt;/P&gt;
&lt;P&gt;D26=500&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;That should work... (see below)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right? I have also tried&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;IF CUBE==1&amp;amp;SPHERE==1&amp;amp;PYRAMID==0&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;D31=500&amp;amp;D26=500&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&lt;FONT color="#FF0000"&gt;The above syntax is not correct.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;But that gives an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have now also tried using integer, yes/no and string parameters instead of real number, but the same behavior as before occurs in my model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;PARAMETER&lt;/EM&gt; is real number, as used on the first page of this thread. &lt;EM&gt;PARAMETER&lt;/EM&gt;_1 is integer type, &lt;EM&gt;PARAMETER&lt;/EM&gt;_2 is yes/no and &lt;EM&gt;PARAMETER&lt;/EM&gt;_3 is string type parameter. It doesn't seem to matter (to Creo) which one I use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_1.PNG" style="width: 152px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21983iE387267C0921D475/image-size/small?v=v2&amp;amp;px=200" role="button" title="1_1.PNG" alt="1_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_2.PNG" style="width: 139px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21981i324E96A2A2404697/image-size/small?v=v2&amp;amp;px=200" role="button" title="1_2.PNG" alt="1_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_1.PNG" style="width: 156px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21984i2B5247D12951BF5A/image-size/small?v=v2&amp;amp;px=200" role="button" title="2_1.PNG" alt="2_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_2.PNG" style="width: 146px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21982iAD9F4B3E2CF1CD02/image-size/small?v=v2&amp;amp;px=200" role="button" title="2_2.PNG" alt="2_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_1.PNG" style="width: 158px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21986i3C2BA22D325BC419/image-size/small?v=v2&amp;amp;px=200" role="button" title="3_1.PNG" alt="3_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_2.PNG" style="width: 142px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21985i5C44E1F2A9234032/image-size/small?v=v2&amp;amp;px=200" role="button" title="3_2.PNG" alt="3_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So just as you were saying all along, it seems that there is a bug in the software because changing value of dimensions that belong to inactive constraint set does not update the placement (the value changes, but system does not regenerate the component in the new location).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is very hard to explain well, so I attach the model for your review.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ptc_constraint_set_demo-2.png" style="width: 524px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/22010i5A3E890E1E3419D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ptc_constraint_set_demo-2.png" alt="ptc_constraint_set_demo-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;if link3's constraint set "Upright" is active because link3_rotated parameter is set to NO, then changing the above relations to offset_upright = 0 and regenerating will lower link3.&lt;/P&gt;
&lt;P&gt;However, if instead you change the above to offset_side = 0, then set the value of parameter link3_rotated to YES, and then regenerate - this will leave the link3 in its old location (44 units above).&amp;nbsp; Then doing the "edit definition" will snap it back to the new setting of 0.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 23:36:41 GMT</pubDate>
    <dc:creator>pausob</dc:creator>
    <dc:date>2019-12-16T23:36:41Z</dc:date>
    <item>
      <title>PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639532#M1117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have made a simple test assembly to show how components with PTC_CONSTRAINT_SET don't always behave the way I want/expect them to. I want to be able to add/remove/configure components quickly and have used a combination of PTC_CONSTRAINT_SET and distance calculations to achieve this. This assembly consists of four parts - &lt;EM&gt;cube&lt;/EM&gt;, &lt;EM&gt;sphere&lt;/EM&gt;, &lt;EM&gt;pyramid&lt;/EM&gt; and &lt;EM&gt;cylinder&lt;/EM&gt; placed on a fifth part called &lt;EM&gt;ground&lt;/EM&gt;. The four parts can be added or removed based on the value of connected parameters called &lt;EM&gt;cube&lt;/EM&gt;, &lt;EM&gt;sphere&lt;/EM&gt;, &lt;EM&gt;pyramid&lt;/EM&gt; and &lt;EM&gt;cylinder&lt;/EM&gt;. The &lt;EM&gt;pyramid&lt;/EM&gt; and &lt;EM&gt;cylinder&lt;/EM&gt; parts can also change orientation by changing the value of parameters PYRAMID_ORIENTATION and CYLINDER_ORIENTATION. Can someone please have a look at the attached assembly &lt;EM&gt;PTC_CONSTRAINT_SET.asm&lt;/EM&gt; and tell me why the parts behave the way they do?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Initially, the assembly looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Model1.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21716iB97E044B7A012B7C/image-size/small?v=v2&amp;amp;px=200" role="button" title="Model1.PNG" alt="Model1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the complete relations text in PTC_CONSTRAINT_SET.asm&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Relations1.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21717iF01E0640DCD41C05/image-size/small?v=v2&amp;amp;px=200" role="button" title="Relations1.PNG" alt="Relations1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Relations2.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21718iBD80F113C03D2A68/image-size/small?v=v2&amp;amp;px=200" role="button" title="Relations2.PNG" alt="Relations2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Relations3.PNG" style="width: 139px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21719i85123135E7C3E279/image-size/small?v=v2&amp;amp;px=200" role="button" title="Relations3.PNG" alt="Relations3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the available values for configuration parameters. I have also added planes with the same names in a group called configuration for easy configuration - you can change the parameter values easily by changing the values of these planes.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PTC_CONSTRAINT_SET_OPTIONS.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21720i3A0F65BD491DFE05/image-size/small?v=v2&amp;amp;px=200" role="button" title="PTC_CONSTRAINT_SET_OPTIONS.PNG" alt="PTC_CONSTRAINT_SET_OPTIONS.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MODEL TREE.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21721i4DB004BA80D3CC3A/image-size/small?v=v2&amp;amp;px=200" role="button" title="MODEL TREE.PNG" alt="MODEL TREE.PNG" /&gt;&lt;/span&gt;&lt;I&gt;&lt;/I&gt;&lt;U&gt;&lt;/U&gt;&lt;STRIKE&gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;(The values are initially set to &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;CUBE=1, SPHERE=1, PYRAMID=1, PYRAMID_ORIENTATION=0, cylinder=1 and CYLINDER_ORIENTATION=0).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I remove the &lt;EM&gt;cube&lt;/EM&gt; part (change value of &lt;EM&gt;cube&lt;/EM&gt; to 0) and click regenerate, the assembly looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Model2.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21722i145D2A400548D36A/image-size/small?v=v2&amp;amp;px=200" role="button" title="Model2.PNG" alt="Model2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I change the orientation of the &lt;EM&gt;pyramid&lt;/EM&gt; part (change value of &lt;EM&gt;pyramid_orientation&lt;/EM&gt; to 1), it looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Model3.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21723i1B1C03D8ECBD6B26/image-size/small?v=v2&amp;amp;px=200" role="button" title="Model3.PNG" alt="Model3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Finally, changing &lt;EM&gt;cylinder_orientation&lt;/EM&gt; to 1 makes it look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Model4.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21724i5E106BFD595463BB/image-size/small?v=v2&amp;amp;px=200" role="button" title="Model4.PNG" alt="Model4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The cylinder part is misplaced and regenerate doesn't do anything, but if I either click edit definition or resume/suppress, the assembly looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Model5.PNG" style="width: 200px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21725i9EDEEAF9CD5A83BD/image-size/small?v=v2&amp;amp;px=200" role="button" title="Model5.PNG" alt="Model5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At first, I made the assembly without the cylinder part, but the model would only get stuck occasionally and I could not seem to reproduce it consistently, so I added another part with PTC_CONSTRAINT_SETs and now it gets stuck very often. It will get stuck in certain combinations and regenerate doesn't do anything, can someone please tell me why? How does regenerate and edit definition consider placement differently? This is obviously not a huge problem with this simple assembly, but I am trying to use the same method for more complex assemblies and that causes more problems. As I already wrote, the more components with PTC_CONSTRAINT_SETs, the messier it gets. Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Avero&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: I am using Creo 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Screenshot of Model intent -&amp;gt; Program&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Program.PNG" style="width: 141px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21726i40077115FC74086D/image-size/small?v=v2&amp;amp;px=200" role="button" title="Program.PNG" alt="Program.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 12:55:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639532#M1117</guid>
      <dc:creator>avero</dc:creator>
      <dc:date>2019-12-05T12:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639557#M1118</link>
      <description>&lt;P&gt;It might be quicker to let PTC technical support look at this.&amp;nbsp; Do you have active maintenance?&amp;nbsp; If not, I'm more than willing to submit this to them and see what they say...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 14:49:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639557#M1118</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-05T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639563#M1119</link>
      <description>&lt;P&gt;I can reproduce the issue with Creo Parametric 6.0.3.0.&amp;nbsp; I tried moving the relations into their respective components and features, but it didn't make any difference.&amp;nbsp; After the last orientation change, the correct set seems to be active, and the value is correct, but the model is not snapped to the position specified by the set.&amp;nbsp; For some reason it continues to stay at the last position of this set when it was last active.&amp;nbsp; I think PTC will need to take a look at this.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:16:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639563#M1119</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-05T15:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639564#M1120</link>
      <description>&lt;P&gt;I'm going to open a case...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:17:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639564#M1120</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-05T15:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639657#M1121</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 06:55:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639657#M1121</guid>
      <dc:creator>avero</dc:creator>
      <dc:date>2019-12-06T06:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639820#M1122</link>
      <description>&lt;P&gt;another option would be to create coordinate systems for each of the components and constrain to them. now write your relations to move around the coordinate systems.&lt;/P&gt;
&lt;P&gt;question, when using multiple constraint sets and you rotate that component, don't you get invalid constraints during the edit definition?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:30:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639820#M1122</guid>
      <dc:creator>jbob</dc:creator>
      <dc:date>2019-12-06T19:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639822#M1123</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/127780"&gt;@jbob&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;question, when using multiple constraint sets and you rotate that component, don't you get invalid constraints during the edit definition?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, because the first constraint set is completely disabled when the second set is enabled.&amp;nbsp; The two sets don't fight with each other since only one set is active at a time.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:54:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639822#M1123</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-06T19:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639827#M1124</link>
      <description>&lt;P&gt;Hi, this remains an interesting unsolved case.&lt;/P&gt;
&lt;P&gt;I can't open your Creo5 file so tried to make toy example similar to your new example - using similar structure of assembly level relations &amp;amp; pro/program code to drive constraint sets and existence of components.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Except I didn't use a value of a dimension to determine the logic of whether a component exists or is rotated - I defined Yes/No assembly level parameters:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ptc_constraint_set_demo-1.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21781i85B52EF9FD9384F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ptc_constraint_set_demo-1.png" alt="ptc_constraint_set_demo-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Toggling these yes/no parameters and regenerating seems to work just fine.&amp;nbsp; Please try the attached model yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your code should work, I think, but&amp;nbsp;there is something wrong:&lt;/P&gt;
&lt;P&gt;- something in your assembly constraints that gives problems?&amp;nbsp; unlikely as re-edit-definition fixes the connections without picking new references&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;using dimensions (real numbers) to define On/Off states -&amp;nbsp;round-off errors causing the logic to fail?&amp;nbsp; - again, unlikely because it seems that the correct offset values and constraint set names are being set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- bug ? - nah, this is PTC software &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 20:06:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639827#M1124</guid>
      <dc:creator>pausob</dc:creator>
      <dc:date>2019-12-06T20:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639833#M1125</link>
      <description>&lt;P&gt;Forcing a model player regen also fixes the issues with the original model.&amp;nbsp; That's why I wondered if it was a regeneration order issue.&amp;nbsp; Unfortunately I wasn't to find anything like that, even after reordering a bunch of stuff.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 20:31:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/639833#M1125</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-06T20:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640130#M1126</link>
      <description>&lt;P&gt;Yes/No parameters seem to work fine, but sometimes I want to have more than two options for each parameter, for example a parameter called &lt;EM&gt;placement&lt;/EM&gt; could have the options &lt;EM&gt;left&lt;/EM&gt;, &lt;EM&gt;right&lt;/EM&gt;, &lt;EM&gt;front&lt;/EM&gt;, &lt;EM&gt;back&lt;/EM&gt;, &lt;EM&gt;roof&lt;/EM&gt;, &lt;EM&gt;internal&lt;/EM&gt; etc. I don't think I could make that work with only yes/no. Perhaps I should give string parameters a try? I would still be interested to know if this is some kind of bug or if I'm doing something wrong somehow.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:35:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640130#M1126</guid>
      <dc:creator>avero</dc:creator>
      <dc:date>2019-12-10T06:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640131#M1127</link>
      <description>&lt;P&gt;I'm not really sure how PTC handles these technical support cases, have you heard anything from them yet?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:39:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640131#M1127</guid>
      <dc:creator>avero</dc:creator>
      <dc:date>2019-12-10T06:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640195#M1128</link>
      <description>&lt;P&gt;Yes and no.&amp;nbsp; They asked a couple of follow up questions after I opened the case, but I haven't heard back on why the behavior is happening yet.&amp;nbsp; I'll let you know when I do.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 13:57:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640195#M1128</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-10T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640301#M1129</link>
      <description>&lt;P&gt;As you suggest, string type parameters should work great for those multiple-choice scenarios.&lt;/P&gt;
&lt;P&gt;You could also use parameter of integer type (though the coding would have to be documented - which is a good thing).&lt;/P&gt;
&lt;P&gt;In general, I think that parameters are more appropriate for storing and manipulating the "meta" information about the model, while dimensions&amp;nbsp;should just describe feature locations and sizes.&lt;/P&gt;
&lt;P&gt;So, frankly,&amp;nbsp;I think that your implementation of using the dimension values to encode "state information" is an inventive hack which will be hard to maintain and to explain to new users.&amp;nbsp; Nevertheless, I don't see why it would cause the demonstrated weird behaviour - therefore I am curious about PTC response.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 06:56:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640301#M1129</guid>
      <dc:creator>pausob</dc:creator>
      <dc:date>2019-12-11T06:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640948#M1130</link>
      <description>&lt;P&gt;Where does &lt;EM&gt;L1_DIST&lt;/EM&gt; and &lt;EM&gt;L2_DIST&lt;/EM&gt; come from in your model? I can't seem to find parameters with those names on any level?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main difference between my model and yours seem to be that you have attached the components to a number of level planes (I don't think I could use this method as I might want to place the components on any side of the component named &lt;EM&gt;ground&lt;/EM&gt;) rather than it being constrained to a distance from the assembly coordinate system origin, which made me wonder - If I want Creo to do more than one distance calculation (one for each constraint set) the correct way to do this is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF CUBE==1&amp;amp;SPHERE==1&amp;amp;PYRAMID==0&lt;/P&gt;
&lt;P&gt;D31=500&lt;/P&gt;
&lt;P&gt;D26=500&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right? I have also tried&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;IF CUBE==1&amp;amp;SPHERE==1&amp;amp;PYRAMID==0&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;D31=500&amp;amp;D26=500&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;But that gives an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have now also tried using integer, yes/no and string parameters instead of real number, but the same behavior as before occurs in my model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;PARAMETER&lt;/EM&gt; is real number, as used on the first page of this thread. &lt;EM&gt;PARAMETER&lt;/EM&gt;_1 is integer type, &lt;EM&gt;PARAMETER&lt;/EM&gt;_2 is yes/no and &lt;EM&gt;PARAMETER&lt;/EM&gt;_3 is string type parameter. It doesn't seem to matter (to Creo) which one I use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_1.PNG" style="width: 152px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21983iE387267C0921D475/image-size/small?v=v2&amp;amp;px=200" role="button" title="1_1.PNG" alt="1_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_2.PNG" style="width: 139px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21981i324E96A2A2404697/image-size/small?v=v2&amp;amp;px=200" role="button" title="1_2.PNG" alt="1_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_1.PNG" style="width: 156px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21984i2B5247D12951BF5A/image-size/small?v=v2&amp;amp;px=200" role="button" title="2_1.PNG" alt="2_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_2.PNG" style="width: 146px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21982iAD9F4B3E2CF1CD02/image-size/small?v=v2&amp;amp;px=200" role="button" title="2_2.PNG" alt="2_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_1.PNG" style="width: 158px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21986i3C2BA22D325BC419/image-size/small?v=v2&amp;amp;px=200" role="button" title="3_1.PNG" alt="3_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_2.PNG" style="width: 142px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21985i5C44E1F2A9234032/image-size/small?v=v2&amp;amp;px=200" role="button" title="3_2.PNG" alt="3_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 12:28:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/640948#M1130</guid>
      <dc:creator>avero</dc:creator>
      <dc:date>2019-12-16T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641060#M1131</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/305752"&gt;@avero&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Where does &lt;EM&gt;L1_DIST&lt;/EM&gt; and &lt;EM&gt;L2_DIST&lt;/EM&gt; come from in your model? I can't seem to find parameters with those names on any level?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;L1_DIST&lt;/EM&gt; and &lt;EM&gt;L2_DIST&lt;/EM&gt; are just named dimensions - they control the distances between the level planes.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main difference between my model and yours seem to be that you have attached the components to a number of level planes (I don't think I could use this method as I might want to place the components on any side of the component named &lt;EM&gt;ground&lt;/EM&gt;) rather than it being constrained to a distance from the assembly coordinate system origin, which made me wonder - If I want Creo to do more than one distance calculation (one for each constraint set) the correct way to do this is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF CUBE==1&amp;amp;SPHERE==1&amp;amp;PYRAMID==0&lt;/P&gt;
&lt;P&gt;D31=500&lt;/P&gt;
&lt;P&gt;D26=500&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;That should work... (see below)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right? I have also tried&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;IF CUBE==1&amp;amp;SPHERE==1&amp;amp;PYRAMID==0&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;D31=500&amp;amp;D26=500&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&lt;FONT color="#FF0000"&gt;The above syntax is not correct.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: border-box; color: #3d3d3d; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;But that gives an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have now also tried using integer, yes/no and string parameters instead of real number, but the same behavior as before occurs in my model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;PARAMETER&lt;/EM&gt; is real number, as used on the first page of this thread. &lt;EM&gt;PARAMETER&lt;/EM&gt;_1 is integer type, &lt;EM&gt;PARAMETER&lt;/EM&gt;_2 is yes/no and &lt;EM&gt;PARAMETER&lt;/EM&gt;_3 is string type parameter. It doesn't seem to matter (to Creo) which one I use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_1.PNG" style="width: 152px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21983iE387267C0921D475/image-size/small?v=v2&amp;amp;px=200" role="button" title="1_1.PNG" alt="1_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_2.PNG" style="width: 139px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21981i324E96A2A2404697/image-size/small?v=v2&amp;amp;px=200" role="button" title="1_2.PNG" alt="1_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_1.PNG" style="width: 156px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21984i2B5247D12951BF5A/image-size/small?v=v2&amp;amp;px=200" role="button" title="2_1.PNG" alt="2_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2_2.PNG" style="width: 146px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21982iAD9F4B3E2CF1CD02/image-size/small?v=v2&amp;amp;px=200" role="button" title="2_2.PNG" alt="2_2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_1.PNG" style="width: 158px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21986i3C2BA22D325BC419/image-size/small?v=v2&amp;amp;px=200" role="button" title="3_1.PNG" alt="3_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3_2.PNG" style="width: 142px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/21985i5C44E1F2A9234032/image-size/small?v=v2&amp;amp;px=200" role="button" title="3_2.PNG" alt="3_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So just as you were saying all along, it seems that there is a bug in the software because changing value of dimensions that belong to inactive constraint set does not update the placement (the value changes, but system does not regenerate the component in the new location).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is very hard to explain well, so I attach the model for your review.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ptc_constraint_set_demo-2.png" style="width: 524px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/22010i5A3E890E1E3419D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ptc_constraint_set_demo-2.png" alt="ptc_constraint_set_demo-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;if link3's constraint set "Upright" is active because link3_rotated parameter is set to NO, then changing the above relations to offset_upright = 0 and regenerating will lower link3.&lt;/P&gt;
&lt;P&gt;However, if instead you change the above to offset_side = 0, then set the value of parameter link3_rotated to YES, and then regenerate - this will leave the link3 in its old location (44 units above).&amp;nbsp; Then doing the "edit definition" will snap it back to the new setting of 0.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 23:36:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641060#M1131</guid>
      <dc:creator>pausob</dc:creator>
      <dc:date>2019-12-16T23:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641105#M1132</link>
      <description>&lt;P&gt;I don't think you attached the model as you intended, but I understood the explanation. It seems we agree this must be a software bug then; you should be able to change values of currently inactive constraint sets and the components should then be placed correctly when the active constraint set changes upon regenerating the model. This doesn't seem to happen when you manually edit values of inactive constraint sets though, only when using relations.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 08:49:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641105#M1132</guid>
      <dc:creator>avero</dc:creator>
      <dc:date>2019-12-18T08:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641182#M1133</link>
      <description>&lt;P&gt;Just to follow up on this, an SPR has been filed and R&amp;amp;D is supposed to be taking a look at this.&amp;nbsp; I'm not expecting to hear anything back until some time in January.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS318195" target="_blank"&gt;https://www.ptc.com/en/support/article?n=CS318195&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.ptc.com/appserver/cs/view/spr.jsp?n=9618855" target="_blank"&gt;https://support.ptc.com/appserver/cs/view/spr.jsp?n=9618855&lt;/A&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorTomU_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorTomU_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Dec 2019 13:59:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/641182#M1133</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2019-12-17T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: PTC_CONSTRAINT_SET and distance calculation</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/646953#M1134</link>
      <description>&lt;P&gt;Latest update from tech support:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"A fix to this SPR has been submitted to Creo 6.0.4.0 which is scheduled for release mid-late February.&amp;nbsp; After retrieving the assembly, edit the definition of the cylinder part and complete and the process outlined in the case and post will behave as expected – the cylinder will use the correct placement location and orientation."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 17:32:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/PTC-CONSTRAINT-SET-and-distance-calculation/m-p/646953#M1134</guid>
      <dc:creator>TomU</dc:creator>
      <dc:date>2020-01-31T17:32:16Z</dc:date>
    </item>
  </channel>
</rss>

