<?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: conditional value selection for restricted parameters in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359817#M85098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;The programming trick is to use multiple parameters with list values.&lt;/P&gt;&lt;P&gt;The user interaction even in this case is not going to be very intuitive but it is better then nothing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your parameters have to be structured like this:&lt;/P&gt;&lt;P&gt;CLASS_INHOUSE , values { 'BED', 'BRACKET', 'HOUSING'}&lt;/P&gt;&lt;P&gt;CLASS_BOUGHTOUT, values {'BEARING', 'ORIG', 'LM'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The full restricted parameter definition should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ Name = CLASS_INHOUSE&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type = string&lt;/P&gt;&lt;P&gt; Default = 'SELECT FROM CLASS_INHOUSE'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enum = { 'BED', 'BRACKET', 'HOUSING'}&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{ Name = CLASS_BOUGHTOUT&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type = string&lt;/P&gt;&lt;P&gt; Default = 'SELECT FROM CLASS_BOUGHTOUT'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enum =&amp;nbsp; {'BEARING', 'ORIG', 'LM'}&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you would have to set relations, something like this:&lt;/P&gt;&lt;P&gt;if PART_TYPE == "INHOUSE"&lt;/P&gt;&lt;P&gt;CLASS_INHOUSE= "SELECT FROM CLASS_INHOUSE" /* set to default value */&lt;/P&gt;&lt;P&gt;CLASS = CLASS_INHOUSE&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;CLASS_BOUGHOUT = "SELECT FROM CLASS_BOUGHTOUT" /* set to default value */&lt;/P&gt;&lt;P&gt;CLASS = CLASS_BOUGHTOUT&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow the CLASS parameter to have a value restricted by PART_TYPE parameter, but the end user would have to make a conscious decision from which list the value is coming from and the initial value of CLASS ( taking the defaults from restricted lists) would point to where the next selection to be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIH.&lt;/P&gt;&lt;P&gt;Feliks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========================================================================================================&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;I want to set condition between two restricted parameters for selection of value to explain sub category of part,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;for example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;1st parameter "PART_TYPE" with a restricted value ( 'INHOUSE', 'BOUGHTOUT')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;2nd parameter&amp;nbsp; "CLASS" whith a value ("BED","BRACKET","HOUSING","BEARING","ORING","LM")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;here I need another restriction on a value of 2nd parameter "CLASS" as follow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;if&amp;nbsp; "PART_TYPE" = INHOUSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;then permitted value of "CLASS" should be from bed, bracket &amp;amp; housing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;if&amp;nbsp; "PART_TYPE" = BOUGHTOUT &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;then permitted value of "CLASS" should be from bearing, oring &amp;amp; lm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;awaiting for valuable suggestions from all members&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;with kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DILIP VYAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2015 19:39:29 GMT</pubDate>
    <dc:creator>FV</dc:creator>
    <dc:date>2015-06-02T19:39:29Z</dc:date>
    <item>
      <title>conditional value selection for restricted parameters</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359814#M85095</link>
      <description>&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I want to set condition between two restricted parameters for selection of value to explain sub category of part,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;for example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;1st parameter "PART_TYPE" with a restricted value ( 'INHOUSE', 'BOUGHTOUT')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;2nd parameter "CLASS" whith a value ("BED","BRACKET","HOUSING","BEARING","ORING","LM")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;here I need another restriction on a value of 2nd parameter "CLASS" as follow&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if "PART_TYPE" = INHOUSE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;then permitted value of "CLASS" should be from bed, bracket &amp;amp; housing&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if "PART_TYPE" = BOUGHTOUT &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;then permitted value of "CLASS" should be from bearing, oring &amp;amp; lm&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;awaiting for valuable suggestions from all members&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;with kind regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DILIP VYAS&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:41:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359814#M85095</guid>
      <dc:creator>DilipVyas</dc:creator>
      <dc:date>2020-12-13T10:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: conditional value selection for restricted parameters</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359815#M85096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear DILIP VYAS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've got no correct answer towards this problem yet? I've the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with kind regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:13:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359815#M85096</guid>
      <dc:creator>rhuisstede</dc:creator>
      <dc:date>2015-05-28T10:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: conditional value selection for restricted parameters</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359816#M85097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the solution is &amp;gt;&amp;gt;&amp;gt; create external application, which manages part parameters. You can implement whatever rules in this application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin Hanak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 13:42:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359816#M85097</guid>
      <dc:creator>MartinHanak</dc:creator>
      <dc:date>2015-05-28T13:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: conditional value selection for restricted parameters</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359817#M85098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;The programming trick is to use multiple parameters with list values.&lt;/P&gt;&lt;P&gt;The user interaction even in this case is not going to be very intuitive but it is better then nothing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your parameters have to be structured like this:&lt;/P&gt;&lt;P&gt;CLASS_INHOUSE , values { 'BED', 'BRACKET', 'HOUSING'}&lt;/P&gt;&lt;P&gt;CLASS_BOUGHTOUT, values {'BEARING', 'ORIG', 'LM'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The full restricted parameter definition should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ Name = CLASS_INHOUSE&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type = string&lt;/P&gt;&lt;P&gt; Default = 'SELECT FROM CLASS_INHOUSE'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enum = { 'BED', 'BRACKET', 'HOUSING'}&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{ Name = CLASS_BOUGHTOUT&lt;/P&gt;&lt;P&gt;&amp;nbsp; Type = string&lt;/P&gt;&lt;P&gt; Default = 'SELECT FROM CLASS_BOUGHTOUT'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enum =&amp;nbsp; {'BEARING', 'ORIG', 'LM'}&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you would have to set relations, something like this:&lt;/P&gt;&lt;P&gt;if PART_TYPE == "INHOUSE"&lt;/P&gt;&lt;P&gt;CLASS_INHOUSE= "SELECT FROM CLASS_INHOUSE" /* set to default value */&lt;/P&gt;&lt;P&gt;CLASS = CLASS_INHOUSE&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;CLASS_BOUGHOUT = "SELECT FROM CLASS_BOUGHTOUT" /* set to default value */&lt;/P&gt;&lt;P&gt;CLASS = CLASS_BOUGHTOUT&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow the CLASS parameter to have a value restricted by PART_TYPE parameter, but the end user would have to make a conscious decision from which list the value is coming from and the initial value of CLASS ( taking the defaults from restricted lists) would point to where the next selection to be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIH.&lt;/P&gt;&lt;P&gt;Feliks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========================================================================================================&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;I want to set condition between two restricted parameters for selection of value to explain sub category of part,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;for example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;1st parameter "PART_TYPE" with a restricted value ( 'INHOUSE', 'BOUGHTOUT')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;2nd parameter&amp;nbsp; "CLASS" whith a value ("BED","BRACKET","HOUSING","BEARING","ORING","LM")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;here I need another restriction on a value of 2nd parameter "CLASS" as follow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;if&amp;nbsp; "PART_TYPE" = INHOUSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;then permitted value of "CLASS" should be from bed, bracket &amp;amp; housing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;if&amp;nbsp; "PART_TYPE" = BOUGHTOUT &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;then permitted value of "CLASS" should be from bearing, oring &amp;amp; lm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;awaiting for valuable suggestions from all members&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;with kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DILIP VYAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 19:39:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359817#M85098</guid>
      <dc:creator>FV</dc:creator>
      <dc:date>2015-06-02T19:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: conditional value selection for restricted parameters</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359818#M85099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that could be a solution. But my experience with an external application is nog so big. So I will trie to find the solution within Creo. Or you have to say how exactly you thought it should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway for your reaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 07:06:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/conditional-value-selection-for-restricted-parameters/m-p/359818#M85099</guid>
      <dc:creator>rhuisstede</dc:creator>
      <dc:date>2015-06-03T07:06:20Z</dc:date>
    </item>
  </channel>
</rss>

