<?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 Need API to assign Option set to Configurable Part in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1025476#M10215</link>
    <description>&lt;P&gt;Version: Windchill 13.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: I’m trying to assign an Option Set to a Configurable Part. Can anyone help me with the API code for this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I’m trying to assign an Option Set to a Configurable Part. Can anyone help me with the API code for this?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jul 2025 15:38:20 GMT</pubDate>
    <dc:creator>AKC</dc:creator>
    <dc:date>2025-07-18T15:38:20Z</dc:date>
    <item>
      <title>Need API to assign Option set to Configurable Part</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1025476#M10215</link>
      <description>&lt;P&gt;Version: Windchill 13.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: I’m trying to assign an Option Set to a Configurable Part. Can anyone help me with the API code for this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I’m trying to assign an Option Set to a Configurable Part. Can anyone help me with the API code for this?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 15:38:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1025476#M10215</guid>
      <dc:creator>AKC</dc:creator>
      <dc:date>2025-07-18T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need API to assign Option set to Configurable Part</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1025507#M10216</link>
      <description>&lt;P&gt;It looks like there is some info on getting the assignment info:&amp;nbsp;&lt;A href="https://www.ptc.com/en/support/article/CS406283?source=search" target="_blank"&gt;https://www.ptc.com/en/support/article/CS406283?source=search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But setting it might not be supported:&amp;nbsp;&lt;A href="https://www.ptc.com/en/support/article/CS413254?source=search" target="_blank"&gt;https://www.ptc.com/en/support/article/CS413254?source=search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 19:58:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1025507#M10216</guid>
      <dc:creator>joe_morton</dc:creator>
      <dc:date>2025-07-18T19:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need API to assign Option set to Configurable Part</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1029099#M10316</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/82440"&gt;@AKC&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to see if you got the help you needed.&lt;/P&gt;
&lt;P&gt;If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.&lt;BR /&gt;Of course, if you have more to share on your issue, please pursue the conversation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anurag&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 19:53:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1029099#M10316</guid>
      <dc:creator>anursingh</dc:creator>
      <dc:date>2025-08-12T19:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need API to assign Option set to Configurable Part</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1029582#M10322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/301264"&gt;@AKC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is just idea how to do so but it could work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is an example how the link could be created but it needs good testing if it is the right way&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;		OptionSetMemberLink optionSetLink = new OptionSetMemberLink();
		optionSetLink.setRoleAObject(); //input OptionSet.class
		optionSetLink.setRoleBObject(); //input ChoiceMaster.class
		wt.fc.PersistenceServerHelper.manager.insert(optionSetLink);//store in DB
		
		ChoiceMappableChoiceLink choiceLink = new ChoiceMappableChoiceLink();
		choiceLink.setRoleAObject(); //input ChoiceMappable.class which is WTPart, EPMDocument all objects in the system where the choices can be set
		choiceLink.setRoleObject(); //input ChoiceMaster.class
		wt.fc.PersistenceServerHelper.manager.insert(choiceLink);// store in DB&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 10:52:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Need-API-to-assign-Option-set-to-Configurable-Part/m-p/1029582#M10322</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-08-15T10:52:46Z</dc:date>
    </item>
  </channel>
</rss>

